computes disparity map for the input rectified stereo pair.


- 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 (IntPtr)
- Stereo correspondence structure