@Namespace(value="cv::ximgproc") @Properties(inherit=opencv_ximgproc.class) public class DisparityFilter extends Algorithm
/** \brief Main interface for all disparity map filters.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DisparityFilter(Algorithm pointer)
Downcast constructor.
|
DisparityFilter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(DisparityFilter pointer) |
void |
filter(GpuMat disparity_map_left,
GpuMat left_view,
GpuMat filtered_disparity_map) |
void |
filter(GpuMat disparity_map_left,
GpuMat left_view,
GpuMat filtered_disparity_map,
GpuMat disparity_map_right,
Rect ROI,
GpuMat right_view) |
void |
filter(Mat disparity_map_left,
Mat left_view,
Mat filtered_disparity_map) |
void |
filter(Mat disparity_map_left,
Mat left_view,
Mat filtered_disparity_map,
Mat disparity_map_right,
Rect ROI,
Mat right_view)
\brief Apply filtering to the disparity map.
|
void |
filter(UMat disparity_map_left,
UMat left_view,
UMat filtered_disparity_map) |
void |
filter(UMat disparity_map_left,
UMat left_view,
UMat filtered_disparity_map,
UMat disparity_map_right,
Rect ROI,
UMat right_view) |
clear, empty, getDefaultName, getPointer, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public DisparityFilter(Pointer p)
Pointer(Pointer)
.public DisparityFilter(Algorithm pointer)
public Algorithm asAlgorithm()
asAlgorithm
in class Algorithm
@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(DisparityFilter pointer)
public void filter(@ByVal Mat disparity_map_left, @ByVal Mat left_view, @ByVal Mat filtered_disparity_map, @ByVal(nullValue="cv::InputArray(cv::Mat())") Mat disparity_map_right, @ByVal(nullValue="cv::Rect()") Rect ROI, @ByVal(nullValue="cv::InputArray(cv::Mat())") 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 Mat disparity_map_left, @ByVal Mat left_view, @ByVal Mat filtered_disparity_map)
public void filter(@ByVal UMat disparity_map_left, @ByVal UMat left_view, @ByVal UMat filtered_disparity_map, @ByVal(nullValue="cv::InputArray(cv::Mat())") UMat disparity_map_right, @ByVal(nullValue="cv::Rect()") Rect ROI, @ByVal(nullValue="cv::InputArray(cv::Mat())") UMat right_view)
public void filter(@ByVal UMat disparity_map_left, @ByVal UMat left_view, @ByVal UMat filtered_disparity_map)
public void filter(@ByVal GpuMat disparity_map_left, @ByVal GpuMat left_view, @ByVal GpuMat filtered_disparity_map, @ByVal(nullValue="cv::InputArray(cv::Mat())") GpuMat disparity_map_right, @ByVal(nullValue="cv::Rect()") Rect ROI, @ByVal(nullValue="cv::InputArray(cv::Mat())") GpuMat right_view)
Copyright © 2024. All rights reserved.