ON vs. OFF Polarity Lab

Low-level DVS pixel physics & Event Studio pipeline
ON (+1) Got Brighter OFF (-1) Got Darker

The whole secret in one sentence: Each pixel remembers the last brightness it saw (L_ref). When its spot gets BRIGHTER by +C, it fires ON (+1) and resets its memory UP. When its spot gets DARKER by -C, it fires OFF (-1) and resets its memory DOWN.

Click any pixel on the left to move the probe · Drag "Position" slider to step 1 event at a time

Camera View & Movable Probe Pixel

Probe pixel (x=80, y=45)
1. What your eye sees — physical light I(x, y, t) White bar on dark background
2. Event camera output — ON (cyan) & OFF (amber) 0 events/step
Scene
Motion
View Mode
Speed
Scrub Pos
x = 35%
Threshold C
C = 0.32

Inside Probe Pixel (80, 45) — Photodiode → Memory → Comparator

I = 0.05 · ln(I) = -3.00 · ΔL = 0.00
QUIET Waiting for the moving edge to cross probe pixel (80, 45)...
Stage 1 · Silicon
Photodiode & Diff
Δln(I) = 0.00
within ±0.32
Stage 2 · Wire
EVT3 16-bit Word
Idle — no packet
bit 11 = pol
Stage 3 · Studio
Noise Filter
clean / ultra
neighbor check
Stage 4 · Frame
Surface Byte
0x00 (empty)
(p<<7) | mag
Stage 5 · Display
Screen Color LUT
#000000 Black
No change

Live Event Packets From Probe Pixel (x, y, t_us, polarity) ON: 0 · OFF: 0 · Total: 0

t_us(x, y)PolEVT3 Hex (X+pol)Render BytePlain Meaning
Events appear here the instant the edge crosses your probe pixel...

Why you kept getting tripped up during demos: ON (+1) does NOT mean "front of the object" — it flips sides whenever you switch bright-on-dark vs. dark-on-bright, or reverse direction! And at normal 1.0× speed, real textured objects have thin 1–2 px edges that blend into a cyan+amber soup.

Click any of the 4 flip cards to inspect it in Layer 1
1. Bright Object Moving Right →
White bar crossing dark background
BACK: OFF (darker)FRONT: ON (brighter)
2. Dark Hand Moving Right →
Same direction, opposite colors!
BACK: ON (brighter)FRONT: OFF (darker)
3. Reverse Direction (← Left)
Same white bar — colors swap sides!
FRONT: ON (left)BACK: OFF (right)
4. Freeze Completely Still
Brightness stops changing (Δln I = 0)
0 events/sTotal Black

The Real-World Trap: Why Live Demos Look Like "Cyan + Amber Soup"

1.0× Real Speed · Textured Hand + Fingers
Normal speed (1.0×) — 1–2 px edges + finger gaps flash past in 80 ms
Why it looks confusing: Each finger has a bright skin highlight AND a dark gap beside it — so 5 fingers create 10 alternating ON/OFF edges crossing pixels in milliseconds. Your eye merges cyan + amber into muddy noise!

The Cure: Ultra-Slow-Mo + Polarity Split + Click-a-Pixel

0.05× Slow-Mo · Split View
Slowed 20× — every leading & trailing edge separates cleanly
Isolate
Slow-Mo

Mental Check #1 · Ask One Question

Don't ask "where is the object?" Pick ONE spot on the wall and ask: "Did THIS spot just get brighter or darker?" Brighter = Cyan ON. Darker = Amber OFF.

Mental Check #2 · Why Both Colors Appear

Every solid moving object covers background at its front edge (one polarity) and uncovers background at its back edge (the opposite polarity). That's why moving objects ALWAYS wear a two-color halo.

Mental Check #3 · How to Demo It Live

Hold a single bright white card against a dark shirt, sweep slowly, or switch to ON-only vs OFF-only in Layer 3 — visitors immediately see one crisp edge appear and vanish.

Real Sony IMX636 Camera Data & Live Jetson Stream: Use the exact same slow-motion, ON-only / OFF-only split, and click-any-pixel spike oscilloscope on genuine event-camera recordings or the live Jetson camera!

Recorded Clip Ready
Source
View Mode
Window
Playback
0.000 s

Real IMX636 Camera Stream

Click ANY pixel to inspect its exact spike timeline
BOTH: Cyan = ON (+1 brighter) · Amber = OFF (-1 darker) Probe: click to move
ON (+1): 0 Window events: 0 OFF (-1): 0

Clicked Pixel Patch Inspector (center)

5×5 patch · click image to move

Real Camera Packets at Probe (x, y, t_us, pol) 0 spikes

t_us(x, y)PolEVT3 HexEvent
Click on a moving edge in the camera view to inspect real spikes...
Tip: Click right on the path of a moving car, person, or hand. Watch the top graph rebuild the exact up-and-down log-brightness staircase from real silicon +1 / -1 spikes!