Purpose of roi1 and roi2 in CvStereoBMState
The struct CvStereoBMState
(defined in "calib3d.hpp") that is used to hold the underlying state information for the stereo block matching algorithm has the members roi1
and roi2
, whose type is CvRect
. There does not appear to be documentation anywhere that describes the purpose of these; can anyone tell me what they are meant to be used for?
Have you thought to pass to C++ version of OpenCV?
Maybe the ROIs are related to the left and right ROI obtained after stereoRectify.