@Namespace(value="cv") @Properties(inherit=opencv_shape.class) public class HausdorffDistanceExtractor extends ShapeDistanceExtractor
according to the paper "Comparing Images using the Hausdorff distance." by D.P. Huttenlocher, G.A. Klanderman, and W.J. Rucklidge. (PAMI 1993). :
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
HausdorffDistanceExtractor(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getDistanceFlag() |
float |
getRankProportion() |
void |
setDistanceFlag(int distanceFlag)
\brief Set the norm used to compute the Hausdorff value between two shapes.
|
void |
setRankProportion(float rankProportion)
\brief This method sets the rank proportion (or fractional value) that establish the Kth ranked value of
the partial Hausdorff distance.
|
computeDistance, computeDistance, computeDistance
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 HausdorffDistanceExtractor(Pointer p)
Pointer.Pointer(Pointer)
.public void setDistanceFlag(int distanceFlag)
distanceFlag
- Flag indicating which norm is used to compute the Hausdorff distance
(NORM_L1, NORM_L2).public int getDistanceFlag()
public void setRankProportion(float rankProportion)
rankProportion
- fractional value (between 0 and 1).public float getRankProportion()
Copyright © 2020. All rights reserved.