protected class SnakeHelperOperators.RegionImageConverter extends MTBOperator
Modifier and Type | Field and Description |
---|---|
private MTBImage |
inImg
Input image.
|
private MTBPolygon2DSet |
outSnakes
Result snakes.
|
private MTBImageRGB |
resultImg
Result image displaying the snakes as overlay.
|
Constructor and Description |
---|
RegionImageConverter(MTBImage img)
Default constructor with parameters.
|
Modifier and Type | Method and Description |
---|---|
protected MTBImageRGB |
getResultImage()
Returns image with plotted snakes.
|
protected MTBPolygon2DSet |
getResultSnakes()
Returns resulting snake objects.
|
protected void |
operate() |
readResolve
addOperatorExecutionProgressEventListener, addParameter, addParameter, addParameterUnconditioned, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getDocumentation, getHidingMode, getInactiveParameterNames, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterDescriptorUnconditioned, getParameterNames, getParameterUnconditioned, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, hasInOutParameters, hasParameter, isAnnotatedParameter, isConfigured, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory
@Parameter(label="inImg", direction=IN, required=true, description="Input image.") private MTBImage inImg
@Parameter(label="outSnakes", direction=OUT, description="Output snakes.") private MTBPolygon2DSet outSnakes
@Parameter(label="resultImg", direction=OUT, description="(Optional) result image") private MTBImageRGB resultImg
RegionImageConverter(MTBImage img) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
img
- Input image.de.unihalle.informatik.Alida.exceptions.ALDOperatorException
protected MTBPolygon2DSet getResultSnakes()
protected MTBImageRGB getResultImage()
protected void operate() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.