Issue: Overexposed pixels turning purple/magenta. Overexposed pixels have to be detected and recovered (highlight recovery/highlight desaturation) before applying CCM but PISP missing this step and clipped pixels turning purple after applying CCM. There are no way to avoid overexposed pixels on bright light sources (like sun) if we need shadows. But they have to be properly handled.
https://forums.raspberrypi.com/viewtopic.php?p=2376866#p2376866
Hardware & OS Specifications:
- Board: Raspberry Pi 5, CM5
- Camera: Official Raspberry Pi Camera Module V2 (Sony IMX219), Arducam IMX462
- Kernel:
Linux thv2 6.18.29+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.18.29-1+rpt1 (2026-05-12) aarch64 GNU/Linux
- OS: Debian 13 (Trixie) and Debian 12 (Bookworm)
- libcamera versions: 0.7.1 on trixie and 0.5.2 on bookworm
Test images (jpeg & raw): test_images.zip
Issue: Overexposed pixels turning purple/magenta. Overexposed pixels have to be detected and recovered (highlight recovery/highlight desaturation) before applying CCM but PISP missing this step and clipped pixels turning purple after applying CCM. There are no way to avoid overexposed pixels on bright light sources (like sun) if we need shadows. But they have to be properly handled.
https://forums.raspberrypi.com/viewtopic.php?p=2376866#p2376866
Hardware & OS Specifications:
Linux thv2 6.18.29+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.18.29-1+rpt1 (2026-05-12) aarch64 GNU/LinuxTest images (jpeg & raw): test_images.zip