de.unihalle.informatik.MiToBo.segmentation.snakes.datatypes
Class SnakeHelperOperators.ContourConverter

java.lang.Object
  extended by de.unihalle.informatik.Alida.operator.ALDOperator
      extended by de.unihalle.informatik.MiToBo.core.operator.MTBOperator
          extended by de.unihalle.informatik.MiToBo.segmentation.snakes.datatypes.SnakeHelperOperators.ContourConverter
All Implemented Interfaces:
de.unihalle.informatik.Alida.datatypes.ALDConfigurationValidator
Enclosing class:
SnakeHelperOperators

protected class SnakeHelperOperators.ContourConverter
extends MTBOperator

Operator class to convert a contour into a snake.

Author:
moeller

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  MTBContour2D inContour
          Input contour.
private  MTBSnake outSnake
          Result snake.
 
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
completeDAG, name, portHashAccess, verbose, versionProvider
 
Constructor Summary
SnakeHelperOperators.ContourConverter(MTBContour2D cont)
          Default constructor.
 
Method Summary
protected  MTBSnake getResultSnake()
          Returns resulting snake object.
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

inContour

@Parameter(label="inContour",
           direction=IN,
           required=true,
           description="Input contour.")
private MTBContour2D inContour
Input contour.


outSnake

@Parameter(label="outSnake",
           direction=OUT,
           description="Output snake.")
private MTBSnake outSnake
Result snake.

Constructor Detail

SnakeHelperOperators.ContourConverter

SnakeHelperOperators.ContourConverter(MTBContour2D cont)
                                throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Default constructor.

Parameters:
cont - Incoming contour.
Throws:
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail

getResultSnake

protected MTBSnake getResultSnake()
Returns resulting snake object.


operate

protected void operate()
Specified by:
operate in class de.unihalle.informatik.Alida.operator.ALDOperator