codebook_generation
Class SampleLocalFeatures

java.lang.Object
  extended by codebook_generation.SampleLocalFeatures

public class SampleLocalFeatures
extends java.lang.Object

This class is used for creating samples of local features (in csv format) which can then be used for learning visual vocabularies. The local features of each image are stored in a separate file (binary files are currently not supported).

Author:
Eleftherios Spyromitros-Xioufis

Constructor Summary
SampleLocalFeatures()
           
 
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
 

Constructor Detail

SampleLocalFeatures

public SampleLocalFeatures()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Parameters:
args - [0] full path to the folder containing the local feature files (use backslashes).
args - [1] the target number of features to be retained (e.g. 100000).
args - [2] the extension of the feature files (.surf or .sift).
args - [3] the number of samples to produce (>=1).
Throws:
java.io.IOException