Hi,
I try to program with opencv and ipp to calculate the Euclidean distance between image patches(grayscale) to search for similar patches.
I firstly store the pixel information in a row matrix, like : Mat m1=(Mat_<double>(1, 4) << a,b,c,d); Mat m2=.......
and then use norm(m1,m2,CV_L2) to calculate the Euclidean distance. That is how i calculate it with only opencv.
Now the problem is i dont know how to program it in ipp, should I use ippiNorm_L2 or SqrDistanceNorm?
Very appreciate for helping. An example would be better.
Besides: i don't have printf_2D_32f function from the given example in the following link, is there something wrong with it?
https://software.intel.com/en-us/node/504335
Thanks.
regards
Tao