@Namespace(value="cv::cuda") @Properties(inherit=opencv_cudaarithm.class) public class Convolution extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Convolution(Algorithm pointer)
Downcast constructor.
|
Convolution(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(Convolution pointer) |
void |
convolve(GpuMat image,
GpuMat templ,
GpuMat result) |
void |
convolve(GpuMat image,
GpuMat templ,
GpuMat result,
boolean ccorr,
Stream stream) |
void |
convolve(Mat image,
Mat templ,
Mat result) |
void |
convolve(Mat image,
Mat templ,
Mat result,
boolean ccorr,
Stream stream)
\brief Computes a convolution (or cross-correlation) of two images.
|
void |
convolve(UMat image,
UMat templ,
UMat result) |
void |
convolve(UMat image,
UMat templ,
UMat result,
boolean ccorr,
Stream stream) |
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 Convolution(Pointer p)
Pointer(Pointer)
.public Convolution(Algorithm pointer)
public Algorithm asAlgorithm()
asAlgorithm
in class Algorithm
@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(Convolution pointer)
public void convolve(@ByVal Mat image, @ByVal Mat templ, @ByVal Mat result, @Cast(value="bool") boolean ccorr, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
image
- Source image. Only CV_32FC1 images are supported for now.templ
- Template image. The size is not greater than the image size. The type is the same as
image .result
- Result image. If image is *W x H* and templ is *w x h*, then result must be *W-w+1 x
H-h+1*.ccorr
- Flags to evaluate cross-correlation instead of convolution.stream
- Stream for the asynchronous version.public void convolve(@ByVal UMat image, @ByVal UMat templ, @ByVal UMat result, @Cast(value="bool") boolean ccorr, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void convolve(@ByVal GpuMat image, @ByVal GpuMat templ, @ByVal GpuMat result, @Cast(value="bool") boolean ccorr, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
Copyright © 2024. All rights reserved.