@ALDAOperator(genericExecutionMode=ALL) public class ImageToTilesSplitter extends MTBOperator
Modifier and Type | Field and Description |
---|---|
private MTBImage |
image
Image to split.
|
private de.unihalle.informatik.Alida.datatypes.ALDFileString |
imgFile
File from where to load the image to split.
|
private de.unihalle.informatik.Alida.datatypes.ALDFileString |
outputPath
Path where to save the tile files.
|
private int |
tileSizeX
Size of tiles in x dimension.
|
private int |
tileSizeY
Size of tiles in y dimension.
|
Constructor and Description |
---|
ImageToTilesSplitter()
Empty constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
operate() |
void |
validateCustom() |
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, validateGeneric, writeHistory, writeHistory, writeHistory
@Parameter(label="Image", required=false, direction=IN, mode=STANDARD, dataIOOrder=1, description="Input image.") private MTBImage image
@Parameter(label="File name", required=false, direction=IN, mode=STANDARD, dataIOOrder=2, description="Input file.") private de.unihalle.informatik.Alida.datatypes.ALDFileString imgFile
@Parameter(label="SizeX", required=true, direction=IN, mode=STANDARD, dataIOOrder=3, description="Tile size in x.") private int tileSizeX
@Parameter(label="SizeY", required=true, direction=IN, mode=STANDARD, dataIOOrder=4, description="Tile size in y.") private int tileSizeY
@Parameter(label="Output path", required=true, direction=IN, mode=STANDARD, dataIOOrder=5, description="Path/filename where to save tiles.") private de.unihalle.informatik.Alida.datatypes.ALDFileString outputPath
public ImageToTilesSplitter() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public void validateCustom() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
validateCustom
in class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
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
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.