|
OpenCV for Unity 3.0.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/5.0/index.html ) for the details of the argument of the method.
|
Class for computing stereo correspondence using the block matching algorithm, introduced and contributed to OpenCV by K. Konolige. More...
Public Member Functions | |
| int | getPreFilterCap () |
| int | getPreFilterSize () |
| int | getPreFilterType () |
| Rect | getROI1 () |
| int int int int height | getROI1AsValueTuple () |
| Vec4i | getROI1AsVec4i () |
| Rect | getROI2 () |
| int int int int height | getROI2AsValueTuple () |
| Vec4i | getROI2AsVec4i () |
| int | getSmallerBlockSize () |
| int | getTextureThreshold () |
| int | getUniquenessRatio () |
| void | setPreFilterCap (int preFilterCap) |
| void | setPreFilterSize (int preFilterSize) |
| void | setPreFilterType (int preFilterType) |
| void | setROI1 (in Vec4i roi1) |
| void | setROI1 (in(int x, int y, int width, int height) roi1) |
| void | setROI1 (Rect roi1) |
| void | setROI2 (in Vec4i roi2) |
| void | setROI2 (in(int x, int y, int width, int height) roi2) |
| void | setROI2 (Rect roi2) |
| void | setSmallerBlockSize (int blockSize) |
| void | setTextureThreshold (int textureThreshold) |
| void | setUniquenessRatio (int uniquenessRatio) |
Public Member Functions inherited from OpenCVForUnity.StereoModule.StereoMatcher | |
| 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 () |
| Releases resources used by this object. | |
| void | ThrowIfDisposed () |
| Throws ObjectDisposedException if this object has been disposed. | |
Static Public Member Functions | |
| static new StereoBM | __fromPtr__ (IntPtr addr) |
| static StereoBM | create () |
| Creates StereoBM object. | |
| static StereoBM | create (int numDisparities) |
| Creates StereoBM object. | |
| static StereoBM | create (int numDisparities, int blockSize) |
| Creates StereoBM object. | |
Static Public Member Functions inherited from OpenCVForUnity.StereoModule.StereoMatcher | |
| 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) |
| Returns the native pointer, or throws CoreModule.CvException if it is zero. | |
Public Attributes | |
| int int int | width |
| int | x |
| int int | y |
Static Public Attributes | |
| const int | PREFILTER_NORMALIZED_RESPONSE = 0 |
| C++: enum <unnamed> | |
| const int | PREFILTER_XSOBEL = 1 |
| C++: enum <unnamed> | |
Static Public Attributes inherited from OpenCVForUnity.StereoModule.StereoMatcher | |
| const int | DISP_SCALE = (1 << DISP_SHIFT) |
| C++: enum <unnamed> | |
| const int | DISP_SHIFT = 4 |
| C++: enum <unnamed> | |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.StereoModule.StereoMatcher | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
| DisposableOpenCVObject () | |
| Initializes a new instance with a zero native pointer and dispose enabled. | |
| DisposableOpenCVObject (bool isEnabledDispose) | |
| Initializes a new instance with a zero native pointer. | |
| DisposableOpenCVObject (IntPtr ptr) | |
| Initializes a new instance with the specified native pointer and dispose enabled. | |
| DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
| Initializes a new instance with the specified native pointer. | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
| DisposableObject () | |
| Initializes a new instance with dispose enabled. | |
| DisposableObject (bool isEnabledDispose) | |
| Initializes a new instance. | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.StereoModule.StereoMatcher | |
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] |
Class for computing stereo correspondence using the block matching algorithm, introduced and contributed to OpenCV by K. Konolige.
|
static |
|
static |
Creates StereoBM object.
| 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.
|
static |
Creates StereoBM object.
| 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.
|
static |
Creates StereoBM object.
| 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.
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
| int OpenCVForUnity.StereoModule.StereoBM.getPreFilterCap | ( | ) |
| int OpenCVForUnity.StereoModule.StereoBM.getPreFilterSize | ( | ) |
| int OpenCVForUnity.StereoModule.StereoBM.getPreFilterType | ( | ) |
| Rect OpenCVForUnity.StereoModule.StereoBM.getROI1 | ( | ) |
| int int int int height OpenCVForUnity.StereoModule.StereoBM.getROI1AsValueTuple | ( | ) |
| Vec4i OpenCVForUnity.StereoModule.StereoBM.getROI1AsVec4i | ( | ) |
| Rect OpenCVForUnity.StereoModule.StereoBM.getROI2 | ( | ) |
| int int int int height OpenCVForUnity.StereoModule.StereoBM.getROI2AsValueTuple | ( | ) |
| Vec4i OpenCVForUnity.StereoModule.StereoBM.getROI2AsVec4i | ( | ) |
| int OpenCVForUnity.StereoModule.StereoBM.getSmallerBlockSize | ( | ) |
| int OpenCVForUnity.StereoModule.StereoBM.getTextureThreshold | ( | ) |
| int OpenCVForUnity.StereoModule.StereoBM.getUniquenessRatio | ( | ) |
| void OpenCVForUnity.StereoModule.StereoBM.setPreFilterCap | ( | int | preFilterCap | ) |
| void OpenCVForUnity.StereoModule.StereoBM.setPreFilterSize | ( | int | preFilterSize | ) |
| void OpenCVForUnity.StereoModule.StereoBM.setPreFilterType | ( | int | preFilterType | ) |
| void OpenCVForUnity.StereoModule.StereoBM.setROI1 | ( | in Vec4i | roi1 | ) |
| void OpenCVForUnity.StereoModule.StereoBM.setROI1 | ( | Rect | roi1 | ) |
| void OpenCVForUnity.StereoModule.StereoBM.setROI2 | ( | in Vec4i | roi2 | ) |
| void OpenCVForUnity.StereoModule.StereoBM.setROI2 | ( | Rect | roi2 | ) |
| void OpenCVForUnity.StereoModule.StereoBM.setSmallerBlockSize | ( | int | blockSize | ) |
| void OpenCVForUnity.StereoModule.StereoBM.setTextureThreshold | ( | int | textureThreshold | ) |
| void OpenCVForUnity.StereoModule.StereoBM.setUniquenessRatio | ( | int | uniquenessRatio | ) |
|
static |
C++: enum <unnamed>
|
static |
C++: enum <unnamed>
| int int int OpenCVForUnity.StereoModule.StereoBM.width |
| int OpenCVForUnity.StereoModule.StereoBM.x |
| int int OpenCVForUnity.StereoModule.StereoBM.y |