public class ShapemeAggregator extends AbstractAggregator
FIELD_NAME_BOVW, FIELD_NAME_VLAD| 构造器和说明 |
|---|
ShapemeAggregator() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createVectorRepresentation(java.util.List<? extends LocalFeature> list,
Cluster[] clusters)
This method is used to create the vector representation of an image using the list of Features and a codebook
|
void |
createVisualWords(java.util.List<? extends LocalFeature> list,
Cluster[] clusters) |
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 createVisualWords(java.util.List<? extends LocalFeature> list, Cluster[] clusters)
public void createVectorRepresentation(java.util.List<? extends LocalFeature> list, Cluster[] clusters)
Aggregatorlist - is the list of features.clusters - is the codebook.public byte[] getByteVectorRepresentation()
Aggregatorpublic java.lang.String getStringVectorRepresentation()
Aggregatorpublic double[] getVectorRepresentation()
Aggregatorpublic java.lang.String getFieldName()
Aggregatorpublic java.lang.String toString()
toString 在类中 java.lang.Object