@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(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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, position, read, save, save, write, write, writeaddress, 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, zeropublic Convolution(Pointer p)
Pointer.Pointer(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 © 2020. All rights reserved.