1 | initial version |
StereoBM has a state member that points to a CvStereoBMState. The CvStereoBMState has a member called minDisparity. If you have a StereoBM variable called bm, you just need to set bm.state->minDisparity to the value you want.
2 | No.2 Revision |
StereoBM has a state member that points to a CvStereoBMState. The CvStereoBMState has a member called minDisparity. If you have a StereoBM variable called bm, you just need to set bm.state->minDisparity to the value you want.
EDIT: I might be wrong about the OCL version. This is what works in the regular (cpu) version of StereoBM.