at.tuwien.ifs.somtoolbox.apps.server
Class LabelImageCreator
java.lang.Object
at.tuwien.ifs.somtoolbox.apps.server.LabelImageCreator
public class LabelImageCreator
- extends Object
Utility class to create images of labels, which can be used to overlay a visualisation
- Version:
- $Id: LabelImageCreator.java 3589 2010-05-21 10:42:01Z mayer $
- Author:
- Rudolf Mayer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CELL_SIZE_VIEWER
private static final int CELL_SIZE_VIEWER
- See Also:
- Constant Field Values
CELL_SIZE_SERVER
private static final int CELL_SIZE_SERVER
- See Also:
- Constant Field Values
SCALE
private static final double SCALE
- See Also:
- Constant Field Values
LabelImageCreator
public LabelImageCreator()
main
public static void main(String[] args)
throws ParserConfigurationException,
SAXException,
IOException,
SOMToolboxException
- Throws:
ParserConfigurationException
SAXException
IOException
SOMToolboxException
writeImages
public void writeImages(String labelFileName,
String outputDirectory)
throws ParserConfigurationException,
SAXException,
IOException,
SOMToolboxException
- Creates and writes the label images.
- Parameters:
labelFileName
- the file containing the XML descriptions of the labels.outputDirectory
- the directory to write to. Existing files with the same name will be overwritten.
- Throws:
ParserConfigurationException
SAXException
IOException
SOMToolboxException