ppwwyyxx / OpenPano

Automatic Panorama Stitching From Scratch
MIT License
1.88k stars 553 forks source link

How to compute confidence in the class of MatchInfo after matching images. #50

Closed GenaWang closed 6 years ago

GenaWang commented 6 years ago

@ppwwyyxx When I read the source code. I have a proble. How to calculate confidence in the MatchInfo class when I already know the number of correctly matched interior points. The following is the output after the match, I can understand how to compute ninliers, but do not know how to compute conf?

11

12

ppwwyyxx commented 6 years ago

https://github.com/ppwwyyxx/OpenPano/blob/d1a4aceca0d8bb151da71dc45b55050c76184643/src/stitch/transform_estimate.cc#L185-L199

GenaWang commented 6 years ago

@ppwwyyxx Thanks for your reply. What does the confidence in the MatchInfo mean? If I want to use the Surf Match. How can I compute the value of the confidence?

ppwwyyxx commented 6 years ago

Confidence: the feeling or belief that one can rely on someone or something.

In this context: the feeling or belief that one can rely on the match.

It is computed in the above code.