Class BatchDistanceNearestNeighborsCombined
java.lang.Object
cz.fidentis.analyst.engines.face.batch.distance.impl.BatchIndirectDistanceImpl
cz.fidentis.analyst.engines.face.batch.distance.impl.BatchDistanceNearestNeighbors
cz.fidentis.analyst.engines.face.batch.distance.impl.BatchDistanceNearestNeighborsCombined
- All Implemented Interfaces:
BatchDistance
,BatchIndirectDistance
A class that computes similarity of a set of faces by computing
the distance of faces to an average (gauge) face and then combining these values
to get mutual similarity for all pairs. Euclidean distance to nearest neighbors
is used as the distance metric.
The computation is accelerated by using multiple CPU cores concurrently.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
TO DONested classes/interfaces inherited from class cz.fidentis.analyst.engines.face.batch.distance.impl.BatchDistanceNearestNeighbors
BatchDistanceNearestNeighbors.DistCache<T>
-
Constructor Summary
ConstructorsConstructorDescriptionBatchDistanceNearestNeighborsCombined
(HumanFace gaugeFace, int numFaces) Constructor. -
Method Summary
Methods inherited from class cz.fidentis.analyst.engines.face.batch.distance.impl.BatchDistanceNearestNeighbors
addToMeasurement
Methods inherited from class cz.fidentis.analyst.engines.face.batch.distance.impl.BatchIndirectDistanceImpl
getDistCache, getDistDeviations, getDistSimilarities, getGaugeFace, measure, setDistDeviation, setDistSimilarity
-
Constructor Details
-
BatchDistanceNearestNeighborsCombined
Constructor.- Parameters:
gaugeFace
- A face serving as a "gauge". It is usually an average face of a set of faces.numFaces
- The number of faces to be measured (excluding the gauge face)
-