Show / Hide Table of Contents

Class StereoMatcher

The base class for stereo correspondence algorithms.

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
StereoMatcher
StereoBM
StereoSGBM
Implements
ICvPtrHolder
Inherited Members
Algorithm.Write(FileStorage)
Algorithm.Read(FileNode)
Algorithm.Empty
Algorithm.Save(String)
Algorithm.GetDefaultName()
DisposableCvObject.ptr
DisposableCvObject.DisposeUnmanaged()
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.DisposeManaged()
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public class StereoMatcher : Algorithm, ICvPtrHolder

Constructors

| Improve this Doc View Source

StereoMatcher(IntPtr)

constructor

Declaration
protected StereoMatcher(IntPtr ptr)
Parameters
Type Name Description
IntPtr ptr

Properties

| Improve this Doc View Source

BlockSize

Declaration
public int BlockSize { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Disp12MaxDiff

Declaration
public int Disp12MaxDiff { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MinDisparity

Declaration
public int MinDisparity { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

NumDisparities

Declaration
public int NumDisparities { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SpeckleRange

Declaration
public int SpeckleRange { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SpeckleWindowSize

Declaration
public int SpeckleWindowSize { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Compute(InputArray, InputArray, OutputArray)

Computes disparity map for the specified stereo pair

Declaration
public virtual void Compute(InputArray left, InputArray right, OutputArray disparity)
Parameters
Type Name Description
InputArray left

Left 8-bit single-channel image.

InputArray right

Right image of the same size and the same type as the left one.

OutputArray disparity

Output disparity map. It has the same size as the input images. Some algorithms, like StereoBM or StereoSGBM compute 16-bit fixed-point disparity map(where each disparity value has 4 fractional bits), whereas other algorithms output 32 - bit floating - point disparity map.

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX