Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
4 ratings:
 5 out of 5     Rate this Document

How Do I Mask a Template for Pattern Matching?

Primary Software: Vision Development Module
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I know that Vision Development Module 8.6 has a new feature that allows me to mask a template for pattern matching. How do I do this?

Solution:
Masking a template can be very useful in situations where you want to ignore parts of your template. There are a couple of ways to mask a template.
  • Create a template in Template Editor (Start»All Programs»National Instruments»Vision»Template Editor) and select the Define Pattern Matching Mask tab.

    Note: Please reference the Online Help from the Help Menu for additional configuration information.



  • Create a template in Vision Assistant or Vision Builder for Automated Inspection 3.6 using the Match Pattern step. After defining your template area, select Next and define the mask. 

Note: You can only mask 8-bit grayscale templates.



Related Links:
NI Vision Development Module
NI Vision Builder for Automated Inspection
Developer Zone Tutorial: Image Analysis and Procressing
KnowledgeBase 3EIFDBCH: Common Errors and Issues When Using Pattern Matching with NI Vision
KnowledgeBase: 30UDI8A2: What is New in the NI Vision Development Module?


Attachments:
template editor.gif




Report Date: 03/19/2009
Last Updated: 04/06/2009
Document ID: 4VIDM48Q

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit