Ask Your Question
0

Stitching module, finding features and match_conf

asked 2012-09-28 02:37:28 -0500

zenberg gravatar image

updated 2012-09-28 02:40:42 -0500

I am getting this error while trying to stitch two images:

Removed some images, because can't match them or there are too similar images: (2). Try to decrease --match_conf value and/or check if you're stitching duplicates. Need more images


The problem is that I can't find any public interface in the Stitching module to change this variable: '--match_conf'.

Can you please help me with this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2012-09-28 05:43:33 -0500

Alexey Spizhevoy gravatar image

updated 2012-09-28 05:45:36 -0500

Hi,

I updated the log message in the OpenCV repository. You can adjust the match confidence threshold using the following code (here the default value 0.3 is set):

stitcher.setFeaturesMatcher(new detail::BestOf2NearestMatcher(false, 0.3f/*=match_conf*/));
edit flag offensive delete link more

Comments

Thanks again Alexey!

I tried to change the value and as a result a new question arose: http://answers.opencv.org/question/2773/stitching-modules-strange-behavior/

I'd be very grateful if you could help me with this one as well.

zenberg gravatar imagezenberg ( 2012-10-02 05:03:30 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-09-28 02:37:28 -0500

Seen: 1,049 times

Last updated: Sep 28 '12