|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.application.AbstractApplication de.lmu.ifi.dbs.elki.application.ComputeSingleColorHistogram
public class ComputeSingleColorHistogram
Application that computes the color histogram vector for a single image.
Nested Class Summary | |
---|---|
static class |
ComputeSingleColorHistogram.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
static OptionID |
COLORHIST_ID
Class parameter for computing the color histogram. |
private ComputeColorHistogram |
histogrammaker
Class that will compute the actual histogram |
static OptionID |
INPUT_ID
Parameter that specifies the name of the input file. |
private File |
inputFile
Input file. |
Fields inherited from class de.lmu.ifi.dbs.elki.application.AbstractApplication |
---|
INFORMATION, OUTPUT_ID, STATIC_LOGGER |
Constructor Summary | |
---|---|
ComputeSingleColorHistogram(boolean verbose,
ComputeColorHistogram histogrammaker,
File inputFile)
Constructor. |
Method Summary | |
---|---|
static void |
main(String[] args)
Main method to run this application. |
void |
run()
Runs the application. |
Methods inherited from class de.lmu.ifi.dbs.elki.application.AbstractApplication |
---|
isVerbose, printErrorMessage, runCLIApplication, usage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static OptionID COLORHIST_ID
Key: -colorhist.generator
public static final OptionID INPUT_ID
Key: -colorhist.in
private ComputeColorHistogram histogrammaker
private File inputFile
Constructor Detail |
---|
public ComputeSingleColorHistogram(boolean verbose, ComputeColorHistogram histogrammaker, File inputFile)
verbose
- Verbose flaghistogrammaker
- Class to compute histograms withinputFile
- Input fileMethod Detail |
---|
public void run() throws UnableToComplyException
AbstractApplication
run
in class AbstractApplication
UnableToComplyException
- if
an error occurs during running the applicationpublic static void main(String[] args)
args
- the arguments to run this application
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |