Hello,
I have this openCV implementation for calculating normalized cross correlation and it works fine with peak correlation value of 0.99. but an alternative implementaion in arrayfile is producing peak correlation as 0. not sure where am I doing wrong. I am attaching both code.
Basically the program takes any image, creates reference image and shifts the reference image by few x and y co-ordinates and created target image. It passes both of these images for computing cross correlation. but its not working in Arrayfire.