@ALDAOperator(genericExecutionMode=ALL, level=APPLICATION) public class GaussFilterDouble1D extends ArrayFilterDouble1D
The size of the filter kernel mask is chosen as two times the given standard deviation plus one, truncated to the next full integer value.
Modifier and Type | Field and Description |
---|---|
private double |
sigma
Standard deviation of the Gaussian kernel to be applied.
|
dataIsPeriodic, inputArray, outputArray
Constructor and Description |
---|
GaussFilterDouble1D()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double[] |
getGaussKernel()
Get normalized Gaussian kernel for given parameters.
|
protected void |
operate()
This method does the actual work.
|
void |
setSigma(double s)
Set standard deviation of Gaussian kernel.
|
getResultArray, setDataIsPeriodic, setInputArray
readResolve
addOperatorExecutionProgressEventListener, 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, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory
@Parameter(label="Standard Deviation \u03a3", required=true, dataIOOrder=2, direction=IN, description="Standard deviation \u03a3 of Gaussian kernel.") private double sigma
public GaussFilterDouble1D() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of problems during execution.public void setSigma(double s)
s
- Standard deviation to apply.protected void operate()
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
protected double[] getGaussKernel()
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.