Ask Your Question

Revision history [back]

How to set other parameters in StereoBM

I noticed that in mexopencv object StereoBM lacks many parameters that can be set in openCV. I find that weird, because in the related StereoSGBM you can set all the parameters.

Links for comparison:

I also checked the source code for StereoBM.m (link: and parameters like "SpeckleRange", "SpeckleWindowSize" are listed there, but i don't know how to use them.

So what I'm asking is if there is any way that i can set parameters (like "UniquenessRatio" "SpeckleRange" "SpeckleWindowSize" and so on) of object StereoBM using mexopencv?