@Namespace(value="cv::cuda") @Properties(inherit=opencv_cudafilters.class) public class Filter extends Algorithm
/** \brief Common interface for all CUDA filters :
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Filter(Algorithm pointer)
Downcast constructor.
|
Filter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(GpuMat src,
GpuMat dst) |
void |
apply(GpuMat src,
GpuMat dst,
Stream stream) |
void |
apply(Mat src,
Mat dst) |
void |
apply(Mat src,
Mat dst,
Stream stream)
\brief Applies the specified filter to the image.
|
void |
apply(UMat src,
UMat dst) |
void |
apply(UMat src,
UMat dst,
Stream stream) |
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(Filter pointer) |
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 Filter(Pointer p)
Pointer(Pointer)
.public Filter(Algorithm pointer)
public Algorithm asAlgorithm()
asAlgorithm
in class Algorithm
@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(Filter pointer)
public void apply(@ByVal Mat src, @ByVal Mat dst, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
src
- Input image.dst
- Output image.stream
- Stream for the asynchronous version.public void apply(@ByVal UMat src, @ByVal UMat dst, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void apply(@ByVal GpuMat src, @ByVal GpuMat dst, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
Copyright © 2024. All rights reserved.