@ALDAOperator(genericExecutionMode=ALL,
level=APPLICATION,
allowBatchMode=true,
shortDescription="Analyzes the scratch areas in a scratch assay/ gap closure/ wound closure assays.")
public class ScratchAssayAnalyzer
extends MTBOperator
| Modifier and Type | Class and Description |
|---|---|
static class |
ScratchAssayAnalyzer.AbsenceDetectionMethod |
static class |
ScratchAssayAnalyzer.ScratchOrientation |
| Modifier and Type | Field and Description |
|---|---|
private ScratchAssayAnalyzer.AbsenceDetectionMethod |
checkMethod |
private Double |
deltaX |
private Double |
deltaY |
private Integer |
detectionChannel |
private Integer |
entropyFilterSize |
private MTBImage |
inImg |
private Boolean |
isHorizontal |
private double |
maxIncreaseFraction |
private Integer |
maxIter |
private Vector<Integer> |
numIterations |
private ScratchAssayAnalyzer.ScratchOrientation |
orientation |
private int |
refIndex |
private MTBImage |
result |
private MTBTableModel |
resultsTable |
private Vector<Long> |
runtimes |
private Vector<Double> |
scratchAreas |
private Vector<String> |
scratchFiles |
private Integer |
sigma |
private de.unihalle.informatik.Alida.datatypes.ALDFileString |
svmFile |
private Vector<Double> |
totalAreas |
private String |
unitXY |
| Constructor and Description |
|---|
ScratchAssayAnalyzer() |
ScratchAssayAnalyzer(MTBImage inImg,
int sigma,
int entropyFilterSize,
ScratchAssayAnalyzer.ScratchOrientation orientation,
boolean check) |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkForIncrease() |
private void |
getCalibration() |
String |
getDocumentation() |
private MTBTableModel |
makeTable()
create results table
|
void |
operate() |
private MTBImage |
segment(MTBImage img,
String path) |
void |
setDetectionChannel(int channel) |
void |
setMaxIterations(int maxIter)
set maximum number of iterations for level set segmentation
|
private void |
showParametersForChecking() |
readResolveaddOperatorExecutionProgressEventListener, 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="input image",
required=true,
direction=IN,
supplemental=false,
description="input image",
mode=STANDARD,
dataIOOrder=1,
callback="getCalibration",
paramModificationMode=MODIFIES_INTERFACE)
private transient MTBImage inImg
@Parameter(label="detection channel",
required=true,
direction=IN,
supplemental=false,
description="detection channel",
dataIOOrder=2)
private Integer detectionChannel
@Parameter(label="scratch orientation",
required=true,
direction=IN,
supplemental=false,
description="is scratch horizontally or vertically oriented",
mode=STANDARD,
dataIOOrder=3)
private ScratchAssayAnalyzer.ScratchOrientation orientation
@Parameter(label="\u03c3",
required=true,
direction=IN,
supplemental=false,
description="standard deviation of gauss filter",
mode=STANDARD,
dataIOOrder=4)
private Integer sigma
@Parameter(label="entropy filter size",
required=true,
direction=IN,
supplemental=false,
description="size of entropy filter mask",
mode=STANDARD,
dataIOOrder=5)
private Integer entropyFilterSize
@Parameter(label="maximum iterations",
required=false,
direction=IN,
supplemental=false,
description="maximum number of iterations for level set segmentation",
mode=ADVANCED,
dataIOOrder=6)
private Integer maxIter
@Parameter(label="method for checking for scratch absence",
required=false,
direction=IN,
supplemental=false,
description="which method should be used to check if scratch is present in the images",
mode=STANDARD,
dataIOOrder=8,
callback="showParametersForChecking",
paramModificationMode=MODIFIES_INTERFACE)
private ScratchAssayAnalyzer.AbsenceDetectionMethod checkMethod
@Parameter(label="maximum area increase",
required=false,
direction=IN,
supplemental=false,
description="if detected scratch area between two consecutive frames increases more than this fraction the scratch will be considered as closed for all following frames",
mode=STANDARD,
dataIOOrder=9)
private double maxIncreaseFraction
@Parameter(label="path to svm file",
required=false,
direction=IN,
supplemental=false,
description="absolute path to external svm model file",
mode=STANDARD,
dataIOOrder=11)
private de.unihalle.informatik.Alida.datatypes.ALDFileString svmFile
@Parameter(label="pixel length, x-direction",
required=false,
direction=IN,
supplemental=false,
description="pixel length in x-direction",
dataIOOrder=12)
private Double deltaX
@Parameter(label="pixel length, y-direction",
required=false,
direction=IN,
supplemental=false,
description="pixel length in y-direction",
dataIOOrder=13)
private Double deltaY
@Parameter(label="unit space",
required=false,
direction=IN,
supplemental=false,
description="unit x/y",
dataIOOrder=14)
private String unitXY
@Parameter(label="results table",
required=true,
direction=OUT,
supplemental=false,
description="table containing the resulting values")
private MTBTableModel resultsTable
@Parameter(label="segmentation results",
required=true,
direction=OUT,
supplemental=false,
description="resulting image(s)")
private transient MTBImage result
private Boolean isHorizontal
private int refIndex
public ScratchAssayAnalyzer()
throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionpublic ScratchAssayAnalyzer(MTBImage inImg, int sigma, int entropyFilterSize, ScratchAssayAnalyzer.ScratchOrientation orientation, boolean check) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
inImg - sigma - entropyFilterSize - orientation - noCheck - de.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionpublic 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.ALDProcessingDAGExceptionprivate MTBImage segment(MTBImage img, String path) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
de.unihalle.informatik.Alida.exceptions.ALDOperatorExceptionde.unihalle.informatik.Alida.exceptions.ALDProcessingDAGExceptionprivate MTBTableModel makeTable()
private void checkForIncrease()
public void setDetectionChannel(int channel)
channel - channel used for detectionpublic void setMaxIterations(int maxIter)
maxIter - private void getCalibration()
private void showParametersForChecking()
public String getDocumentation()
getDocumentation in class de.unihalle.informatik.Alida.operator.ALDOperatorCopyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.