| Package | Description |
|---|---|
| org.openimaj.feature | |
| org.openimaj.image.segmentation | |
| org.openimaj.knn | |
| org.openimaj.ml.clustering.assignment.hard |
| Modifier and Type | Class and Description |
|---|---|
class |
FloatFVComparison
Comparison/distance methods for FloatFV objects.
|
| Constructor and Description |
|---|
KMColourSegmenter(ColourSpace colourSpace,
float[] scaling,
int K,
FloatFVComparator distance)
Construct using the given colour space, number of segments, and distance
measure.
|
KMColourSegmenter(ColourSpace colourSpace,
float[] scaling,
int K,
FloatFVComparator distance,
int maxIters)
Construct using the given colour space, number of segments, and distance
measure.
|
KMColourSegmenter(ColourSpace colourSpace,
int K,
FloatFVComparator distance)
Construct using the given colour space, number of segments, and distance
measure.
|
KMSpatialColourSegmenter(ColourSpace colourSpace,
float[] scaling,
int K,
FloatFVComparator distance)
Construct using the given colour space, number of segments, and distance
measure.
|
KMSpatialColourSegmenter(ColourSpace colourSpace,
float[] scaling,
int K,
FloatFVComparator distance,
int maxIters)
Construct using the given colour space, number of segments, and distance
measure.
|
KMSpatialColourSegmenter(ColourSpace colourSpace,
int K,
FloatFVComparator distance)
Construct using the given colour space, number of segments, and distance
measure.
|
| Modifier and Type | Field and Description |
|---|---|
protected FloatFVComparator |
FloatNearestNeighboursExact.distance |
| Modifier and Type | Method and Description |
|---|---|
FloatFVComparator |
FloatNearestNeighboursExact.distanceComparator()
Get the distance comparator
|
| Modifier and Type | Method and Description |
|---|---|
static float |
FloatNearestNeighbours.distanceFunc(FloatFVComparator distance,
float[] qu,
float[] pnt)
Static method to find a distance between
a query vector and a point.
|
static void |
FloatNearestNeighbours.distanceFunc(FloatFVComparator distance,
float[] qu,
float[][] pnts,
float[] dsq_out)
Static method to find a distance between
a query vector and each of a set of points.
|
| Constructor and Description |
|---|
Factory(FloatFVComparator distance)
Construct the factory with the given distance function
for the produced FloatNearestNeighbours instances.
|
FloatNearestNeighboursExact(float[][] pnts,
FloatFVComparator distance)
Construct the FloatNearestNeighboursExact over the provided
dataset with the given distance function.
|
| Constructor and Description |
|---|
ExactFloatAssigner(CentroidsProvider<float[]> provider,
FloatFVComparator comparison)
Construct the assigner using the given cluster data and
distance function.
|
ExactFloatAssigner(float[][] data,
FloatFVComparator comparison)
Construct the assigner using the given cluster data and
distance function.
|