Ask Your Question

Revision history [back]

TM_CCOEFF_NORMED for images with the same size

Hi There!

I am using template matching with option TM_CCOEFF_NORMED to measure similarity between two image patches of the same size. It works nice however I cannot understand what it is actually doing, can someone explain to me the equation at http://docs.opencv.org/3.0.0/df/dfb/group__imgproc__object.html#ga3a7850640f1fe1f58fe91a2d7583695d please?

What T' and T(x'',y'') mean? Since my template T and Image I have the same size, would it be possible to make this notation simpler?

Many Thanks, P