The structure for graph cuts-based stereo correspondence algorithm
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharpCvStereoGCState
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvStereoGCState type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CvStereoGCState(IntPtr) |
Initializes from native pointer
| |
CvStereoGCState(Int32, Int32) |
Creates the state of graph cut-based stereo correspondence algorithm (cvCreateStereoGCState)
|
Properties
Name | Description | |
---|---|---|
AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
DispLeft | ||
DispRight | ||
EdgeBuf | ||
InteractionRadius |
radius for smoothness cost function (1 by default; means Potts model)
| |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
Ithreshold |
threshold for piece-wise linear data cost function (5 by default)
| |
K |
parameters for the cost function (usually computed adaptively from the input data)
| |
Lambda |
parameters for the cost function (usually computed adaptively from the input data)
| |
Lambda1 |
parameters for the cost function (usually computed adaptively from the input data)
| |
Lambda2 | ||
Left | ||
MaxIters |
number of iterations; defined by user.
| |
MinDisparity |
minimum disparity of SAD(Sum of Absolute Difference) (0 by default)
| |
NumberOfDisparities |
maximum disparity - minimum disparity of SAD(Sum of Absolute Difference) ; defined by user
| |
OcclusionCost |
cost of occlusion (10000 by default)
| |
PtrLeft | ||
PtrRight | ||
Right | ||
VtxBuf |
Methods
Name | Description | |
---|---|---|
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
FindStereoCorrespondence(CvArr, CvArr, CvArr, CvArr) |
Computes the disparity map using graph cut-based algorithm (cvFindStereoCorrespondenceGC)
| |
FindStereoCorrespondence(CvArr, CvArr, CvArr, CvArr, Boolean) |
Computes the disparity map using graph cut-based algorithm (cvFindStereoCorrespondenceGC)
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
ptr |
Data pointer
(Inherited from DisposableCvObject.) | |
SizeOf |
sizeof(CvStereoGCState)
|
See Also