@Namespace(value="cv::cuda") @Properties(inherit=opencv_cudaimgproc.class) public class TemplateMatching extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TemplateMatching(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
match(GpuMat image,
GpuMat templ,
GpuMat result) |
void |
match(GpuMat image,
GpuMat templ,
GpuMat result,
Stream stream) |
void |
match(Mat image,
Mat templ,
Mat result) |
void |
match(Mat image,
Mat templ,
Mat result,
Stream stream)
\brief Computes a proximity map for a raster template and an image where the template is searched for.
|
void |
match(UMat image,
UMat templ,
UMat result) |
void |
match(UMat image,
UMat templ,
UMat result,
Stream stream) |
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 TemplateMatching(Pointer p)
Pointer.Pointer(Pointer)
.public void match(@ByVal Mat image, @ByVal Mat templ, @ByVal Mat result, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
image
- Source image.templ
- Template image with the size and type the same as image .result
- Map containing comparison results ( CV_32FC1 ). If image is *W x H* and templ is *w
x h*, then result must be *W-w+1 x H-h+1*.stream
- Stream for the asynchronous version.public void match(@ByVal UMat image, @ByVal UMat templ, @ByVal UMat result, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void match(@ByVal GpuMat image, @ByVal GpuMat templ, @ByVal GpuMat result, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
Copyright © 2020. All rights reserved.