OpenCV for Unity
2.6.3
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
|
The base class for stereo correspondence algorithms. More...
Public Member Functions | |
void | compute (Mat left, Mat right, Mat disparity) |
Computes disparity map for the specified stereo pair. More... | |
int | getMinDisparity () |
void | setMinDisparity (int minDisparity) |
int | getNumDisparities () |
void | setNumDisparities (int numDisparities) |
int | getBlockSize () |
void | setBlockSize (int blockSize) |
int | getSpeckleWindowSize () |
void | setSpeckleWindowSize (int speckleWindowSize) |
int | getSpeckleRange () |
void | setSpeckleRange (int speckleRange) |
int | getDisp12MaxDiff () |
void | setDisp12MaxDiff (int disp12MaxDiff) |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
IntPtr | getNativeObjAddr () |
virtual void | clear () |
Clears the algorithm state. More... | |
virtual bool | empty () |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More... | |
void | save (string filename) |
virtual string | getDefaultName () |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
void | Dispose () |
void | ThrowIfDisposed () |
Static Public Member Functions | |
static new StereoMatcher | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
static Algorithm | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
Public Attributes | |
const int | DISP_SHIFT = 4 |
const int | DISP_SCALE = (1 << DISP_SHIFT) |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Properties inherited from OpenCVForUnity.DisposableObject | |
bool | IsDisposed [get, protected set] |
bool | IsEnabledDispose [get, set] |
The base class for stereo correspondence algorithms.
|
static |
Computes disparity map for the specified stereo pair.
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. |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.DisposableObject.
Reimplemented in OpenCVForUnity.Calib3dModule.StereoSGBM.
int OpenCVForUnity.Calib3dModule.StereoMatcher.getBlockSize | ( | ) |
int OpenCVForUnity.Calib3dModule.StereoMatcher.getDisp12MaxDiff | ( | ) |
int OpenCVForUnity.Calib3dModule.StereoMatcher.getMinDisparity | ( | ) |
int OpenCVForUnity.Calib3dModule.StereoMatcher.getNumDisparities | ( | ) |
int OpenCVForUnity.Calib3dModule.StereoMatcher.getSpeckleRange | ( | ) |
int OpenCVForUnity.Calib3dModule.StereoMatcher.getSpeckleWindowSize | ( | ) |
void OpenCVForUnity.Calib3dModule.StereoMatcher.setBlockSize | ( | int | blockSize | ) |
void OpenCVForUnity.Calib3dModule.StereoMatcher.setDisp12MaxDiff | ( | int | disp12MaxDiff | ) |
void OpenCVForUnity.Calib3dModule.StereoMatcher.setMinDisparity | ( | int | minDisparity | ) |
void OpenCVForUnity.Calib3dModule.StereoMatcher.setNumDisparities | ( | int | numDisparities | ) |
void OpenCVForUnity.Calib3dModule.StereoMatcher.setSpeckleRange | ( | int | speckleRange | ) |
void OpenCVForUnity.Calib3dModule.StereoMatcher.setSpeckleWindowSize | ( | int | speckleWindowSize | ) |
const int OpenCVForUnity.Calib3dModule.StereoMatcher.DISP_SCALE = (1 << DISP_SHIFT) |
const int OpenCVForUnity.Calib3dModule.StereoMatcher.DISP_SHIFT = 4 |