public interface Aggregator
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
FIELD_NAME_BOVW |
static java.lang.String |
FIELD_NAME_VLAD |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createVectorRepresentation(java.util.List<? extends LocalFeature> listOfLocalFeatures,
Cluster[] clustersArray)
This method is used to create the vector representation of an image using the list of Features and a codebook
|
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.
|
static final java.lang.String FIELD_NAME_BOVW
static final java.lang.String FIELD_NAME_VLAD
void createVectorRepresentation(java.util.List<? extends LocalFeature> listOfLocalFeatures, Cluster[] clustersArray)
listOfLocalFeatures - is the list of features.clustersArray - is the codebook.byte[] getByteVectorRepresentation()
java.lang.String getStringVectorRepresentation()
double[] getVectorRepresentation()
java.lang.String getFieldName()