C# Class Emgu.CV.GPU.GpuStereoBM

Use Block Matching algorithm to find stereo correspondence
Inheritance: Emgu.Util.UnmanagedObject
ファイルを表示 Open project: genecyber/PredatorCV Class Usage Examples

Public Methods

Method Description
FindStereoCorrespondence ( Byte>.GpuImage left, Byte>.GpuImage right, Byte>.GpuImage disparity, System.Stream stream ) : void

Computes disparity map for the input rectified stereo pair.

GpuStereoBM ( PresetType preset, int numberOfDisparities, int winSize ) : System

Create a stereoBM

Protected Methods

Method Description
DisposeObject ( ) : void

Release the stereo state and all the memory associate with it

Private Methods

Method Description
GpuStereoBMCreate ( PresetType preset, int ndisparities, int winSize ) : IntPtr
GpuStereoBMFindStereoCorrespondence ( IntPtr stereoBM, IntPtr left, IntPtr right, IntPtr disparity, IntPtr stream ) : void
GpuStereoBMRelease ( IntPtr &stereoBM ) : void

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.
public FindStereoCorrespondence ( Byte>.GpuImage left, Byte>.GpuImage right, Byte>.GpuImage disparity, System.Stream stream ) : void
left Byte>.GpuImage The left single-channel, 8-bit image
right Byte>.GpuImage The right image of the same size and the same type
disparity Byte>.GpuImage The disparity map
stream System.Stream Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
return void

GpuStereoBM() public method

Create a stereoBM
public GpuStereoBM ( PresetType preset, int numberOfDisparities, int winSize ) : System
preset PresetType Preset type
numberOfDisparities int The number of disparities. Must be multiple of 8. Use 64 for default
winSize int The SAD window size
return System