@Namespace(value="cv") @Properties(inherit=opencv_shape.class) public class ShapeDistanceExtractor extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ShapeDistanceExtractor(Algorithm pointer)
Downcast constructor.
|
ShapeDistanceExtractor(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(ShapeDistanceExtractor pointer) |
float |
computeDistance(GpuMat contour1,
GpuMat contour2) |
float |
computeDistance(Mat contour1,
Mat contour2)
\brief Compute the shape distance between two shapes defined by its contours.
|
float |
computeDistance(UMat contour1,
UMat contour2) |
clear, empty, getDefaultName, getPointer, position, read, save, save, write, write, writeaddress, 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, zeropublic ShapeDistanceExtractor(Pointer p)
Pointer(Pointer).public ShapeDistanceExtractor(Algorithm pointer)
public Algorithm asAlgorithm()
asAlgorithm in class Algorithm@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(ShapeDistanceExtractor pointer)
public float computeDistance(@ByVal Mat contour1, @ByVal Mat contour2)
contour1 - Contour defining first shape.contour2 - Contour defining second shape.Copyright © 2025. All rights reserved.