adams.data.conversion
Class BufferedImageToHeatmap
java.lang.Object
adams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.conversion.AbstractConversion
adams.data.conversion.BufferedImageToHeatmap
- All Implemented Interfaces:
- CleanUpHandler, Debuggable, Destroyable, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<AbstractConversion>, SizeOfHandler, Stoppable, Conversion, Serializable
public class BufferedImageToHeatmap
- extends AbstractConversion
Turns a class java.awt.image.BufferedImage into a heatmap.
Simply uses the RGB value as heatmap value.
Valid options are:
-D <int> (property: debugLevel)
The greater the number the more additional info the scheme may output to
the console (0 = off).
default: 0
minimum: 0
- Version:
- $Revision: 6031 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
| Methods inherited from class adams.data.conversion.AbstractConversion |
checkData, cleanUp, convert, getInput, getOutput, getOwner, getQuickInfo, reset, setInput, setOwner, shallowCopy, shallowCopy, stopExecution |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debug, debugLevelTipText, defineOptions, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
BufferedImageToHeatmap
public BufferedImageToHeatmap()
globalInfo
public String globalInfo()
- Returns a string describing the object.
- Specified by:
globalInfo in class AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
accepts
public Class accepts()
- Returns the class that is accepted as input.
- Specified by:
accepts in interface Conversion- Specified by:
accepts in class AbstractConversion
- Returns:
- the class
generates
public Class generates()
- Returns the class that is generated as output.
- Specified by:
generates in interface Conversion- Specified by:
generates in class AbstractConversion
- Returns:
- the class
doConvert
protected Object doConvert()
throws Exception
- Performs the actual conversion.
- Specified by:
doConvert in class AbstractConversion
- Returns:
- the converted data
- Throws:
Exception - if something goes wrong with the conversion
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.