如何在模板 (Template) 上加Mask來做Pattern Matching ?

更新 Dec 27, 2022

環境

軟體

  • Vision Builder for Automated Inspection
  • Vision Development Module
  • Vision Assistant

我知道在Vision Development Module  8.6以後有一個新功能,可以在範本上加mask來做Pattern Matching。我如何使用此功能?

當你想要忽略模板的特定部分時,在模板上加mask是非常有用的。有幾個方式可以加mask。
  • 在Template Editor中建立一個範本 (Start»All Programs»National Instruments»Vision»Utilities»Template Editor),並選擇Define Pattern Matching Mask的頁面。
  • 在Vision Assistant或 Vision Builder for Automated Inspection  3.6或更新版本中,使用Match Pattern的步驟 (step) 來建立一個模板,而這可以在Locate Features頁面中找到。在定義你的模板區域後,選擇Next並再定義一個mask。

Additional Information

  • 請參考Help Menu的Online Help來取得額外的設定資訊
  • 你僅可以mask 8-bit灰階的模板影像