Package | Description |
---|---|
org.openimaj.feature | |
org.openimaj.knn |
Modifier and Type | Class and Description |
---|---|
class |
ByteFVComparison
Comparison/distance methods for ByteFV objects.
|
Modifier and Type | Field and Description |
---|---|
protected ByteFVComparator |
ByteNearestNeighboursExact.distance |
Modifier and Type | Method and Description |
---|---|
static float |
ByteNearestNeighbours.distanceFunc(ByteFVComparator distance,
byte[] qu,
byte[] pnt)
Static method to find a distance between
a query vector and a point.
|
static void |
ByteNearestNeighbours.distanceFunc(ByteFVComparator distance,
byte[] qu,
byte[][] pnts,
float[] dsq_out)
Static method to find a distance between
a query vector and each of a set of points.
|
Constructor and Description |
---|
ByteNearestNeighboursExact.Factory(ByteFVComparator distance)
Construct the factory with the given distance function
for the produced ByteNearestNeighbours instances.
|
ByteNearestNeighboursExact(byte[][] pnts,
ByteFVComparator distance)
Construct the ByteNearestNeighboursExact over the provided
dataset with the given distance function.
|