C# Класс Emgu.CV.StereoBM

Class for computing stereo correspondence using the block matching algorithm, introduced and contributed to OpenCV by K. Konolige.
Наследование: Emgu.Util.UnmanagedObject, IStereoMatcher
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
State Emgu.CV.Structure.MCvStereoBMState

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
DisposeObject ( ) : void

Release the stereo state and all the memory associate with it

Описание методов

DisposeObject() защищенный Метод

Release the stereo state and all the memory associate with it
protected DisposeObject ( ) : void
Результат void

FindStereoCorrespondence() публичный Метод

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
Результат void

FindStereoCorrespondence() публичный Метод

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
Результат void

StereoBM() публичный Метод

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.
Результат System

Описание свойств

State публичное свойство

The state structure
public MCvStereoBMState,Emgu.CV.Structure State
Результат Emgu.CV.Structure.MCvStereoBMState