Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Match Pattern - Efficiency of ROI descriptor

Solved!
Go to solution

Attached is the updated VI.

I also tried chaning the ID of the ROI descriptor to "Internal". This reduced the time for that method by 1 ms which is still quite a difference to the 4 - 5 ms of the cropping / camera ROI.

So whatever the IMAQ Match Pattern VI is doing internally, to me it seems faster to crop the image (and adjust the coordinates afterwards if required).

0 Kudos
Message 11 of 13
(1,148 Views)
one of other method that you can use is re sample before matching before loop
because matching algorithm always try to reduce image size before operate
you can do it before your loop it could make your code faster
0 Kudos
Message 12 of 13
(1,144 Views)
Apologies. I think i misunderstood the Contour type.
Thanks
uday
0 Kudos
Message 13 of 13
(1,137 Views)