@Namespace(value="cv") public static class opencv_shape.HausdorffDistanceExtractor extends opencv_shape.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| Constructor and Description |
|---|
opencv_shape.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.
|
computeDistanceclear, empty, getDefaultName, position, read, save, save, writeaddress, asBuffer, asByteBuffer, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic opencv_shape.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 © 2016. All rights reserved.