@Namespace(value="cv::ximgproc") public static class opencv_ximgproc.DisparityFilter extends opencv_core.Algorithm
/** \brief Main interface for all disparity map filters.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_ximgproc.DisparityFilter(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
filter(opencv_core.Mat disparity_map_left,
opencv_core.Mat left_view,
opencv_core.Mat filtered_disparity_map) |
void |
filter(opencv_core.Mat disparity_map_left,
opencv_core.Mat left_view,
opencv_core.Mat filtered_disparity_map,
opencv_core.Mat disparity_map_right,
opencv_core.Rect ROI,
opencv_core.Mat right_view)
\brief Apply filtering to the disparity map.
|
clear, empty, getDefaultName, position, read, save, save, writeaddress, asBuffer, asByteBuffer, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic opencv_ximgproc.DisparityFilter(Pointer p)
Pointer.Pointer(Pointer).public void filter(@ByVal opencv_core.Mat disparity_map_left, @ByVal opencv_core.Mat left_view, @ByVal opencv_core.Mat filtered_disparity_map, @ByVal(nullValue="cv::Mat()") opencv_core.Mat disparity_map_right, @ByVal(nullValue="cv::Rect()") opencv_core.Rect ROI, @ByVal(nullValue="cv::Mat()") opencv_core.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(@ByVal opencv_core.Mat disparity_map_left, @ByVal opencv_core.Mat left_view, @ByVal opencv_core.Mat filtered_disparity_map)
Copyright © 2016. All rights reserved.