public class LabelImageCreator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
CELL_SIZE_SERVER |
private static int |
CELL_SIZE_VIEWER |
private static double |
SCALE |
Constructor and Description |
---|
LabelImageCreator() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
void |
writeImages(java.lang.String labelFileName,
java.lang.String outputDirectory)
Creates and writes the label images.
|
private static final int CELL_SIZE_VIEWER
private static final int CELL_SIZE_SERVER
private static final double SCALE
public static void main(java.lang.String[] args) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException, SOMToolboxException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
SOMToolboxException
public void writeImages(java.lang.String labelFileName, java.lang.String outputDirectory) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException, SOMToolboxException
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.javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
SOMToolboxException