10-03-2014 08:52 PM
Hello
I have a VI that performs correlation (using IMAQ correlate) of 2 images. Is this VI suitable for rotation and scale invariant object detection.
Also by using this VI when matching occurs the peaks in 3 D profile are not so high. Can it be modified
10-04-2014 10:13 AM
Hello,
as far as I know, this function does not support rotation and scale invariant correlation. You would probably need to manually scale and rotate the template and perform correlation for each template. Why don't you use the implemented functions that already support this?
According to the documentation, the correlation score is between 0 and 255. The correlation is normalized to this values, so I don't think it's possible to use other datatype (see the documentation, the function only takes uint8 image).
You could try with OpenCV correlation and compare the results (the function can also take float32 image in addition to uint8):
https://decibel.ni.com/content/blogs/kl3m3n/2014/07/09/labview-vs-opencv-template-matching
Best regards,
K
10-04-2014 08:37 PM
Thank you clemen for the link