http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)
Computes disparity map for the input rectified stereo pair.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public void FindStereoCorrespondence( Image<Gray, byte> left, Image<Gray, byte> right, Image<Gray, short> disparity ) |
Visual Basic |
---|
Public Sub FindStereoCorrespondence ( _ left As Image(Of Gray, Byte), _ right As Image(Of Gray, Byte), _ disparity As Image(Of Gray, Short) _ ) |
Visual C++ |
---|
public: void FindStereoCorrespondence( Image<Gray, unsigned char>^ left, Image<Gray, unsigned char>^ right, Image<Gray, short>^ disparity ) |
Parameters
- left
- Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
The left single-channel, 8-bit image
- right
- Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
The right image of the same size and the same type
- disparity
- Type: Emgu.CV..::..Image<(Of <(<'Gray, Int16>)>)>
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
Remarks
Invalid pixels (for which disparity can not be computed) are set to (state->minDisparity-1)*16