@ALDDerivedClass @ALDAOperator(genericExecutionMode=ALL, level=APPLICATION) public class RefineLocalExtrema1D extends ALDOperator
extremaSmoothedData
found in smoothed data
using extrema extrema
of the un-smoothed.
For each extremum of the smoothed data the neighborhood of +/- epsilon
positions is considered. Of the extrema of the un-smoothed within this neighborhood
the closest with respect to positions is returned, if any.
ALDOperator.HidingMode, ALDOperator.HistoryConstructionMode
Modifier and Type | Field and Description |
---|---|
(package private) Integer |
epsilon
Size of neighborhood is
2*epsilon+1 |
protected Extrema1D |
extrema
Extrema of un-smoothed data
|
protected Extrema1D |
extremaSmoothedData
Extrema detected in smoothed data
|
protected Extrema1D |
refinedExtrema
Refined positions of the extrema detected in smoothed data
|
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider
Constructor and Description |
---|
RefineLocalExtrema1D()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getEpsilon() |
Extrema1D |
getExtrema() |
Extrema1D |
getExtremaSmoothedData() |
Extrema1D |
getRefinedExtrema() |
protected void |
operate()
This method does the actual work and needs to be implemented by every
subclass.
|
void |
setEpsilon(Integer epsilon) |
void |
setExtrema(Extrema1D extrema) |
void |
setExtremaSmoothedData(Extrema1D extremaSmoothedData) |
void |
validateCustom()
Operator specific validation of parameters and inputs.
|
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, readResolve, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateGeneric, writeHistory, writeHistory, writeHistory
@Parameter(label="Extrema", direction=IN, required=true, description=" Extrema in un-smoothed data", dataIOOrder=1) protected Extrema1D extrema
@Parameter(label="Extrema in smoothed data", direction=IN, required=true, description="Extrema in smoothed data", dataIOOrder=2) protected Extrema1D extremaSmoothedData
@Parameter(label="Epsilon", required=true, direction=IN, description="Type of extrema (min,max)", dataIOOrder=3) Integer epsilon
2*epsilon+1
@Parameter(label="Refined positions of Extrema", direction=OUT, required=true, description="Refined positions of Extrema", dataIOOrder=1) protected Extrema1D refinedExtrema
public RefineLocalExtrema1D() throws ALDOperatorException
ALDOperatorException
public void validateCustom() throws ALDOperatorException
ALDOperator
validateCustom
in class ALDOperator
ALDOperatorException
protected void operate()
ALDOperator
operate
in class ALDOperator
public Extrema1D getExtrema()
public void setExtrema(Extrema1D extrema)
extrema
- the extrema to setpublic Extrema1D getExtremaSmoothedData()
public void setExtremaSmoothedData(Extrema1D extremaSmoothedData)
extremaSmoothedData
- the extremaSmoothedData to setpublic Integer getEpsilon()
public void setEpsilon(Integer epsilon)
epsilon
- the epsilon to setpublic Extrema1D getRefinedExtrema()
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.