IMAQ Advanced Setup Match Geometric Pattern 2
- Updated2023-02-21
- 10 minute(s) read
Requires: NI Vision Development Module
Optimizes and fine-tunes advanced parameters used during the matching phase edge-based geometric pattern matching. Execute this VI before the IMAQ Match Geometric Pattern 2 VI. If you use the IMAQ Setup Match Geometric Pattern 2 VI along with this VI, execute this VI after IMAQ Setup Match Geometric Pattern 2.

![]() |
Match Geometric Pattern 2 Setup Data In is a string that contains information from the IMAQ Setup Match Geometric Pattern 2 VI. If this input is not connected, the VI uses default parameters for all unconfigured options. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
Advanced Geometric Match Options 2 is an array of options to use during the matching phase. If input is empty, advanced options stored in Template Image using IMAQ Set Preset Match Options or IMAQ Set Advanced Match Options will be used. Instead if the input contains any Preset-Parameter, the provided advanced options will override any advanced options stored in Template Image of IMAQ Match Geometric Pattern VI.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
error in (no error) describes the error status before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
Match Geometric Pattern 2 Setup Data Out is a string that contains information about the setup parameters for the matching phase. Connect this output to the IMAQ Match Geometric Pattern 2 VI. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
|
Details
Geometric Pattern Matching has a multi-stage recognition process. The first match is performed at a higher pyramid level, for example, with the image subsampled by a factor of 2. The top x of the matches found at this pyramid level are refined by taking the matches to the next lower level of the pyramid. The value x is calculated by multiplying the Number of Matches Requested parameter with a match factor.
By default, the match factor is 2. If 5 matches are requested, 10 matches are refined. This match factor can be changed using two parameters, the Refinement Match Factor and the Subpixel Match Factor.
Typically if matches are missed because of ROI size or location, it is an indication that the missing match is found in the initial matching stage, but it was removed before the refinement process. By increasing the match factor, more matches can be included in the refinement phase.










