Computes disparity map for the input rectified stereo pair.

C# | Visual Basic | Visual C++ |
public static void cvFindStereoCorrespondenceBM( IntPtr left, IntPtr right, IntPtr disparity, ref MCvStereoBMState state )
Public Shared Sub cvFindStereoCorrespondenceBM ( _ left As IntPtr, _ right As IntPtr, _ disparity As IntPtr, _ ByRef state As MCvStereoBMState _ )
public: static void cvFindStereoCorrespondenceBM( IntPtr left, IntPtr right, IntPtr disparity, MCvStereoBMState% state )

- left (IntPtr)
- The left single-channel, 8-bit image
- right (IntPtr)
- The right image of the same size and the same type
- disparity (IntPtr)
- The output single-channel 16-bit signed disparity map of the same size as input images. Its elements will be the computed disparities, multiplied by 16 and rounded to integer's
- state ( MCvStereoBMState %)
- Stereo correspondence structure