at.tuwien.ifs.somtoolbox.apps.server
Class LabelImageCreator
java.lang.Object
at.tuwien.ifs.somtoolbox.apps.server.LabelImageCreator
public class LabelImageCreator
- extends java.lang.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
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
writeImages(java.lang.String labelFileName,
java.lang.String outputDirectory)
Creates and writes the label images. |
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(java.lang.String[] args)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException,
SOMToolboxException
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
SOMToolboxException
writeImages
public void writeImages(java.lang.String labelFileName,
java.lang.String outputDirectory)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.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:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
SOMToolboxException