The structure for block matching stereo correspondence algorithm
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharpCvStereoBMState
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvStereoBMState type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CvStereoBMState |
Creates block matching stereo correspondence structure (CreateStereoBMState)
| |
| CvStereoBMState(IntPtr) |
Initializes from native pointer
| |
| CvStereoBMState(StereoBMPreset) |
Creates block matching stereo correspondence structure (CreateStereoBMState)
| |
| CvStereoBMState(StereoBMPreset, Int32) |
Creates block matching stereo correspondence structure (CreateStereoBMState)
|
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.) | |
| 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.) | |
| MinDisparity |
minimum disparity of correspondence using Sum of Absolute Difference(SAD) (=0)
| |
| NumberOfDisparities |
maximum disparity - minimum disparity of correspondence using Sum of Absolute Difference(SAD)
| |
| PreFilterCap |
pre filters' cap (up to ~31)
| |
| PreFilterSize |
pre filters' size (~5x5..21x21)
| |
| PreFilterType |
pre filters' type (0 for now)
| |
| SADWindowSize |
window size of correspondence using Sum of Absolute Difference(SAD) (Could be 5x5..21x21)
| |
| SpeckleRange | Obsolete.
Acceptable range of variation in window (not used)
| |
| SpeckleWindowSize | Obsolete.
Disparity variation window (not used)
| |
| TextureThreshold |
post filters' areas with no texture are ignored
| |
| UniquenessRatio |
filter out pixels if there are other close matches with different disparity
|
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 |
Computes the disparity map using block matching algorithm (cvFindStereoCorrespondenceBM)
| |
| 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(CvStereoBMState)
|
See Also