C# Class Emgu.CV.StereoBM

Class for computing stereo correspondence using the block matching algorithm, introduced and contributed to OpenCV by K. Konolige.
Inheritance: Emgu.Util.UnmanagedObject, IStereoMatcher
ファイルを表示 Open project: fajoy/RTSPExample Class Usage Examples

Public Properties

Property Type Description
State Emgu.CV.Structure.MCvStereoBMState

Public Methods

Method Description
FindStereoCorrespondence ( Byte>.Image left, Byte>.Image right, Int16>.Image disparity ) : void

Computes disparity map for the input rectified stereo pair.

Invalid pixels (for which disparity can not be computed) are set to (state->minDisparity-1)*16

FindStereoCorrespondence ( Byte>.Image left, Byte>.Image right, float>.Image disparity ) : void

Computes disparity map for the input rectified stereo pair.

Invalid pixels (for which disparity can not be computed) are set to state->minDisparity - 1

StereoBM ( CvEnum type, int numberOfDisparities ) : System

Create a stereoBMState

Protected Methods

Method Description
DisposeObject ( ) : void

Release the stereo state and all the memory associate with it

Method Details

DisposeObject() protected method

Release the stereo state and all the memory associate with it
protected DisposeObject ( ) : void
return void

FindStereoCorrespondence() public method

Computes disparity map for the input rectified stereo pair.
Invalid pixels (for which disparity can not be computed) are set to (state->minDisparity-1)*16
public FindStereoCorrespondence ( Byte>.Image left, Byte>.Image right, Int16>.Image disparity ) : void
left Byte>.Image The left single-channel, 8-bit image
right Byte>.Image The right image of the same size and the same type
disparity Int16>.Image 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
return void

FindStereoCorrespondence() public method

Computes disparity map for the input rectified stereo pair.
Invalid pixels (for which disparity can not be computed) are set to state->minDisparity - 1
public FindStereoCorrespondence ( Byte>.Image left, Byte>.Image right, float>.Image disparity ) : void
left Byte>.Image The left single-channel, 8-bit image
right Byte>.Image The right image of the same size and the same type
disparity float>.Image 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
return void

StereoBM() public method

Create a stereoBMState
public StereoBM ( CvEnum type, int numberOfDisparities ) : System
type CvEnum ID of one of the pre-defined parameter sets. Any of the parameters can be overridden after creating the structure.
numberOfDisparities int The number of disparities. If the parameter is 0, it is taken from the preset, otherwise the supplied value overrides the one from preset.
return System

Property Details

State public_oe property

The state structure
public MCvStereoBMState,Emgu.CV.Structure State
return Emgu.CV.Structure.MCvStereoBMState