Tune dithering palette RGB values for actual panel colors #2

Open
opened 2026-03-26 22:24:29 +00:00 by antialias · 0 comments
Owner

The Floyd-Steinberg dithering in dither.h uses approximate RGB values for the Spectra 6 palette. These need to be tuned against what the actual panel produces.

Current values:

  • Black: (0, 0, 0)
  • White: (255, 255, 255)
  • Red: (200, 30, 30)
  • Green: (0, 145, 0)
  • Blue: (0, 0, 160)
  • Yellow: (230, 210, 0)

Process:

  1. Display solid color test patterns on the panel
  2. Photograph under controlled lighting
  3. Color-pick actual RGB values from the photos
  4. Update PALETTE[] in dither.h
  5. Compare before/after with a photo that has all 6 colors

Depends on #1 (hardware validation).

The Floyd-Steinberg dithering in `dither.h` uses approximate RGB values for the Spectra 6 palette. These need to be tuned against what the actual panel produces. **Current values:** - Black: (0, 0, 0) - White: (255, 255, 255) - Red: (200, 30, 30) - Green: (0, 145, 0) - Blue: (0, 0, 160) - Yellow: (230, 210, 0) **Process:** 1. Display solid color test patterns on the panel 2. Photograph under controlled lighting 3. Color-pick actual RGB values from the photos 4. Update `PALETTE[]` in `dither.h` 5. Compare before/after with a photo that has all 6 colors Depends on #1 (hardware validation).
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: antialias/eink-photo-frame#2