OpenCV for Unity 2.6.5
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.
|
Main interface for all disparity map filters. More...
Public Member Functions | |
void | filter (Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map) |
Apply filtering to the disparity map. | |
void | filter (Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right) |
Apply filtering to the disparity map. | |
void | filter (Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right, in Vec4i ROI) |
Apply filtering to the disparity map. | |
void | filter (Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right, in Vec4i ROI, Mat right_view) |
Apply filtering to the disparity map. | |
void | filter (Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right, in(int x, int y, int width, int height) ROI) |
Apply filtering to the disparity map. | |
void | filter (Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right, in(int x, int y, int width, int height) ROI, Mat right_view) |
Apply filtering to the disparity map. | |
void | filter (Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right, Rect ROI) |
Apply filtering to the disparity map. | |
void | filter (Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right, Rect ROI, Mat right_view) |
Apply filtering to the disparity map. | |
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 DisparityFilter | __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) |
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) | |
override void | Dispose (bool disposing) |
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] |
Main interface for all disparity map filters.
|
static |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
Reimplemented in OpenCVForUnity.XimgprocModule.DisparityWLSFilter.
void OpenCVForUnity.XimgprocModule.DisparityFilter.filter | ( | Mat | disparity_map_left, |
Mat | left_view, | ||
Mat | filtered_disparity_map ) |
Apply filtering to the disparity map.
disparity_map_left | disparity map of the left view, 1 channel, CV_16S type. Implicitly assumes that disparity values are scaled by 16 (one-pixel disparity corresponds to the value of 16 in the disparity map). Disparity map can have any resolution, it will be automatically resized to fit left_view resolution. |
left_view | left view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image. |
filtered_disparity_map | output disparity map. |
disparity_map_right | optional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance. |
ROI | region of the disparity map to filter. Optional, usually it should be set automatically. |
right_view | optional argument, some implementations might also use the right view of the original stereo-pair. |
void OpenCVForUnity.XimgprocModule.DisparityFilter.filter | ( | Mat | disparity_map_left, |
Mat | left_view, | ||
Mat | filtered_disparity_map, | ||
Mat | disparity_map_right ) |
Apply filtering to the disparity map.
disparity_map_left | disparity map of the left view, 1 channel, CV_16S type. Implicitly assumes that disparity values are scaled by 16 (one-pixel disparity corresponds to the value of 16 in the disparity map). Disparity map can have any resolution, it will be automatically resized to fit left_view resolution. |
left_view | left view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image. |
filtered_disparity_map | output disparity map. |
disparity_map_right | optional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance. |
ROI | region of the disparity map to filter. Optional, usually it should be set automatically. |
right_view | optional argument, some implementations might also use the right view of the original stereo-pair. |
void OpenCVForUnity.XimgprocModule.DisparityFilter.filter | ( | Mat | disparity_map_left, |
Mat | left_view, | ||
Mat | filtered_disparity_map, | ||
Mat | disparity_map_right, | ||
in Vec4i | ROI ) |
Apply filtering to the disparity map.
disparity_map_left | disparity map of the left view, 1 channel, CV_16S type. Implicitly assumes that disparity values are scaled by 16 (one-pixel disparity corresponds to the value of 16 in the disparity map). Disparity map can have any resolution, it will be automatically resized to fit left_view resolution. |
left_view | left view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image. |
filtered_disparity_map | output disparity map. |
disparity_map_right | optional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance. |
ROI | region of the disparity map to filter. Optional, usually it should be set automatically. |
right_view | optional argument, some implementations might also use the right view of the original stereo-pair. |
void OpenCVForUnity.XimgprocModule.DisparityFilter.filter | ( | Mat | disparity_map_left, |
Mat | left_view, | ||
Mat | filtered_disparity_map, | ||
Mat | disparity_map_right, | ||
in Vec4i | ROI, | ||
Mat | right_view ) |
Apply filtering to the disparity map.
disparity_map_left | disparity map of the left view, 1 channel, CV_16S type. Implicitly assumes that disparity values are scaled by 16 (one-pixel disparity corresponds to the value of 16 in the disparity map). Disparity map can have any resolution, it will be automatically resized to fit left_view resolution. |
left_view | left view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image. |
filtered_disparity_map | output disparity map. |
disparity_map_right | optional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance. |
ROI | region of the disparity map to filter. Optional, usually it should be set automatically. |
right_view | optional argument, some implementations might also use the right view of the original stereo-pair. |
void OpenCVForUnity.XimgprocModule.DisparityFilter.filter | ( | Mat | disparity_map_left, |
Mat | left_view, | ||
Mat | filtered_disparity_map, | ||
Mat | disparity_map_right, | ||
in(int x, int y, int width, int height) | ROI ) |
Apply filtering to the disparity map.
disparity_map_left | disparity map of the left view, 1 channel, CV_16S type. Implicitly assumes that disparity values are scaled by 16 (one-pixel disparity corresponds to the value of 16 in the disparity map). Disparity map can have any resolution, it will be automatically resized to fit left_view resolution. |
left_view | left view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image. |
filtered_disparity_map | output disparity map. |
disparity_map_right | optional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance. |
ROI | region of the disparity map to filter. Optional, usually it should be set automatically. |
right_view | optional argument, some implementations might also use the right view of the original stereo-pair. |
void OpenCVForUnity.XimgprocModule.DisparityFilter.filter | ( | Mat | disparity_map_left, |
Mat | left_view, | ||
Mat | filtered_disparity_map, | ||
Mat | disparity_map_right, | ||
in(int x, int y, int width, int height) | ROI, | ||
Mat | right_view ) |
Apply filtering to the disparity map.
disparity_map_left | disparity map of the left view, 1 channel, CV_16S type. Implicitly assumes that disparity values are scaled by 16 (one-pixel disparity corresponds to the value of 16 in the disparity map). Disparity map can have any resolution, it will be automatically resized to fit left_view resolution. |
left_view | left view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image. |
filtered_disparity_map | output disparity map. |
disparity_map_right | optional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance. |
ROI | region of the disparity map to filter. Optional, usually it should be set automatically. |
right_view | optional argument, some implementations might also use the right view of the original stereo-pair. |
void OpenCVForUnity.XimgprocModule.DisparityFilter.filter | ( | Mat | disparity_map_left, |
Mat | left_view, | ||
Mat | filtered_disparity_map, | ||
Mat | disparity_map_right, | ||
Rect | ROI ) |
Apply filtering to the disparity map.
disparity_map_left | disparity map of the left view, 1 channel, CV_16S type. Implicitly assumes that disparity values are scaled by 16 (one-pixel disparity corresponds to the value of 16 in the disparity map). Disparity map can have any resolution, it will be automatically resized to fit left_view resolution. |
left_view | left view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image. |
filtered_disparity_map | output disparity map. |
disparity_map_right | optional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance. |
ROI | region of the disparity map to filter. Optional, usually it should be set automatically. |
right_view | optional argument, some implementations might also use the right view of the original stereo-pair. |
void OpenCVForUnity.XimgprocModule.DisparityFilter.filter | ( | Mat | disparity_map_left, |
Mat | left_view, | ||
Mat | filtered_disparity_map, | ||
Mat | disparity_map_right, | ||
Rect | ROI, | ||
Mat | right_view ) |
Apply filtering to the disparity map.
disparity_map_left | disparity map of the left view, 1 channel, CV_16S type. Implicitly assumes that disparity values are scaled by 16 (one-pixel disparity corresponds to the value of 16 in the disparity map). Disparity map can have any resolution, it will be automatically resized to fit left_view resolution. |
left_view | left view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image. |
filtered_disparity_map | output disparity map. |
disparity_map_right | optional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance. |
ROI | region of the disparity map to filter. Optional, usually it should be set automatically. |
right_view | optional argument, some implementations might also use the right view of the original stereo-pair. |