vector_aggregation
Enum VladAggregatorWithFiltering.FilteringMethod

java.lang.Object
  extended by java.lang.Enum<VladAggregatorWithFiltering.FilteringMethod>
      extended by vector_aggregation.VladAggregatorWithFiltering.FilteringMethod
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VladAggregatorWithFiltering.FilteringMethod>
Enclosing class:
VladAggregatorWithFiltering

public static enum VladAggregatorWithFiltering.FilteringMethod
extends java.lang.Enum<VladAggregatorWithFiltering.FilteringMethod>

The alternative methods for feature filtering based on feature-vocabulary relation.


Enum Constant Summary
distribution
          The method described in: D.
ratio
          Retains only features whose distance from the closest visual word is at least b times smaller than their distance from the second closest visual word.
std
          Retains only features whose distance from the closest visual word is at least a standard deviations smaller than the mean distance of this feature from all visual words.
 
Method Summary
static VladAggregatorWithFiltering.FilteringMethod valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VladAggregatorWithFiltering.FilteringMethod[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

std

public static final VladAggregatorWithFiltering.FilteringMethod std
Retains only features whose distance from the closest visual word is at least a standard deviations smaller than the mean distance of this feature from all visual words.


ratio

public static final VladAggregatorWithFiltering.FilteringMethod ratio
Retains only features whose distance from the closest visual word is at least b times smaller than their distance from the second closest visual word.


distribution

public static final VladAggregatorWithFiltering.FilteringMethod distribution
The method described in:
 D. Chen, S. Tsai, V. Chandrasekhar, G. Takacs, H. Chen, R. Vedantham, R. Grzeszczuk, and B. Girod, “Residual enhanced
 visual vectors for on-device image matching,” in IEEE Asilomar Conference on Signals, Systems, and Computers, 2011,
 pp. 850–854.
 

Method Detail

values

public static VladAggregatorWithFiltering.FilteringMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (VladAggregatorWithFiltering.FilteringMethod c : VladAggregatorWithFiltering.FilteringMethod.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VladAggregatorWithFiltering.FilteringMethod valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null