Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

update ROI

I want to update the ROI automatically for pattern matching based on coordinates saved first time i learn the template. that means that once I learn the template if the background image changes considerably a new ROI should be selected in the same location. How can I do this
0 Kudos
Message 1 of 2
(2,873 Views)
Hello,

You can monitor the average intensity value of your ROI using the IMAQ Histograph function's mean output terminal for the ROI and if it goes outside of a defined range you can relearn the template using the original ROI coordinates.
Hope this helps!

Regards,

Yusuf C.
Applications Engineering
National Insturments
0 Kudos
Message 2 of 2
(2,873 Views)