public class VLAD extends AbstractAggregator
FIELD_NAME_BOVW, FIELD_NAME_VLAD| 构造器和说明 |
|---|
VLAD() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createVectorRepresentation(java.util.List<? extends LocalFeature> listOfLocalFeatures,
Cluster[] clustersArray)
Given a list of features and a codebook,
createVectorRepresentation(List, Cluster[]) aggregates
the features to create the vector representation according to the VLAD model. |
byte[] |
getByteVectorRepresentation()
Returns the vector representation in byte[] format.
|
java.lang.String |
getFieldName()
Returns the FieldName according to the selected aggregator.
|
java.lang.String |
getStringVectorRepresentation()
Returns the vector representation in string format.
|
double[] |
getVectorRepresentation()
Returns the vector representation in double[] format.
|
java.lang.String |
toString()
Returns the vector representation in string format.
|
clusterForFeaturepublic void createVectorRepresentation(java.util.List<? extends LocalFeature> listOfLocalFeatures, Cluster[] clustersArray)
createVectorRepresentation(List, Cluster[]) aggregates
the features to create the vector representation according to the VLAD model.listOfLocalFeatures - is the list of features.clustersArray - is the codebook.public byte[] getByteVectorRepresentation()
public java.lang.String getStringVectorRepresentation()
public double[] getVectorRepresentation()
public java.lang.String getFieldName()
Aggregatorpublic java.lang.String toString()
toString 在类中 java.lang.Object