@ALDAOperator(genericExecutionMode=ALL, level=STANDARD) public class HDomeTransform3D extends MTBOperator
Modifier and Type | Field and Description |
---|---|
private Double |
h |
private MTBImage |
inputImage |
private MTBImage |
resultImage |
Constructor and Description |
---|
HDomeTransform3D()
Constructor
|
HDomeTransform3D(MTBImage img,
double h)
Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
getH()
Get current h-parameter (max height of the h-domes).
|
MTBImage |
getInputImage()
Get reference to the current input image.
|
MTBImage |
getResultImage()
Get the resulting h-dome image.
|
protected void |
hybridGrayscaleReconstruct(MTBImage mask,
MTBImage marker)
Implements the fast hybrid grayscale reconstruction algo of [Vincent93].
|
protected void |
operate() |
void |
setH(double h)
Set current h-parameter (max height of the h-domes).
|
void |
setInputImage(MTBImage img)
Set input image
|
protected void |
setResultImage(MTBImage resultImage)
Set the result image.
|
protected MTBImage |
transform(MTBImage img,
double h)
Compute the h-dome transform
|
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="h", required=true, direction=IN, mode=STANDARD, dataIOOrder=2, description="Dome height parameter") private Double h
@Parameter(label="inputImage", required=true, direction=IN, mode=STANDARD, dataIOOrder=1, description="Input image") private MTBImage inputImage
@Parameter(label="resultImage", required=true, direction=OUT, mode=STANDARD, dataIOOrder=1, description="Result image") private MTBImage resultImage
public HDomeTransform3D() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public HDomeTransform3D(MTBImage img, double h) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
img
- input imageh
- max size of h-domesde.unihalle.informatik.Alida.exceptions.ALDOperatorException
public MTBImage getInputImage()
public void setInputImage(MTBImage img)
public double getH()
public void setH(double h)
public MTBImage getResultImage()
protected void setResultImage(MTBImage resultImage)
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
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 MTBImage transform(MTBImage img, double h)
img
- input imageh
- max height of h-domesprotected void hybridGrayscaleReconstruct(MTBImage mask, MTBImage marker)
mask
- marker
- Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.