Table of Contents

Class CudaStereoConstantSpaceBP

Namespace
Emgu.CV.Cuda
Assembly
Emgu.CV.dll

A Constant-Space Belief Propagation Algorithm for Stereo Matching. Qingxiong Yang, Liang Wang, Narendra Ahuja. http://vision.ai.uiuc.edu/~qyang6/

public class CudaStereoConstantSpaceBP : SharedPtrObject, IDisposable
Inheritance
CudaStereoConstantSpaceBP
Implements
Inherited Members

Constructors

CudaStereoConstantSpaceBP(int, int, int, int)

A Constant-Space Belief Propagation Algorithm for Stereo Matching

public CudaStereoConstantSpaceBP(int ndisp = 128, int iters = 8, int levels = 4, int nrPlane = 4)

Parameters

ndisp int

The number of disparities. Use 128 as default

iters int

The number of BP iterations on each level. Use 8 as default.

levels int

The number of levels. Use 4 as default

nrPlane int

The number of active disparity on the first level. Use 4 as default.

Methods

DisposeObject()

Release the unmanaged memory

protected override void DisposeObject()

FindStereoCorrespondence(IInputArray, IInputArray, IOutputArray, Stream)

Computes disparity map for the input rectified stereo pair.

public void FindStereoCorrespondence(IInputArray left, IInputArray right, IOutputArray disparity, Stream stream = null)

Parameters

left IInputArray

The left single-channel, 8-bit image

right IInputArray

The right image of the same size and the same type

disparity IOutputArray

The disparity map

stream Stream

Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).