Opencv Repeatability Result not make sense?

前端 未结 2 687
梦如初夏
梦如初夏 2021-01-13 05:40

i\'m trying to evaluate SIFT and SURF Detectors by Repeatability criteria.

i find out that below method can find Repeatability ,Correspondence of SIFT and SURF

相关标签:
2条回答
  • 2021-01-13 06:13

    In fact, OpenCV 2.49 uses this line of code in evaluation.cpp:

    repeatability = minCount ? (float)correspondencesCount / minCount : -1;
    

    which is the number of correspondences divided by the smaller number of Keypoint 1st or Keypoint 2th so I guess your error might be somewhere else. Can you post your complete code where you set img_1c, etc and call the function and display the results?

    0 讨论(0)
  • 2021-01-13 06:27

    I think I may have found the problem here.

    The repeatability rate is the number of repeated points between two images considering the total number of keypoints extracted. For measuring the number of repeated points it has to be taken into account that the observed scenes differ from each other due to their changed imaging condition (viewpoint, rotation + scale, blur, etc in the case of Mikolajczyk dataset).

    Keypoints which are not detected in both images can corrupt the repeatability measure so, only points which lie in the common scene parts affect the repeatability.

    What is happening is that you're considering all the keypoints detected in the second image for the calculation of repeatability and actually only the keypoints within the homography should be used.

    Hope this helps.

    0 讨论(0)
提交回复
热议问题