public class LocalCoordinateSystemPointDescriptor<P extends Point> extends AbstractPointDescriptor<P,LocalCoordinateSystemPointDescriptor<P>> implements Leaf<LocalCoordinateSystemPointDescriptor<P>>
| Modifier and Type | Field and Description |
|---|---|
float |
ax |
float |
bx |
float |
by |
float |
cx |
float |
cy |
float |
cz |
protected boolean |
normalize |
index| Constructor and Description |
|---|
LocalCoordinateSystemPointDescriptor(P basisPoint,
ArrayList<P> orderedNearestNeighboringPoints,
boolean normalize) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildLocalCoordinateSystem(ArrayList<LinkedPoint<P>> neighbors,
boolean normalize) |
LocalCoordinateSystemPointDescriptor<P>[] |
createArray(int n) |
double |
descriptorDistance(LocalCoordinateSystemPointDescriptor<P> pointDescriptor)
Matches two
AbstractPointDescriptors of the same kind yielding a similarity value, the lower the better (0 means identical) |
float |
distanceTo(LocalCoordinateSystemPointDescriptor<P> other) |
Object |
fitMatches(ArrayList<PointMatch> matches)
Not necessary as the main matching method is overwritten
|
float |
get(int k) |
int |
getNumDimensions() |
boolean |
isLeaf() |
boolean |
resetWorldCoordinatesAfterMatching()
Tells if the descriptormatching should reset the world coordinates after the matching
|
boolean |
useWorldCoordinatesForDescriptorBuildUp()
Tells if the build up of the descriptor should use the world coordinates or rather the local coordinates
|
getBasisPoint, getBestPointMatchSet, getDescriptorPoint, getId, getOrderedNearestNeighboringPoints, getSimilarityMeasure, numDimensions, numNeighbors, resetWorldCoordinates, setSimilarityMeasure, toStringprotected final boolean normalize
public float ax
public float bx
public float by
public float cx
public float cy
public float cz
public LocalCoordinateSystemPointDescriptor(P basisPoint, ArrayList<P> orderedNearestNeighboringPoints, boolean normalize) throws NoSuitablePointsException
NoSuitablePointsExceptionpublic double descriptorDistance(LocalCoordinateSystemPointDescriptor<P> pointDescriptor)
AbstractPointDescriptorAbstractPointDescriptors of the same kind yielding a similarity value, the lower the better (0 means identical)descriptorDistance in class AbstractPointDescriptor<P extends Point,LocalCoordinateSystemPointDescriptor<P extends Point>>pointDescriptor - - the AbstractPointDescriptor to matchpublic Object fitMatches(ArrayList<PointMatch> matches)
fitMatches in class AbstractPointDescriptor<P extends Point,LocalCoordinateSystemPointDescriptor<P extends Point>>matches - - The Points to matchpublic void buildLocalCoordinateSystem(ArrayList<LinkedPoint<P>> neighbors, boolean normalize)
public LocalCoordinateSystemPointDescriptor<P>[] createArray(int n)
createArray in interface Leaf<LocalCoordinateSystemPointDescriptor<P extends Point>>public float distanceTo(LocalCoordinateSystemPointDescriptor<P> other)
distanceTo in interface Leaf<LocalCoordinateSystemPointDescriptor<P extends Point>>public float get(int k)
get in interface Leaf<LocalCoordinateSystemPointDescriptor<P extends Point>>public int getNumDimensions()
getNumDimensions in interface Leaf<LocalCoordinateSystemPointDescriptor<P extends Point>>public boolean isLeaf()
isLeaf in interface Node<LocalCoordinateSystemPointDescriptor<P extends Point>>public boolean resetWorldCoordinatesAfterMatching()
AbstractPointDescriptorresetWorldCoordinatesAfterMatching in class AbstractPointDescriptor<P extends Point,LocalCoordinateSystemPointDescriptor<P extends Point>>public boolean useWorldCoordinatesForDescriptorBuildUp()
AbstractPointDescriptoruseWorldCoordinatesForDescriptorBuildUp in class AbstractPointDescriptor<P extends Point,LocalCoordinateSystemPointDescriptor<P extends Point>>Copyright © 2015–2021 Fiji. All rights reserved.