StereoMatcher
The base class for stereo correspondence algorithms.
Member of Calib3d
-
Declaration
Objective-C
@property (class, readonly) int DISP_SHIFT
Swift
class var DISP_SHIFT: Int32 { get }
-
Declaration
Objective-C
@property (class, readonly) int DISP_SCALE
Swift
class var DISP_SCALE: Int32 { get }
-
Declaration
Objective-C
- (int)getBlockSize NS_SWIFT_NAME(getBlockSize());
Swift
func getBlockSize() -> Int32
-
Declaration
Objective-C
- (int)getDisp12MaxDiff NS_SWIFT_NAME(getDisp12MaxDiff());
Swift
func getDisp12MaxDiff() -> Int32
-
Declaration
Objective-C
- (int)getMinDisparity NS_SWIFT_NAME(getMinDisparity());
Swift
func getMinDisparity() -> Int32
-
Declaration
Objective-C
- (int)getNumDisparities NS_SWIFT_NAME(getNumDisparities());
Swift
func getNumDisparities() -> Int32
-
Declaration
Objective-C
- (int)getSpeckleRange NS_SWIFT_NAME(getSpeckleRange());
Swift
func getSpeckleRange() -> Int32
-
Declaration
Objective-C
- (int)getSpeckleWindowSize NS_SWIFT_NAME(getSpeckleWindowSize());
Swift
func getSpeckleWindowSize() -> Int32
-
Computes disparity map for the specified stereo pair
Declaration
Parameters
left
Left 8-bit single-channel image.
right
Right image of the same size and the same type as the left one.
disparity
Output disparity map. It has the same size as the input images. Some algorithms, like StereoBM or StereoSGBM compute 16-bit fixed-point disparity map (where each disparity value has 4 fractional bits), whereas other algorithms output 32-bit floating-point disparity map.
-
Declaration
Objective-C
- (void)setBlockSize:(int)blockSize NS_SWIFT_NAME(setBlockSize(blockSize:));
Swift
func setBlockSize(blockSize: Int32)
-
Declaration
Objective-C
- (void)setDisp12MaxDiff:(int)disp12MaxDiff NS_SWIFT_NAME(setDisp12MaxDiff(disp12MaxDiff:));
Swift
func setDisp12MaxDiff(disp12MaxDiff: Int32)
-
Declaration
Objective-C
- (void)setMinDisparity:(int)minDisparity NS_SWIFT_NAME(setMinDisparity(minDisparity:));
Swift
func setMinDisparity(minDisparity: Int32)
-
Declaration
Objective-C
- (void)setNumDisparities:(int)numDisparities NS_SWIFT_NAME(setNumDisparities(numDisparities:));
Swift
func setNumDisparities(numDisparities: Int32)
-
Declaration
Objective-C
- (void)setSpeckleRange:(int)speckleRange NS_SWIFT_NAME(setSpeckleRange(speckleRange:));
Swift
func setSpeckleRange(speckleRange: Int32)
-
Declaration
Objective-C
- (void)setSpeckleWindowSize:(int)speckleWindowSize NS_SWIFT_NAME(setSpeckleWindowSize(speckleWindowSize:));
Swift
func setSpeckleWindowSize(speckleWindowSize: Int32)