-
Notifications
You must be signed in to change notification settings - Fork 20
Vis_PatternMatching
This tool is similar to the histogram matching and is a part of the data window. It can be activated by bringing up the context menu and select Pattern Finder in the view menu.
A small window will appear at the top of the data window, where the border indicates matching status (green : in signal, red : no match). The PFIND_INC and PFIND_DEC keybindings (default : right, left arrows) increase and decrease the rate required for data to be considered matching. The MODE_TOGGLE key (default : c ) can be used to switch matching functions.
Internally, this works as follows:
When the window is activated, the engine takes a copy of the current data window and uses as a reference. A shader (matching function) is used to compare the reference against the current window and generate an output rendertarget that is read back and added to get the number of matching and the number of deviating values.
This works particularly well (or less bad, dependening on your perspective) for nGrams.
-
The matching methods are rather primitive, since we already get some spatial grouping from the nGram mapping mode, we should exploit this further with looking into blob detection (using gaussian reduction (make it cheaper by scaling down and applying bilinear filtering) and locating the center of possible blobs that appear) or various forms of feature extractors.
-
Support for saving and loading pattern presets.
-
As support to the matching methods, additional image space noise- filtering algorithms will be added.