public abstract class HistogramThresholdFunction extends ExpressionFunction
Modifier and Type | Field and Description |
---|---|
static ij.process.AutoThresholder |
AUTO_THRESHOLDER |
Constructor and Description |
---|
HistogramThresholdFunction(String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
calculateThreshold(int[] histogram) |
Object |
evaluate(List<Object> parameters,
ExpressionVariables variables)
Runs the function on given parameters
|
ParameterInfo |
getParameterInfo(int index)
Returns info about the parameter at index
|
getSignature, getTemplate
public HistogramThresholdFunction(String name)
public Object evaluate(List<Object> parameters, ExpressionVariables variables)
ExpressionFunction
evaluate
in class ExpressionFunction
parameters
- the parametersvariables
- the set of current variablesprotected abstract int calculateThreshold(int[] histogram)
public ParameterInfo getParameterInfo(int index)
ExpressionFunction
getParameterInfo
in class ExpressionFunction
index
- the parameter indexCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.