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.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.XimgprocModule.DisparityFilter Class Reference

Main interface for all disparity map filters. More...

Inheritance diagram for OpenCVForUnity.XimgprocModule.DisparityFilter:
OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject OpenCVForUnity.XimgprocModule.DisparityWLSFilter

Public Member Functions

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. More...
 
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. More...
 
void filter (Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right)
 Apply filtering to the disparity map. More...
 
void filter (Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map)
 Apply filtering to the disparity map. More...
 
- 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 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.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- 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]
 

Detailed Description

Main interface for all disparity map filters.

Member Function Documentation

◆ __fromPtr__()

static new DisparityFilter OpenCVForUnity.XimgprocModule.DisparityFilter.__fromPtr__ ( IntPtr  addr)
static

◆ Dispose()

override void OpenCVForUnity.XimgprocModule.DisparityFilter.Dispose ( bool  disposing)
protectedvirtual

◆ filter() [1/4]

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.

Parameters
disparity_map_leftdisparity 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_viewleft view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image.
filtered_disparity_mapoutput disparity map.
disparity_map_rightoptional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance.
ROIregion of the disparity map to filter. Optional, usually it should be set automatically.
right_viewoptional argument, some implementations might also use the right view of the original stereo-pair.

◆ filter() [2/4]

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.

Parameters
disparity_map_leftdisparity 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_viewleft view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image.
filtered_disparity_mapoutput disparity map.
disparity_map_rightoptional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance.
ROIregion of the disparity map to filter. Optional, usually it should be set automatically.
right_viewoptional argument, some implementations might also use the right view of the original stereo-pair.

◆ filter() [3/4]

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.

Parameters
disparity_map_leftdisparity 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_viewleft view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image.
filtered_disparity_mapoutput disparity map.
disparity_map_rightoptional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance.
ROIregion of the disparity map to filter. Optional, usually it should be set automatically.
right_viewoptional argument, some implementations might also use the right view of the original stereo-pair.

◆ filter() [4/4]

void OpenCVForUnity.XimgprocModule.DisparityFilter.filter ( Mat  disparity_map_left,
Mat  left_view,
Mat  filtered_disparity_map 
)

Apply filtering to the disparity map.

Parameters
disparity_map_leftdisparity 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_viewleft view of the original stereo-pair to guide the filtering process, 8-bit single-channel or three-channel image.
filtered_disparity_mapoutput disparity map.
disparity_map_rightoptional argument, some implementations might also use the disparity map of the right view to compute confidence maps, for instance.
ROIregion of the disparity map to filter. Optional, usually it should be set automatically.
right_viewoptional argument, some implementations might also use the right view of the original stereo-pair.

The documentation for this class was generated from the following file: