org.orangesky.visuals.filter
Class DecayFilter
java.lang.Object
net.sf.jaer.eventprocessing.EventFilter
net.sf.jaer.eventprocessing.EventFilter2D
org.orangesky.visuals.filter.DecayFilter
public class DecayFilter
- extends EventFilter2D
This filter does something - not clear what. No comments.
TODO fix javadoc, move this class to proper package
- Author:
- martin ebner
Methods inherited from class net.sf.jaer.eventprocessing.EventFilter |
getChip, getDescription, getEnclosedFilterChain, getEnclosingFilter, getPrefs, getPropertyChangeSupport, getPropertyTooltip, isAnnotationEnabled, isEnclosed, isFilterEnabled, prefsEnabledKey, setAnnotationEnabled, setChip, setEnclosed, setEnclosedFilter, setEnclosedFilterChain, setEnclosingFilter, setPreferredEnabledState, setPrefs, setPropertyTooltip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RingBufSize
protected final int RingBufSize
- See Also:
- Constant Field Values
a
protected int[] a
t
protected int[] t
index
protected int index
length
protected int length
DecayFilter
public DecayFilter(AEChip chip)
gettWindow
public float gettWindow()
settWindow
public void settWindow(float tWindow)
getDecay
public boolean getDecay()
setDecay
public void setDecay(boolean Decay)
filterPacket
public EventPacket<?> filterPacket(EventPacket<?> in)
- This filterPacket method assumes the events have PolarityEvent type
- Specified by:
filterPacket
in class EventFilter2D
- Parameters:
in
- the input packet
- Returns:
- the output packet, where events have possibly been deleted from the input
cAdd
public int cAdd(int n,
int dn)
getFilterState
public java.lang.Object getFilterState()
- Description copied from class:
EventFilter
- should return the filter state in some useful form
- Specified by:
getFilterState
in class EventFilter
resetFilter
public void resetFilter()
- Description copied from class:
EventFilter
- should reset the filter to initial state
- Specified by:
resetFilter
in class EventFilter
initFilter
public void initFilter()
- Description copied from class:
EventFilter
- this should allocate and initialize memory: it may be called when the chip e.g. size parameters are changed after creation of the filter
- Specified by:
initFilter
in class EventFilter