@Namespace(value="cv::cuda") @Properties(inherit=opencv_cudastereo.class) public class DisparityBilateralFilter extends Algorithm
The class implements \cite Yang2010 algorithm.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DisparityBilateralFilter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(GpuMat disparity,
GpuMat image,
GpuMat dst) |
void |
apply(GpuMat disparity,
GpuMat image,
GpuMat dst,
Stream stream) |
void |
apply(Mat disparity,
Mat image,
Mat dst) |
void |
apply(Mat disparity,
Mat image,
Mat dst,
Stream stream)
\brief Refines a disparity map using joint bilateral filtering.
|
void |
apply(UMat disparity,
UMat image,
UMat dst) |
void |
apply(UMat disparity,
UMat image,
UMat dst,
Stream stream) |
double |
getEdgeThreshold()
truncation of data continuity
|
double |
getMaxDiscThreshold()
truncation of disparity continuity
|
int |
getNumDisparities() |
int |
getNumIters() |
int |
getRadius() |
double |
getSigmaRange()
filter range sigma
|
void |
setEdgeThreshold(double edge_threshold) |
void |
setMaxDiscThreshold(double max_disc_threshold) |
void |
setNumDisparities(int numDisparities) |
void |
setNumIters(int iters) |
void |
setRadius(int radius) |
void |
setSigmaRange(double sigma_range) |
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public DisparityBilateralFilter(Pointer p)
Pointer.Pointer(Pointer)
.public void apply(@ByVal Mat disparity, @ByVal Mat image, @ByVal Mat dst, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
disparity
- Input disparity map. CV_8UC1 and CV_16SC1 types are supported.image
- Input image. CV_8UC1 and CV_8UC3 types are supported.dst
- Destination disparity map. It has the same size and type as disparity .stream
- Stream for the asynchronous version.public void apply(@ByVal UMat disparity, @ByVal UMat image, @ByVal UMat dst, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void apply(@ByVal GpuMat disparity, @ByVal GpuMat image, @ByVal GpuMat dst, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public int getNumDisparities()
public void setNumDisparities(int numDisparities)
public int getRadius()
public void setRadius(int radius)
public int getNumIters()
public void setNumIters(int iters)
public double getEdgeThreshold()
public void setEdgeThreshold(double edge_threshold)
public double getMaxDiscThreshold()
public void setMaxDiscThreshold(double max_disc_threshold)
public double getSigmaRange()
public void setSigmaRange(double sigma_range)
Copyright © 2020. All rights reserved.