jAER project on SourceForge

ch.unizh.ini.jaer.chip.stereopsis
Class Tmpdiff128StereoPair.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
              extended by ch.unizh.ini.jaer.chip.stereopsis.Tmpdiff128StereoPair.Extractor
All Implemented Interfaces:
java.io.Serializable, EventExtractor2D
Enclosing class:
Tmpdiff128StereoPair

public class Tmpdiff128StereoPair.Extractor
extends Tmpdiff128.Extractor

the event extractor for the stereo chip pair. It extracts from each event the x,y,type of the event and in addition, it adds getNumCellTypes to each type to signal a right event (as opposed to a left event)

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
Tmpdiff128StereoPair.Extractor(Tmpdiff128StereoPair chip)
           
 
Method Summary
 EventPacket extractPacket(AEPacketRaw in)
          extracts the meaning of the raw events.
 AEPacketRaw reconstructRawPacket(EventPacket packet)
          Reconstructs the raw packet after event filtering to include the binocular information
 
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, 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

Tmpdiff128StereoPair.Extractor

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

reconstructRawPacket

public AEPacketRaw reconstructRawPacket(EventPacket packet)
Reconstructs the raw packet after event filtering to include the binocular information

Specified by:
reconstructRawPacket in interface EventExtractor2D
Overrides:
reconstructRawPacket in class TypedEventExtractor
Parameters:
packet - the filtered packet
Returns:
the reconstructed packet

jAER project on SourceForge