@ALDAOperator(genericExecutionMode=ALL, level=STANDARD, allowBatchMode=false, shortDescription="Calculates statistical features tile-wise on images.") @ALDDerivedClass public class FeatureCalculatorIntensityStats extends FeatureCalculator
FeatureCalculator
.Modifier and Type | Field and Description |
---|---|
private ImageStatistics.StatValue |
statMeasure
Statistical measure to be calculated.
|
inImg, resultObj
Constructor and Description |
---|
FeatureCalculatorIntensityStats()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDocumentation() |
protected FeatureCalculatorIntensityStatsResult |
getResultDataObjectInvalid(int dim)
Helper method to allow for requesting invalid dummy results.
|
void |
operate() |
void |
setMeasure(ImageStatistics.StatValue s)
Specify feature measure to extract.
|
getResultData, setInputImage
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="Statistical measure", required=true, direction=IN, dataIOOrder=1, mode=STANDARD, description="Desired statistical measure.") private ImageStatistics.StatValue statMeasure
public FeatureCalculatorIntensityStats() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.public void setMeasure(ImageStatistics.StatValue s)
s
- Measure to apply.protected FeatureCalculatorIntensityStatsResult getResultDataObjectInvalid(int dim)
FeatureCalculator
getResultDataObjectInvalid
in class FeatureCalculator
dim
- Desired dimension of output object.public 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 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.