|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.logging.AbstractLoggable 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.
Field Summary | |
---|---|
static OptionID |
COLORHIST_ID
Option id to use for computing the histogram. |
private ObjectParameter<ComputeColorHistogram> |
COLORHIST_PARAM
Class parameter for computing the color histogram. |
private ComputeColorHistogram |
histogrammaker
Class that will compute the actual histogram |
static OptionID |
INPUT_ID
OptionID for INPUT_PARAM |
private FileParameter |
INPUT_PARAM
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 |
---|
config, INFORMATION, STATIC_LOGGER |
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debug, logger |
Constructor Summary | |
---|---|
ComputeSingleColorHistogram(Parameterization config)
Constructor, adhering to Parameterizable |
Method Summary | |
---|---|
static void |
main(String[] args)
Main method to run this wrapper. |
void |
run()
Runs the application. |
Methods inherited from class de.lmu.ifi.dbs.elki.application.AbstractApplication |
---|
isVerbose, printErrorMessage, runCLIApplication, usage |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning |
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
COLORHIST_PARAM
private ObjectParameter<ComputeColorHistogram> COLORHIST_PARAM
Key: -colorhist.generator
public static final OptionID INPUT_ID
INPUT_PARAM
private final FileParameter INPUT_PARAM
Key: -app.in
private ComputeColorHistogram histogrammaker
private File inputFile
Constructor Detail |
---|
public ComputeSingleColorHistogram(Parameterization config)
Parameterizable
config
- ParameterizationMethod 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 wrapper
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |