Class FeatureToWordHistogram_F64

All Implemented Interfaces:

public class FeatureToWordHistogram_F64
extends Object
implements FeatureToWordHistogram<TupleDesc_F64>

Creates a normalized histogram which represents the frequency of different visual words from the set of features. Both hard and soft assignment can be used. For hard assignment all the weight is given to the word which is the best fit to the feature. In soft the relative similarity between the words is used to assign values to the histogram.

With hard assignment a single word is selected. With soft a fraction is assigned to each word based on a distance metric. See AssignCluster for the details.