experimental_data_creation
Class BestFeatureData

java.lang.Object
  extended by experimental_data_creation.BestFeatureData

public class BestFeatureData
extends java.lang.Object

This class can be used to generate the datasets of the best feature experiment.

Author:
Eleftherios Spyromitros-Xioufis

Field Summary
static int numCentroids
          The number of centroids in the supplied codebooks.
static double power
          The power in used in power-normalization of the local features.
 
Constructor Summary
BestFeatureData()
           
 
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

power

public static final double power
The power in used in power-normalization of the local features. The supplied codebooks should have been learned on features normalized using the same power.

See Also:
Constant Field Values

numCentroids

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

See Also:
Constant Field Values
Constructor Detail

BestFeatureData

public BestFeatureData()
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 feature files in text or binary format.
args - [1] Full path to the folder where the BDB stores will be created.
args - [2] The type of features (sift or surf).
args - [3] Full path to a codebook file with 64 centroids learned using L2-normalized features of the specified type.
args - [4] Full path to a codebook file with 64 centroids learned using Power+L2-normalized features of the specified type.
Throws:
java.lang.Exception