jAER project on SourceForge

ch.unizh.ini.jaer.chip.dollbrain
Class Dollbrain1.Extractor

java.lang.Object
  extended by net.sf.jaer.chip.TypedEventExtractor
      extended by ch.unizh.ini.jaer.chip.dollbrain.Dollbrain1.Extractor
All Implemented Interfaces:
java.io.Serializable, EventExtractor2D
Enclosing class:
Dollbrain1

public class Dollbrain1.Extractor
extends TypedEventExtractor
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  int colormask
           
protected  byte colorshift
           
 
Fields inherited from class net.sf.jaer.chip.TypedEventExtractor
chip, fliptype, flipx, flipy, hexArrangement, out, rotate, typemask, typeshift, xmask, xshift, ymask, yshift
 
Constructor Summary
Dollbrain1.Extractor(AEChip chip)
           
 
Method Summary
 void extractPacket(AEPacketRaw in, EventPacket out)
          extracts the meaning of the raw events.
 short getColorFromAddress(int addr)
           
 int getColormask()
           
 byte getColorshift()
           
 void setColormask(int cmask)
           
 void setColorshift(byte cshift)
           
 
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
 

Field Detail

colormask

protected int colormask

colorshift

protected byte colorshift
Constructor Detail

Dollbrain1.Extractor

public Dollbrain1.Extractor(AEChip chip)
Method Detail

getColormask

public int getColormask()

setColormask

public void setColormask(int cmask)

getColorshift

public byte getColorshift()

setColorshift

public void setColorshift(byte cshift)

getColorFromAddress

public short getColorFromAddress(int addr)

extractPacket

public void extractPacket(AEPacketRaw in,
                          EventPacket out)
extracts the meaning of the raw events. This form is used to supply an output packet. This method is used for real time event filtering using a buffer of output events local to data acquisition.

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

jAER project on SourceForge