![]() | StereoSGBM Class |
Namespace: OpenCvSharp
The StereoSGBM type exposes the following members.
Name | Description | |
---|---|---|
![]() | StereoSGBM |
constructor
|
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.) |
![]() | BlockSize | (Inherited from StereoMatcher.) |
![]() | CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) |
![]() | DataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) |
![]() | Disp12MaxDiff | (Inherited from StereoMatcher.) |
![]() | Empty |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
(Inherited from Algorithm.) |
![]() | 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 | (Inherited from StereoMatcher.) |
![]() | Mode |
Set it to StereoSGBM::MODE_HH to run the full-scale two-pass dynamic programming
algorithm. It will consume O(W\*H\*numDisparities) bytes, which is large for 640x480 stereo and
huge for HD-size pictures. By default, it is set to false .
|
![]() | NumDisparities | (Inherited from StereoMatcher.) |
![]() | P1 |
The first parameter controlling the disparity smoothness. See P2 description.
|
![]() | P2 |
The second parameter controlling the disparity smoothness. The larger the values are,
the smoother the disparity is. P1 is the penalty on the disparity change by plus or minus 1
between neighbor pixels. P2 is the penalty on the disparity change by more than 1 between neighbor
pixels. The algorithm requires P2 \> P1 . See stereo_match.cpp sample where some reasonably good
P1 and P2 values are shown (like 8\*number_of_image_channels\*SADWindowSize\*SADWindowSize and
32\*number_of_image_channels\*SADWindowSize\*SADWindowSize , respectively).
|
![]() | PreFilterCap |
Truncation value for the prefiltered image pixels. The algorithm first
computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval.
The result values are passed to the Birchfield-Tomasi pixel cost function.
|
![]() | SpeckleRange | (Inherited from StereoMatcher.) |
![]() | SpeckleWindowSize | (Inherited from StereoMatcher.) |
![]() | UniquenessRatio |
Margin in percentage by which the best (minimum) computed cost function
value should "win" the second best value to consider the found match correct. Normally, a value
within the 5-15 range is good enough.
|
Name | Description | |
---|---|---|
![]() | AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) |
![]() | AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) |
![]() | Compute |
Computes disparity map for the specified stereo pair
(Inherited from StereoMatcher.) |
![]() ![]() | Create | |
![]() | Dispose |
Releases the resources
(Inherited from DisposableObject.) |
![]() | Dispose(Boolean) |
Releases the resources
(Inherited from DisposableObject.) |
![]() | DisposeManaged |
Releases managed resources
(Overrides DisposableObjectDisposeManaged.) |
![]() | DisposeUnmanaged |
releases unmanaged resources
(Inherited from DisposableCvObject.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetDefaultName |
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object
is saved to a file or string.
(Inherited from Algorithm.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) |
![]() | Read |
Reads algorithm parameters from a file storage
(Inherited from Algorithm.) |
![]() | Save |
Saves the algorithm to a file.
In order to make this method work, the derived class must
implement Algorithm::write(FileStorage fs).
(Inherited from Algorithm.) |
![]() | ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Write |
Stores algorithm parameters in a file storage
(Inherited from Algorithm.) |
Name | Description | |
---|---|---|
![]() | ptr |
Data pointer
(Inherited from DisposableCvObject.) |