DisparityFilter
Main interface for all disparity map filters.
Member of Ximgproc
-
Apply filtering to the disparity map.
Declaration
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.
-
Apply filtering to the disparity map.
Declaration
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.
stereo-pair.
-
Apply filtering to the disparity map.
Declaration
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.
stereo-pair.
-
Apply filtering to the disparity map.
Declaration
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.
of the right view to compute confidence maps, for instance.
stereo-pair.
View on GitHub
DisparityFilter Class Reference