@ALDAOperator(genericExecutionMode=ALL, level=APPLICATION, allowBatchMode=true) public class WatershedBinary extends MTBOperator
This operator implements the watershed transformation on binary images. It is based on ImageJ's watershed implementation (menu item Process -> Binary -> Watershed). More details about how the algorithm works can be found in the corresponding section of ImageJ's User Guide.
Modifier and Type | Field and Description |
---|---|
private MTBImageByte |
inImg
Binary input image to segment.
|
private MTBImageByte |
resultImg
Segmented binary image.
|
Constructor and Description |
---|
WatershedBinary()
Default constructor.
|
WatershedBinary(MTBImageByte inimg)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MTBImageByte |
getResultImage()
Returns the result image.
|
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="Input Image", required=true, dataIOOrder=0, direction=IN, description="Input image.") private transient MTBImageByte inImg
@Parameter(label="Result Image", dataIOOrder=0, direction=OUT, description="Result image.") private transient MTBImageByte resultImg
public WatershedBinary() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.public WatershedBinary(MTBImageByte inimg) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
inimg
- Input image.de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.public MTBImageByte getResultImage()
protected void operate()
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.