StereoSGBM Properties |
The StereoSGBM type exposes the following members.
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.
|