Purpose of roi1 and roi2 in CvStereoBMState

asked 2015-04-16 23:42:01 -0500

AJW gravatar image

updated 2015-04-16 23:42:29 -0500

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?

edit retag flag offensive close merge delete



Have you thought to pass to C++ version of OpenCV?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-04-17 02:39:30 -0500 )edit

Maybe the ROIs are related to the left and right ROI obtained after stereoRectify.

Eduardo gravatar imageEduardo ( 2015-04-17 03:52:04 -0500 )edit