OpenCV match template not scoring well

前端 未结 2 543
感情败类
感情败类 2021-01-15 18:30

I am trying to do some image matching using OpenCV and am using the cvMatchTemplate function.

I took a sample image and then cut part of it out as a template and the

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-15 19:08

    While I would have expected a better score, that seems reasonable since correlation coefficients (non normalized) have a range of -1 to +1.

    You could try some of the other methods such as CV_TM_CCOEFF, CV_TM_SQDIFF and CV_TM_CCORR vs. their normalized versions to compare.

提交回复
热议问题