views:

265

answers:

1

I am preparing a sample by using OpenCV cvMatchTemplate(); function and I want to find all templates that's max. loc. upper than 0.40 with CV_TM_CCOEFF_NORMED method.

I mean I want to find all templates which match. I find only the best match template but I want to find all of them.

I hope I explained what I want.

Thanks.

+1  A: 

Okay I understand it.

cvMatchTemplate(src1,src2,resultImg,CV_TM_CCOEFF_NORMED);

We get each pixel of Result Matris(resultImg) and find maximum white pixels' locations.

So we find other templates.

sundowatch