Package | Description |
---|---|
org.openimaj.feature | |
org.openimaj.image.processing.face.recognition | |
org.openimaj.knn | |
org.openimaj.ml.clustering.assignment.hard |
Modifier and Type | Class and Description |
---|---|
class |
DoubleFVComparison
Comparison/distance methods for DoubleFV objects.
|
Modifier and Type | Method and Description |
---|---|
static <FACE extends DetectedFace,PERSON> |
EigenFaceRecogniser.create(int numComponents,
FaceAligner<FACE> aligner,
int k,
DoubleFVComparator compar)
Convenience method to create an
EigenFaceRecogniser with a
standard KNN classifier. |
static <FACE extends DetectedFace,PERSON> |
FisherFaceRecogniser.create(int numComponents,
FaceAligner<FACE> aligner,
int k,
DoubleFVComparator compar)
Convenience method to create an
FisherFaceRecogniser with a
standard KNN classifier. |
static <FACE extends DetectedFace,PERSON> |
EigenFaceRecogniser.create(int numComponents,
FaceAligner<FACE> aligner,
int k,
DoubleFVComparator compar,
float threshold)
Convenience method to create an
EigenFaceRecogniser with a
standard KNN classifier, incorporating a threshold on the maximum
distance (or minimum similarity) to allow a match. |
static <FACE extends DetectedFace,PERSON> |
FisherFaceRecogniser.create(int numComponents,
FaceAligner<FACE> aligner,
int k,
DoubleFVComparator compar,
float threshold)
Convenience method to create an
FisherFaceRecogniser with a
standard KNN classifier, incorporating a threshold on the maximum
distance (or minimum similarity) to allow a match. |
Modifier and Type | Field and Description |
---|---|
protected DoubleFVComparator |
DoubleNearestNeighboursExact.distance |
Modifier and Type | Method and Description |
---|---|
DoubleFVComparator |
DoubleNearestNeighboursExact.distanceComparator()
Get the distance comparator
|
Modifier and Type | Method and Description |
---|---|
static double |
DoubleNearestNeighbours.distanceFunc(DoubleFVComparator distance,
double[] qu,
double[] pnt)
Static method to find a distance between
a query vector and a point.
|
static void |
DoubleNearestNeighbours.distanceFunc(DoubleFVComparator distance,
double[] qu,
double[][] pnts,
double[] dsq_out)
Static method to find a distance between
a query vector and each of a set of points.
|
Constructor and Description |
---|
DoubleNearestNeighboursExact(double[][] pnts,
DoubleFVComparator distance)
Construct the DoubleNearestNeighboursExact over the provided
dataset with the given distance function.
|
Factory(DoubleFVComparator distance)
Construct the factory with the given distance function
for the produced DoubleNearestNeighbours instances.
|
Constructor and Description |
---|
ExactDoubleAssigner(CentroidsProvider<double[]> provider,
DoubleFVComparator comparison)
Construct the assigner using the given cluster data and
distance function.
|
ExactDoubleAssigner(double[][] data,
DoubleFVComparator comparison)
Construct the assigner using the given cluster data and
distance function.
|