ch.unizh.ini.jaer.chip.dollbrain
Class Dollbrain1.Extractor
java.lang.Object
net.sf.jaer.chip.TypedEventExtractor
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
Fields inherited from class net.sf.jaer.chip.TypedEventExtractor |
chip, fliptype, flipx, flipy, hexArrangement, out, rotate, typemask, typeshift, xmask, xshift, ymask, yshift |
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 |
colormask
protected int colormask
colorshift
protected byte colorshift
Dollbrain1.Extractor
public Dollbrain1.Extractor(AEChip chip)
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 nullout
- the processed events. these are partially processed in-place. empty packet is returned if null is supplied as in.