public abstract class CellSegmenter extends MTBOperator
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
channel |
protected MTBImage |
inImg |
protected Integer |
minSeedSize |
protected MTBImage |
resultImg |
protected MTBImage |
seedImg |
protected int |
sizeC |
protected int |
sizeT |
protected int |
sizeX |
protected int |
sizeY |
protected int |
sizeZ |
| Modifier | Constructor and Description |
|---|---|
protected |
CellSegmenter() |
|
CellSegmenter(MTBImage inImg) |
| Modifier and Type | Method and Description |
|---|---|
MTBImage |
getResultImage() |
protected abstract MTBImage |
getSeedPoints(MTBImage frame)
coarse segementation of input frame to localize cells
|
protected void |
operate() |
protected abstract MTBImage |
preprocess(MTBImage frame) |
protected abstract MTBImage |
segment(MTBImage frame,
MTBImage seedFrame)
segment cells in a single frame of the input image
|
void |
setChannel(int channel) |
void |
setMinSeedSize(int minSize) |
void |
setSeedPointImage(MTBImage seedImg) |
void |
validateCustom() |
protected void |
verbosePrintln(String s)
prints the given text if the verbose flag is set
|
readResolveaddOperatorExecutionProgressEventListener, 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="input image",
required=true,
direction=IN,
supplemental=false,
description="input image")
protected transient MTBImage inImg
@Parameter(label="channel",
required=false,
direction=IN,
supplemental=false,
description="channel used for segmentation")
protected Integer channel
@Parameter(label="seed image",
required=false,
direction=IN,
supplemental=false,
description="seed point image")
protected transient MTBImage seedImg
@Parameter(label="minimum seed size",
required=false,
direction=IN,
supplemental=false,
description="minimum size for seeds to be not discarded")
protected Integer minSeedSize
@Parameter(label="result image",
required=true,
direction=OUT,
supplemental=false,
description="resulting image")
protected transient MTBImage resultImg
protected int sizeX
protected int sizeY
protected int sizeZ
protected int sizeT
protected int sizeC
protected CellSegmenter()
throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionpublic CellSegmenter(MTBImage inImg) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionpublic void validateCustom()
throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
validateCustom in class de.unihalle.informatik.Alida.operator.ALDOperatorde.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionprotected void operate()
throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException,
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
operate in class de.unihalle.informatik.Alida.operator.ALDOperatorde.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionde.unihalle.informatik.Alida.exceptions.ALDProcessingDAGExceptionprotected abstract MTBImage segment(MTBImage frame, MTBImage seedFrame) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
frame - input frameseedFrame - de.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionde.unihalle.informatik.Alida.exceptions.ALDProcessingDAGExceptionprotected abstract MTBImage getSeedPoints(MTBImage frame) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
frame - de.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionde.unihalle.informatik.Alida.exceptions.ALDProcessingDAGExceptionprotected abstract MTBImage preprocess(MTBImage frame) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
frame - de.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionde.unihalle.informatik.Alida.exceptions.ALDProcessingDAGExceptionpublic MTBImage getResultImage()
public void setChannel(int channel)
channel - public void setMinSeedSize(int minSize)
minSize - public void setSeedPointImage(MTBImage seedImg)
seedImg - protected void verbosePrintln(String s)
s - text to printCopyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.