I want to find best match by a level of threshold.
Here is what i did but the values are staying at 0.
cvMatchTemplate(src, tmp, result, CV_TM_CCORR_NORMED);
CvPoint minLoc = new CvPoint();
CvPoint maxLoc = new CvPoint();
DoublePointer min_val = new DoublePointer();
DoublePointer max_val = new DoublePointer();
cvMinMaxLoc(result,min_val, max_val, minLoc, maxLoc, null);
I don't really get the double pointers but it was required by the mothode. min_value and max_value are staying at zero so i cant find the best matches.
Thanks in advanced.Using javaCV.