jAER project on SourceForge

net.sf.jaer.chip
Interface EventExtractor2D<E>

All Known Implementing Classes:
CochleaAERb.Extractor, CochleaAMSNoBiasgen.Extractor, ColorContrastRetinaTestChip.Extractor, Conv32.Extractor, Conv64.Extractor, Conv64InOut.Extractor, Conv64NoNegativeEvents.Extractor, CUDAChip.CUDAExtractor, Dollbrain1.Extractor, DVS128.Extractor, DVS320.DVS320Extractor, Learning.Extractor, RetinaExtractor, TestchipARCSLineSensor.Extractor, TestchipARCsPixelTestArray.Extractor, Tmpdiff128.Extractor, Tmpdiff128AndCochleaAERb.Extractor, Tmpdiff128StereoBoard.Extractor, Tmpdiff128StereoPair.Extractor, Tmpdiff64.Extractor, Tmpdiff64AndCochleaAERb.Extractor, Tnc3.Extractor, TypedEventExtractor, UioFoveatedImager.Extractor, UioStaticBioVis.Extractor

public interface EventExtractor2D<E>

The interface a 2D event extractor must implmeent. It is parameterized by the primitive int raw event address type.


Method Summary
 EventPacket extractPacket(AEPacketRaw events)
          Extracts raw packet to EventPacket
 void extractPacket(AEPacketRaw raw, EventPacket cooked)
          Extracts raw packet to EventPacket
 int getAddressFromCell(int x, int y, int type)
           
 int getSubsampleThresholdEventCount()
           
 byte getTypeFromAddress(int addr)
           
 int getTypemask()
           
 byte getTypeshift()
           
 int getUsedBits()
           
 short getXFromAddress(int addr)
           
 int getXmask()
           
 byte getXshift()
           
 short getYFromAddress(int addr)
           
 int getYmask()
           
 byte getYshift()
           
 boolean isFliptype()
           
 boolean isFlipx()
           
 boolean isFlipy()
           
 boolean isSubsamplingEnabled()
           
 boolean matchesAddress(int addr1, int addr2)
           
 AEPacketRaw reconstructRawPacket(EventPacket packet)
          reconstructs a raw packet suitable for logging to a data file, from an EventPacket that could be the result of filtering operations.
 void setFliptype(boolean fliptype)
           
 void setFlipx(boolean flipx)
           
 void setFlipy(boolean flipy)
           
 void setSubsampleThresholdEventCount(int subsampleThresholdEventCount)
           
 void setSubsamplingEnabled(boolean subsamplingEnabled)
           
 void setTypemask(int typemask)
           
 void setTypeshift(byte typeshift)
           
 void setXmask(int xmask)
           
 void setXshift(byte xshift)
           
 void setYmask(int ymask)
           
 void setYshift(byte yshift)
           
 

Method Detail

extractPacket

EventPacket extractPacket(AEPacketRaw events)
Extracts raw packet to EventPacket

Parameters:
events - the raw aer events
Returns:
an EventPacket that holds the digested events. This packet may be reused

extractPacket

void extractPacket(AEPacketRaw raw,
                   EventPacket cooked)
Extracts raw packet to EventPacket

Parameters:
raw - the raw aer events
cooked - events are written to this cooked event packet

reconstructRawPacket

AEPacketRaw reconstructRawPacket(EventPacket packet)
reconstructs a raw packet suitable for logging to a data file, from an EventPacket that could be the result of filtering operations.

Parameters:
packet - the EventPacket
Returns:
a raw packet holding the device events

getTypeFromAddress

byte getTypeFromAddress(int addr)

getTypemask

int getTypemask()

getTypeshift

byte getTypeshift()

getXFromAddress

short getXFromAddress(int addr)

getXmask

int getXmask()

getXshift

byte getXshift()

getYFromAddress

short getYFromAddress(int addr)

getYmask

int getYmask()

getYshift

byte getYshift()

setTypemask

void setTypemask(int typemask)

setTypeshift

void setTypeshift(byte typeshift)

setXmask

void setXmask(int xmask)

setXshift

void setXshift(byte xshift)

setYmask

void setYmask(int ymask)

setYshift

void setYshift(byte yshift)

isFlipx

boolean isFlipx()

setFlipx

void setFlipx(boolean flipx)

isFlipy

boolean isFlipy()

setFlipy

void setFlipy(boolean flipy)

isFliptype

boolean isFliptype()

setFliptype

void setFliptype(boolean fliptype)

getUsedBits

int getUsedBits()

matchesAddress

boolean matchesAddress(int addr1,
                       int addr2)

getAddressFromCell

int getAddressFromCell(int x,
                       int y,
                       int type)

setSubsamplingEnabled

void setSubsamplingEnabled(boolean subsamplingEnabled)

isSubsamplingEnabled

boolean isSubsamplingEnabled()

getSubsampleThresholdEventCount

int getSubsampleThresholdEventCount()

setSubsampleThresholdEventCount

void setSubsampleThresholdEventCount(int subsampleThresholdEventCount)

jAER project on SourceForge