jAER project on SourceForge

ch.unizh.ini.jaer.chip.retina
Class DVS128.Extractor

java.lang.Object
  extended by net.sf.jaer.chip.TypedEventExtractor
      extended by net.sf.jaer.chip.RetinaExtractor
          extended by ch.unizh.ini.jaer.chip.retina.DVS128.Extractor
All Implemented Interfaces:
java.io.Serializable, EventExtractor2D
Direct Known Subclasses:
CUDAChip.CUDAExtractor
Enclosing class:
DVS128

public class DVS128.Extractor
extends RetinaExtractor

the event extractor for DVS128. DVS128 has two polarities 0 and 1. Here the polarity is flipped by the extractor so that the raw polarity 0 becomes 1 in the extracted event. The ON events have raw polarity 0. 1 is an ON event after event extraction, which flips the type. Raw polarity 1 is OFF event, which becomes 0 after extraction.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.jaer.chip.TypedEventExtractor
chip, fliptype, flipx, flipy, hexArrangement, out, rotate, typemask, typeshift, xmask, xshift, ymask, yshift
 
Constructor Summary
DVS128.Extractor(DVS128 chip)
           
 
Method Summary
 EventPacket extractPacket(AEPacketRaw in)
          extracts the meaning of the raw events.
 
Methods inherited from class net.sf.jaer.chip.TypedEventExtractor
extractPacket, getAddressFromCell, getSubsampleThresholdEventCount, getTypeFromAddress, getTypemask, getTypeshift, getUsedBits, getXFromAddress, getXmask, getXshift, getYFromAddress, getYmask, getYshift, isFliptype, isFlipx, isFlipy, isSubsamplingEnabled, matchesAddress, reconstructRawPacket, setFliptype, setFlipx, setFlipy, setSubsampleThresholdEventCount, setSubsamplingEnabled, setTypemask, setTypeshift, setXmask, setXshift, setYmask, setYshift
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DVS128.Extractor

public DVS128.Extractor(DVS128 chip)
Method Detail

extractPacket

public EventPacket extractPacket(AEPacketRaw in)
extracts the meaning of the raw events.

Specified by:
extractPacket in interface EventExtractor2D
Overrides:
extractPacket in class RetinaExtractor
Parameters:
in - the raw events, can be null
Returns:
out the processed events. these are partially processed in-place. empty packet is returned if null is supplied as in.

jAER project on SourceForge