CvStereoGCState Class OpenCvSharp Class Library
The structure for graph cuts-based stereo correspondence algorithm
Inheritance Hierarchy

SystemObject
  OpenCvSharpDisposableObject
    OpenCvSharpDisposableCvObject
      OpenCvSharpCvStereoGCState

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public class CvStereoGCState : DisposableCvObject

The CvStereoGCState type exposes the following members.

Constructors

  NameDescription
Public methodCvStereoGCState(IntPtr)
Initializes from native pointer
Public methodCvStereoGCState(Int32, Int32)
Creates the state of graph cut-based stereo correspondence algorithm (cvCreateStereoGCState)
Top
Properties

  NameDescription
Protected propertyAllocatedMemory
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.)
Protected propertyAllocatedMemorySize
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.)
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.)
Public propertyDispLeft
Public propertyDispRight
Public propertyEdgeBuf
Public propertyInteractionRadius
radius for smoothness cost function (1 by default; means Potts model)
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.)
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.)
Public propertyIthreshold
threshold for piece-wise linear data cost function (5 by default)
Public propertyK
parameters for the cost function (usually computed adaptively from the input data)
Public propertyLambda
parameters for the cost function (usually computed adaptively from the input data)
Public propertyLambda1
parameters for the cost function (usually computed adaptively from the input data)
Public propertyLambda2
Public propertyLeft
Public propertyMaxIters
number of iterations; defined by user.
Public propertyMinDisparity
minimum disparity of SAD(Sum of Absolute Difference) (0 by default)
Public propertyNumberOfDisparities
maximum disparity - minimum disparity of SAD(Sum of Absolute Difference) ; defined by user
Public propertyOcclusionCost
cost of occlusion (10000 by default)
Public propertyPtrLeft
Public propertyPtrRight
Public propertyRight
Public propertyVtxBuf
Top
Methods

  NameDescription
Protected methodAllocGCHandle
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.)
Protected methodAllocMemory
Allocates the specified size of memory.
(Inherited from DisposableObject.)
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodFindStereoCorrespondence(CvArr, CvArr, CvArr, CvArr)
Computes the disparity map using graph cut-based algorithm (cvFindStereoCorrespondenceGC)
Public methodFindStereoCorrespondence(CvArr, CvArr, CvArr, CvArr, Boolean)
Computes the disparity map using graph cut-based algorithm (cvFindStereoCorrespondenceGC)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
(Inherited from DisposableObject.)
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Top
Fields

  NameDescription
Protected fielddataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Public fieldStatic memberSizeOf
sizeof(CvStereoGCState)
Top
See Also

Reference