protected class SnakeHelperOperators.ImageMaker extends MTBOperator
| Modifier and Type | Field and Description |
|---|---|
private 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.
|
| Constructor and Description |
|---|
ImageMaker(MTBSnake input,
int imgType,
int w,
int h,
String f,
MTBImage img)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected MTBImage |
getResultImage()
Returns the generated image.
|
protected void |
operate() |
readResolveaddOperatorExecutionProgressEventListener, 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="inSnake",
direction=IN,
required=true,
description="Input snake.")
private MTBSnake inSnake
@Parameter(label="outImage",
direction=OUT,
description="Output image.")
private MTBImage outImage
@Parameter(label="imWidth",
direction=IN,
required=true,
description="Width of the image.")
private int iWidth
@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="filename",
direction=IN,
required=false,
description="File where to save the image.")
private String file
@Parameter(label="inImage",
direction=IN,
required=false,
description="Optional input image.")
private MTBImage inImage
ImageMaker(MTBSnake input, int imgType, int w, int h, 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.ALDOperatorExceptionprotected void operate()
throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException,
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
operate in class de.unihalle.informatik.Alida.operator.ALDOperatorde.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionde.unihalle.informatik.Alida.exceptions.ALDProcessingDAGExceptionprotected MTBImage getResultImage()
Copyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.