|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaer.graphics.Chip2DRenderer
net.sf.jaer.graphics.AEChipRenderer
ch.unizh.ini.jaer.chip.dollbrain.Dollbrain1Renderer
public class Dollbrain1Renderer
This class overrides the render(AEPacket2D ae) to display an image with gray levels on black. The number of spikes that a packet needs to saturate a pixels is given by the colorScale variable which is adjustable with the up and down arrow keys (i.e. contrast). Future plans (TODO's): - The contrast step height should be normalized by the packet size and time-frame to give a more stable image at high rendering speed and to keep contrast when swapping packetsize. - Implement a fixed-pattern noise canceler
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.jaer.graphics.AEChipRenderer |
---|
AEChipRenderer.ColorMode |
Field Summary |
---|
Fields inherited from class net.sf.jaer.graphics.AEChipRenderer |
---|
chip, HUES, ignorePolarityEnabled, log, NUM_METHODS, NUM_TIME_COLORS, packet, spikeSound, step, stereoEnabled, subsampleThresholdEventCount, subsamplingEnabled, timeColors, typeColorRGBComponents, typeColors |
Fields inherited from class net.sf.jaer.graphics.Chip2DRenderer |
---|
accumulateEnabled, annotators, autoscaleEnabled, autoScaleValue, colorScale, eventContrast, fr, grayValue, pixmap, prefs, selectedPixelEventCount, xsel, ysel |
Constructor Summary | |
---|---|
Dollbrain1Renderer(AEChip chip)
Creates a new instance of UioCameraRenderer |
Method Summary | |
---|---|
void |
render(EventPacket packet)
Does the rendering (only one colorMode is available) |
Methods inherited from class net.sf.jaer.graphics.Chip2DRenderer |
---|
checkFr, checkPixmapAllocation, decreaseContrast, getColorScale, getGrayValue, getPixmap, getPixmapArray, getPixMapIndex, getPixmapRGB, getSelectedPixelEventCount, getXsel, getYsel, increaseContrast, isAccumulateEnabled, isAutoscaleEnabled, isPixelSelected, removeAllAnnotators, resetFrame, setAccumulateEnabled, setAutoscaleEnabled, setColorScale, setGrayValue, setPixmapPosition, setPixmapRGB, setXsel, setYsel, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dollbrain1Renderer(AEChip chip)
chip
- the chip we're rendering forMethod Detail |
---|
public void render(EventPacket packet)
render
in class AEChipRenderer
packet
- a packet of events (already extracted from raw events)AEChipRenderer.setColorMode(net.sf.jaer.graphics.AEChipRenderer.ColorMode)
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |