@Namespace(value="cv") public static class opencv_calib3d.StereoMatcher extends opencv_core.Algorithm
| Modifier and Type | Field and Description |
|---|---|
static int |
DISP_SCALE
enum cv::StereoMatcher::
|
static int |
DISP_SHIFT
enum cv::StereoMatcher::
|
| Constructor and Description |
|---|
StereoMatcher(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
compute(opencv_core.GpuMat left,
opencv_core.GpuMat right,
opencv_core.GpuMat disparity) |
void |
compute(opencv_core.Mat left,
opencv_core.Mat right,
opencv_core.Mat disparity)
\brief Computes disparity map for the specified stereo pair
|
void |
compute(opencv_core.UMat left,
opencv_core.UMat right,
opencv_core.UMat disparity) |
int |
getBlockSize() |
int |
getDisp12MaxDiff() |
int |
getMinDisparity() |
int |
getNumDisparities() |
int |
getSpeckleRange() |
int |
getSpeckleWindowSize() |
void |
setBlockSize(int blockSize) |
void |
setDisp12MaxDiff(int disp12MaxDiff) |
void |
setMinDisparity(int minDisparity) |
void |
setNumDisparities(int numDisparities) |
void |
setSpeckleRange(int speckleRange) |
void |
setSpeckleWindowSize(int speckleWindowSize) |
clear, empty, getDefaultName, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic static final int DISP_SHIFT
public static final int DISP_SCALE
public StereoMatcher(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void compute(@ByVal
opencv_core.Mat left,
@ByVal
opencv_core.Mat right,
@ByVal
opencv_core.Mat disparity)
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.public void compute(@ByVal
opencv_core.UMat left,
@ByVal
opencv_core.UMat right,
@ByVal
opencv_core.UMat disparity)
public void compute(@ByVal
opencv_core.GpuMat left,
@ByVal
opencv_core.GpuMat right,
@ByVal
opencv_core.GpuMat disparity)
public int getMinDisparity()
public void setMinDisparity(int minDisparity)
public int getNumDisparities()
public void setNumDisparities(int numDisparities)
public int getBlockSize()
public void setBlockSize(int blockSize)
public int getSpeckleWindowSize()
public void setSpeckleWindowSize(int speckleWindowSize)
public int getSpeckleRange()
public void setSpeckleRange(int speckleRange)
public int getDisp12MaxDiff()
public void setDisp12MaxDiff(int disp12MaxDiff)
Copyright © 2018. All rights reserved.