Missing python binding, stitcher API [closed]

asked 2020-07-03 08:55:01 -0500

Boilan gravatar image

Stitcher high level API, using Python

I want to use setExposureCompensator(), but it's missing the python binding :/ https://docs.opencv.org/master/d2/d8d...

Is there any workaround ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-09-05 04:52:01.599370

Comments

yes if you need this you should read https://github.com/opencv/opencv/blob...

LBerger gravatar imageLBerger ( 2020-07-03 09:51:57 -0500 )edit

Thanks, I have already been trough this but it doesn't seem to cover what I want. I want to stitch pic in "SCAN" mode (not "PANORAMA") with ExposureCompensator enabled.

SCAN mode explanation:https://docs.opencv.org/m...

The tutorial you linked seems to be only for PANORAMA mode, any idea how to transform it to SCAN mode ?

Boilan gravatar imageBoilan ( 2020-07-06 02:36:50 -0500 )edit

Actually setting the "WARP" variable to "affine" seems to do the trick :) Thanks for your help !

Boilan gravatar imageBoilan ( 2020-07-06 03:02:31 -0500 )edit

it is (bottom pagehttps://docs.opencv.org/master/d8...) :

newspaper1.jpg newspaper2.jpg –work_megapix 0.6 –features surf –matcher affine –estimator affine –match_conf 0.3 –conf_thresh 0.3 –ba affine –ba_refine_mask xxxxx –wave_correct no –warp affine
LBerger gravatar imageLBerger ( 2020-07-06 03:22:14 -0500 )edit