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

Use Graph Cut algorithm to find stereo correspondence
Наследование: DisposableObject
Показать файл Открыть проект Примеры использования класса

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

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

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

Метод Описание
FindStereoCorrespondence ( Byte>.Image left, Byte>.Image right, Int16>.Image leftDisparity, Int16>.Image rightDisparity ) : void

Computes disparity map for the input rectified stereo pair.

StereoGC ( int numberOfDisparities, int maxIters ) : System

Creates the stereo correspondence state and initializes it.

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

Метод Описание
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.
public FindStereoCorrespondence ( Byte>.Image left, Byte>.Image right, Int16>.Image leftDisparity, Int16>.Image rightDisparity ) : 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
leftDisparity Int16>.Image The optional output single-channel 16-bit signed left disparity map of the same size as input images.
rightDisparity Int16>.Image The optional output single-channel 16-bit signed right disparity map of the same size as input images
Результат void

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

Creates the stereo correspondence state and initializes it.
public StereoGC ( int numberOfDisparities, int maxIters ) : System
numberOfDisparities int The number of disparities. The disparity search range will be state.minDisparity <= disparity < state.minDisparity + state.numberOfDisparities
maxIters int Maximum number of iterations. On each iteration all possible (or reasonable) alpha-expansions are tried. The algorithm may terminate earlier if it could not find an alpha-expansion that decreases the overall cost function value
Результат System

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

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

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