jAER project on SourceForge

ch.unizh.ini.jaer.chip.retina
Class Tmpdiff128.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.Tmpdiff128.Extractor
All Implemented Interfaces:
java.io.Serializable, EventExtractor2D
Direct Known Subclasses:
Tmpdiff128StereoBoard.Extractor, Tmpdiff128StereoPair.Extractor
Enclosing class:
Tmpdiff128

public class Tmpdiff128.Extractor
extends RetinaExtractor
implements java.io.Serializable

the event extractor for Tmpdiff128. Tmpdiff128 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
Tmpdiff128.Extractor(Tmpdiff128 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

Tmpdiff128.Extractor

public Tmpdiff128.Extractor(Tmpdiff128 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