Purpose of roi1 and roi2 in CvStereoBMState

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

AJW gravatar image

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

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

Comments

1

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

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

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

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