public class DisparityFilter extends Algorithm
| Modifier | Constructor and Description |
|---|---|
protected |
DisparityFilter(long addr) |
| Modifier and Type | Method and Description |
|---|---|
static DisparityFilter |
__fromPtr__(long addr) |
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,
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.
|
protected void |
finalize() |
clear, empty, getDefaultName, getNativeObjAddr, savepublic static DisparityFilter __fromPtr__(long addr)
public void filter(Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right, Rect ROI, Mat right_view)
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.public void filter(Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right, Rect ROI)
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.
stereo-pair.public void filter(Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right)
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.
stereo-pair.public void filter(Mat disparity_map_left, Mat left_view, Mat filtered_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.
of the right view to compute confidence maps, for instance.
stereo-pair.Generated on Thu Jul 25 2019 21:39:44 UTC / OpenCV 3.4.7