|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaer.eventprocessing.EventFilter
net.sf.jaer.eventprocessing.EventFilter2D
net.sf.jaer.eventprocessing.filter.CircularConvolutionFilter
public class CircularConvolutionFilter
Computes circular convolutions by splatting out events and checking receiving pixels to see if they exceed a threshold. A behavioral model of Raphael/Bernabe convolution chip, but limited in that it presently only allows positive binary kernel weights, thus the output events an be triggered by lots of input activity.
Field Summary | |
---|---|
int |
NUM_OUTPUT_TYPES
the number of cell output types |
Fields inherited from class net.sf.jaer.eventprocessing.EventFilter2D |
---|
enclosedFilter, out |
Fields inherited from class net.sf.jaer.eventprocessing.EventFilter |
---|
annotationEnabled, chip, enclosedFilterChain, filterEnabled, log, perf, propertyTooltipMap, support |
Constructor Summary | |
---|---|
CircularConvolutionFilter(AEChip chip)
Creates a new instance of TypeCoincidenceFilter |
Method Summary | |
---|---|
EventPacket |
filterPacket(EventPacket in)
Subclasses implement this method to define custom processing. |
static java.lang.String |
getDescription()
|
java.lang.Object |
getFilterState()
should return the filter state in some useful form |
int |
getRadius()
|
float |
getTauMs()
|
float |
getThreshold()
|
void |
initFilter()
this should allocate and initialize memory: it may be called when the chip e.g. |
boolean |
isGeneratingFilter()
|
void |
resetFilter()
should reset the filter to initial state |
void |
setRadius(int radius)
|
void |
setTauMs(float tauMs)
|
void |
setThreshold(float threshold)
|
void |
update(java.util.Observable o,
java.lang.Object arg)
|
Methods inherited from class net.sf.jaer.eventprocessing.EventFilter2D |
---|
checkOutputPacketEventType, checkOutputPacketEventType, getEnclosedFilter, resetOut, setEnclosedFilter, setFilterEnabled |
Methods inherited from class net.sf.jaer.eventprocessing.EventFilter |
---|
getChip, 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 |
Field Detail |
---|
public final int NUM_OUTPUT_TYPES
Constructor Detail |
---|
public CircularConvolutionFilter(AEChip chip)
Method Detail |
---|
public static java.lang.String getDescription()
public boolean isGeneratingFilter()
public java.lang.Object getFilterState()
EventFilter
getFilterState
in class EventFilter
public void resetFilter()
EventFilter
resetFilter
in class EventFilter
public void initFilter()
EventFilter
initFilter
in class EventFilter
public void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
public int getRadius()
public void setRadius(int radius)
public float getTauMs()
public void setTauMs(float tauMs)
public float getThreshold()
public void setThreshold(float threshold)
public EventPacket filterPacket(EventPacket in)
EventFilter2D
filterPacket
in class EventFilter2D
in
- the input packet
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |