@ALDAOperator(genericExecutionMode=ALL, level=APPLICATION, allowBatchMode=true) public class PlastidDetector2DParticlesUWT extends MTBOperator
Modifier and Type | Field and Description |
---|---|
private MTBImage |
inImg
Gray-scale input image.
|
protected ParticleDetectorUWT2D |
particleOp
Particle detector object.
|
private MTBRegion2DSet |
plastidRegions
Set of detected plastid regions with stromuli.
|
private MTBImageShort |
resultLabelImage
Label image of detected plastid regions with stromuli.
|
Constructor and Description |
---|
PlastidDetector2DParticlesUWT()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
MTBRegion2DSet |
getPlastidRegions()
Access detected plastid regions.
|
protected void |
operate() |
void |
setDetector(ParticleDetectorUWT2D pd)
Specify particle detector to apply.
|
void |
setInputImage(MTBImage image)
Specify input image to process.
|
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 MTBImage inImg
@Parameter(label="Particle detector", required=false, direction=IN, mode=STANDARD, dataIOOrder=2, description="Detector.") protected ParticleDetectorUWT2D particleOp
@Parameter(label="Plastid Regions", dataIOOrder=1, direction=OUT, description="Resulting plastid region set.") private MTBRegion2DSet plastidRegions
@Parameter(label="Result Label Image", dataIOOrder=2, direction=OUT, description="Label image of detected plastids with stromuli.") private MTBImageShort resultLabelImage
public PlastidDetector2DParticlesUWT() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of operate failure.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
public void setInputImage(MTBImage image)
image
- Image to process.public void setDetector(ParticleDetectorUWT2D pd)
pd
- Particle detector object.public MTBRegion2DSet getPlastidRegions()
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.