public class TestPointDescriptor extends Object
Constructor and Description |
---|
TestPointDescriptor() |
Modifier and Type | Method and Description |
---|---|
protected static void |
add(Point p1,
Point p2) |
protected void |
addAdvancedPoints(ArrayList<Point> points1,
ArrayList<Point> points2) |
protected void |
addSimplePoints(ArrayList<Point> points1,
ArrayList<Point> points2) |
protected void |
applyTransform(ArrayList<Point> points) |
static <P extends Point> |
createLocalCoordinateSystemPointDescriptors(KDTree<VirtualPointNode<P>> tree,
ArrayList<VirtualPointNode<P>> basisPoints,
int numNeighbors,
boolean normalize) |
static <P extends Point> |
createModelPointDescriptors(KDTree<VirtualPointNode<P>> tree,
ArrayList<VirtualPointNode<P>> basisPoints,
int numNeighbors,
TranslationInvariantModel<?> model,
Matcher matcher,
SimilarityMeasure similarityMeasure) |
static <P extends Point> |
createVirtualNodeList(ArrayList<P> points) |
static ArrayList<Point3f> |
getBoundingBox(float start,
float end) |
protected static boolean |
isCorrect(Point a,
Point b) |
static void |
main(String[] args) |
static void |
testQuaternions() |
static void |
testStability(int numNeighbors,
int numTrueMatches,
int numRandomPoints,
double nTimesBetter,
double stdev,
boolean fastMatching,
boolean showPoints) |
protected void addAdvancedPoints(ArrayList<Point> points1, ArrayList<Point> points2)
public static <P extends Point> ArrayList<VirtualPointNode<P>> createVirtualNodeList(ArrayList<P> points)
public static <P extends Point> ArrayList<ModelPointDescriptor<P>> createModelPointDescriptors(KDTree<VirtualPointNode<P>> tree, ArrayList<VirtualPointNode<P>> basisPoints, int numNeighbors, TranslationInvariantModel<?> model, Matcher matcher, SimilarityMeasure similarityMeasure)
public static <P extends Point> ArrayList<LocalCoordinateSystemPointDescriptor<P>> createLocalCoordinateSystemPointDescriptors(KDTree<VirtualPointNode<P>> tree, ArrayList<VirtualPointNode<P>> basisPoints, int numNeighbors, boolean normalize)
public static void testQuaternions()
public static void testStability(int numNeighbors, int numTrueMatches, int numRandomPoints, double nTimesBetter, double stdev, boolean fastMatching, boolean showPoints)
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.