public class EnergyFilter extends BaseDataProcessor
Dither.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_MAX_ENERGY
If energy is below this threshold frame is dropped
|
logger| Constructor and Description |
|---|
EnergyFilter() |
EnergyFilter(double maxEnergy) |
| Modifier and Type | Method and Description |
|---|---|
Data |
getData()
Returns the next DoubleData object, skipping frames with zero energy
|
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured.
|
getPredecessor, initialize, setPredecessorgetName, initLogger, toString@S4Double(defaultValue=2.0) public static final java.lang.String PROP_MAX_ENERGY
public EnergyFilter(double maxEnergy)
public EnergyFilter()
public void newProperties(PropertySheet ps) throws PropertyException
ConfigurablenewProperties in interface ConfigurablenewProperties in class ConfigurableAdapterps - a property sheet holding the new dataPropertyException - if there is a problem with the properties.public Data getData() throws DataProcessingException
getData in interface DataProcessorgetData in class BaseDataProcessorDataProcessingException - if a data processing error occurred