Class ROIStreamTokenizer
java.lang.Object
java.io.StreamTokenizer
com.xinapse.multisliceimage.roi.ROIStreamTokenizer
An ROIStreamTokenizer used to parse ROIs from an input stream. The ROIs can either be
Xinapse-type ROIs, or dispim-type ROIs. Xinapse-style ROIs can be read using this
Tokenizer in two modes:
- Normal mode.
- Clinical trials mode.
Begin Checksum NNNNNNNN End Checksumwhere
NNNNNNNN is the value of the checksum.
In normal mode, the checksum, if found, is ignored.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe token written to show the ROI annotation.static final StringThe token written to show the ROI area.static final StringThe token written to show the ROI colour.static final StringThe token written to show the ROI intensity "deviation" in "standard deviation".static final StringThe token written to show the ROI length (for linear ROIs).static final StringThe token written to show the ROI maximum intensity.static final StringThe token written to show the ROI mean intensity.static final StringThe token written to show the ROI intensity median.static final StringThe token written to show the ROI minimum intensity.static final StringThe token written to show the image slice.static final StringThe token written to show the ROI intensity "standard" in "standard deviation". -
Method Summary
Methods inherited from class StreamTokenizer
commentChar, eolIsSignificant, lineno, lowerCaseMode, nextToken, ordinaryChar, ordinaryChars, parseNumbers, pushBack, quoteChar, resetSyntax, slashSlashComments, slashStarComments, toString, whitespaceChars, wordChars
-
Field Details
-
SLICETOKEN
-
ANNOTATIONTOKEN
-
COLOURTOKEN
-
AREATOKEN
-
MEANTOKEN
-
STDTOKEN
The token written to show the ROI intensity "standard" in "standard deviation".- See Also:
-
DEVTOKEN
The token written to show the ROI intensity "deviation" in "standard deviation".- See Also:
-
MEDIANTOKEN
The token written to show the ROI intensity median.- See Also:
-
MINTOKEN
-
MAXTOKEN
-
LENGTHTOKEN
The token written to show the ROI length (for linear ROIs).- See Also:
-
-
Method Details
-
main
Runs the self-test for the ROIStreamTokenizer class.- Parameters:
args- are ignored.
-