OpenCV for Unity 2.6.4
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. | |
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) |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
virtual void | clear () |
Clears the algorithm state. | |
virtual bool | empty () |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
virtual string | getDefaultName () |
IntPtr | getNativeObjAddr () |
void | save (string filename) |
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) |
Static Public Attributes | |
const int | DISP_SCALE = (1 << DISP_SHIFT) |
const int | DISP_SHIFT = 4 |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
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.CoreModule.Algorithm.
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 | ) |
|
static |
|
static |