public class LabelImageCreator extends 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(String[] args) |
void |
writeImages(String labelFileName,
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(String[] args) throws ParserConfigurationException, SAXException, IOException, SOMToolboxException
public void writeImages(String labelFileName, String outputDirectory) throws ParserConfigurationException, SAXException, 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.ParserConfigurationException
SAXException
IOException
SOMToolboxException