@Namespace(value="cv") public static class opencv_calib3d.StereoBM extends opencv_calib3d.StereoMatcher
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator
Modifier and Type | Field and Description |
---|---|
static int |
PREFILTER_NORMALIZED_RESPONSE
enum cv::StereoBM::
|
static int |
PREFILTER_XSOBEL
enum cv::StereoBM::
|
DISP_SCALE, DISP_SHIFT
Constructor and Description |
---|
opencv_calib3d.StereoBM(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static opencv_calib3d.StereoBM |
create() |
static opencv_calib3d.StereoBM |
create(int numDisparities,
int blockSize)
\brief Creates StereoBM object
|
int |
getPreFilterCap() |
int |
getPreFilterSize() |
int |
getPreFilterType() |
opencv_core.Rect |
getROI1() |
opencv_core.Rect |
getROI2() |
int |
getSmallerBlockSize() |
int |
getTextureThreshold() |
int |
getUniquenessRatio() |
void |
setPreFilterCap(int preFilterCap) |
void |
setPreFilterSize(int preFilterSize) |
void |
setPreFilterType(int preFilterType) |
void |
setROI1(opencv_core.Rect roi1) |
void |
setROI2(opencv_core.Rect roi2) |
void |
setSmallerBlockSize(int blockSize) |
void |
setTextureThreshold(int textureThreshold) |
void |
setUniquenessRatio(int uniquenessRatio) |
compute, getBlockSize, getDisp12MaxDiff, getMinDisparity, getNumDisparities, getSpeckleRange, getSpeckleWindowSize, setBlockSize, setDisp12MaxDiff, setMinDisparity, setNumDisparities, setSpeckleRange, setSpeckleWindowSize
clear, empty, getDefaultName, position, read, save, save, write
address, asBuffer, asByteBuffer, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zero
public static final int PREFILTER_NORMALIZED_RESPONSE
public static final int PREFILTER_XSOBEL
public opencv_calib3d.StereoBM(Pointer p)
Pointer.Pointer(Pointer)
.public int getPreFilterType()
public void setPreFilterType(int preFilterType)
public int getPreFilterSize()
public void setPreFilterSize(int preFilterSize)
public int getPreFilterCap()
public void setPreFilterCap(int preFilterCap)
public int getTextureThreshold()
public void setTextureThreshold(int textureThreshold)
public int getUniquenessRatio()
public void setUniquenessRatio(int uniquenessRatio)
public int getSmallerBlockSize()
public void setSmallerBlockSize(int blockSize)
@ByVal public opencv_core.Rect getROI1()
public void setROI1(@ByVal opencv_core.Rect roi1)
@ByVal public opencv_core.Rect getROI2()
public void setROI2(@ByVal opencv_core.Rect roi2)
@opencv_core.Ptr public static opencv_calib3d.StereoBM create(int numDisparities, int blockSize)
numDisparities
- the disparity search range. For each pixel algorithm will find the best
disparity from 0 (default minimum disparity) to numDisparities. The search range can then be
shifted by changing the minimum disparity.blockSize
- the linear size of the blocks compared by the algorithm. The size should be odd
(as the block is centered at the current pixel). Larger block size implies smoother, though less
accurate disparity map. Smaller block size gives more detailed disparity map, but there is higher
chance for algorithm to find a wrong correspondence.
The function create StereoBM object. You can then call StereoBM::compute() to compute disparity for a specific stereo pair.
@opencv_core.Ptr public static opencv_calib3d.StereoBM create()
Copyright © 2016. All rights reserved.