@ALDAOperator(genericExecutionMode=ALL, level=APPLICATION, shortDescription="Routines for separating conglomerates of cell nuclei in 2D.") public class NucleusSeparator2D extends MTBOperator
Modifier and Type | Class and Description |
---|---|
static class |
NucleusSeparator2D.ResultImageMode
Display mode of the result image.
|
Modifier and Type | Field and Description |
---|---|
private MTBImage |
inputImg
Input image to be processed.
|
private MTBImage |
labelImg
Binary nuclei image to be processed.
|
private NucleusSeparator2DAlgos |
nucSepOp
Operation mode of the operator.
|
private NucleusSeparator2D.ResultImageMode |
resultDisplayMode
Mode of how to display result image.
|
private MTBImageShort |
resultImg
Result label image of separated nuclei.
|
Constructor and Description |
---|
NucleusSeparator2D()
Empty constructor.
|
NucleusSeparator2D(MTBImage label,
NucleusSeparator2DAlgos op)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDocumentation() |
MTBImageShort |
getResultImage()
Returns result image, i.e. the segmentation mask.
|
protected void |
operate() |
private void |
prepareResultImage(MTBImageShort labelImage)
Prepare visualization of result.
|
void |
setInputGrayScaleImage(MTBImage img)
Specify input gray-scale image.
|
void |
setInputLabelImage(MTBImage img)
Specify label input image.
|
readResolve
addOperatorExecutionProgressEventListener, addParameter, addParameter, addParameterUnconditioned, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, 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="Greyscale Input Image", required=true, direction=IN, dataIOOrder=-21, mode=STANDARD, description="Greyscale input image to be analyzed.") private transient MTBImage inputImg
@Parameter(label="Label Input image", required=true, mode=STANDARD, dataIOOrder=-20, direction=IN, description="Label input image.") private transient MTBImage labelImg
@Parameter(label="Result image", direction=OUT, description="Label image of separated nuclei.") private transient MTBImageShort resultImg
@Parameter(label="Operator Mode", required=true, mode=STANDARD, direction=IN, description="Operator separation mode.") private NucleusSeparator2DAlgos nucSepOp
@Parameter(label="Result image display mode", required=false, mode=STANDARD, direction=IN, supplemental=true, description="Mode how result image is displayed.") private NucleusSeparator2D.ResultImageMode resultDisplayMode
public NucleusSeparator2D() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public NucleusSeparator2D(MTBImage label, NucleusSeparator2DAlgos op) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
label
- Label image to be processed.mode
- Operator mode to be applied.de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public void setInputLabelImage(MTBImage img)
public void setInputGrayScaleImage(MTBImage img)
public MTBImageShort getResultImage()
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
private void prepareResultImage(MTBImageShort labelImage)
public String getDocumentation()
getDocumentation
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.