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.
Loading...
Searching...
No Matches
OpenCVForUnity.XimgprocModule.DisparityFilter Class Reference

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]
 

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/8]

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.

◆ filter() [2/8]

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() [3/8]

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.

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/8]

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.

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() [5/8]

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.

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() [6/8]

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.

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() [7/8]

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() [8/8]

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.

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