|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.MiToBo.core.operator.MTBOperator
de.unihalle.informatik.MiToBo.core.imageJ.RoiManagerAdapter.RoiReader
private static class RoiManagerAdapter.RoiReader
Class for parsing ImageJ roi files and zip archives.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
de.unihalle.informatik.Alida.operator.ALDOperator.HidingMode |
Field Summary | |
---|---|
private boolean |
asSnakes
Flag to either return snakes or polygons. |
private MTBStringData |
inFile
Input file name. |
private MTBPolygon2DSet |
polys
Result polygon set. |
private java.util.Hashtable<java.lang.String,ij.gui.Roi> |
roitable
Helper hash table. |
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
completeDAG, name, portHashAccess, verbose, versionProvider |
Constructor Summary | |
---|---|
RoiManagerAdapter.RoiReader(java.lang.String infile,
boolean _asSnakes)
Default constructor. |
Method Summary | |
---|---|
MTBPolygon2DSet |
getPolySet()
Get the polygon set. |
private java.lang.String |
getUniqueName(java.lang.String ename)
Generates a unique name for a new roi in the manager. |
private void |
openRoiManagerFile(java.lang.String path)
|
protected void |
operate()
|
Methods inherited from class de.unihalle.informatik.MiToBo.core.operator.MTBOperator |
---|
readResolve |
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
deserializeFromXmlFile, fieldContained, getALDPortHashAccessKey, getConstructionMode, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterNames, getSupplementalNames, getVerbose, getVersion, isConfigured, parametersToXmlObject, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, runOp, runOp, runOp, serializeToXmlFile, setConstructionMode, setName, setParameter, setParametersFromXml, setParametersFromXml, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory, writeParametersToXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Parameter(label="asSnakes", required=false, direction=IN, supplemental=false, description="If true, snakes are returned, otherwise polygons.") private boolean asSnakes
@Parameter(label="inFile", required=true, direction=IN, supplemental=false, description="Input ROI file.") private MTBStringData inFile
@Parameter(label="snakeSet", supplemental=false, direction=OUT, description="Output set of snakes") private MTBPolygon2DSet polys
private java.util.Hashtable<java.lang.String,ij.gui.Roi> roitable
Constructor Detail |
---|
public RoiManagerAdapter.RoiReader(java.lang.String infile, boolean _asSnakes) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
infile
- Input filename.roi
- Flag for indicating if file contains ImageJ roi's.
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail |
---|
public MTBPolygon2DSet getPolySet()
private java.lang.String getUniqueName(java.lang.String ename)
ename
- Roi to rename for uniqueness.
private void openRoiManagerFile(java.lang.String path)
protected void operate() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |