experimental_data_creation
Class FeatureFilteringVocData

java.lang.Object
  extended by experimental_data_creation.FeatureFilteringVocData

public class FeatureFilteringVocData
extends java.lang.Object

This class can be used to generate the datasets of the feature filtering based on feature-vocabulary relation experiment.

Author:
Eleftherios Spyromitros-Xioufis

Field Summary
static int descriptorLength
           
static int numCentroids
          The number of centroids in the supplied codebooks.
 
Constructor Summary
FeatureFilteringVocData()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numCentroids

public static final int numCentroids
The number of centroids in the supplied codebooks.

See Also:
Constant Field Values

descriptorLength

public static final int descriptorLength
See Also:
Constant Field Values
Constructor Detail

FeatureFilteringVocData

public FeatureFilteringVocData()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Parameters:
args - [0] Full path to the folder that contains the raw SURF feature files in text or binary format.
args - [1] Full path to the folder where the BDB store will be created.
args - [2] Full path to a codebook file with 64 centroids learned using L2-normalized SURF features.
args - [3] Percentage of features to be retained (valid percentages are: 0.85, 0.90, 0.95).
args - [4] Filtering method to be applied (dist/ratio/std).

Additional parameters used when the dist filtering method is selected.

args - [5] Full path to the file containing the thresholds for each centroid and percentile for the dist method.
Throws:
java.lang.Exception