|
||||||||
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.segmentation.snakes.datatypes.SnakeHelperOperators.ImageMaker
protected class SnakeHelperOperators.ImageMaker
Operator class to draw snake to an image.
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 java.lang.String |
file
File name for optionally saving the image. |
private int |
iHeight
Height of the image to be generated. |
private int |
imType
Type of the image to be generated. |
private MTBImage |
inImage
Optional input image to be used for drawing. |
private MTBSnake |
inSnake
Input snake. |
private int |
iWidth
Width of the image to be generated. |
private MTBImage |
outImage
Output image. |
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
completeDAG, name, portHashAccess, verbose, versionProvider |
Constructor Summary | |
---|---|
SnakeHelperOperators.ImageMaker(MTBSnake input,
int imgType,
int w,
int h,
java.lang.String f,
MTBImage img)
Default constructor. |
Method Summary | |
---|---|
protected MTBImage |
getResultImage()
Returns the generated image. |
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="filename", direction=IN, required=false, description="File where to save the image.") private java.lang.String file
@Parameter(label="imHeight", direction=IN, required=true, description="Height of the image.") private int iHeight
@Parameter(label="imType", direction=IN, required=false, description="Type of the image.") private int imType
@Parameter(label="inImage", direction=IN, required=false, description="Optional input image.") private MTBImage inImage
@Parameter(label="inSnake", direction=IN, required=true, description="Input snake.") private MTBSnake inSnake
@Parameter(label="imWidth", direction=IN, required=true, description="Width of the image.") private int iWidth
@Parameter(label="outImage", direction=OUT, description="Output image.") private MTBImage outImage
Constructor Detail |
---|
SnakeHelperOperators.ImageMaker(MTBSnake input, int imgType, int w, int h, java.lang.String f, MTBImage img) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
input
- Input snake.imgType
- Type of output image.w
- Width of image.h
- Height of image.f
- Optional filename for saving.img
- Image where to draw into.
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail |
---|
protected MTBImage 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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |