Skip to content

Overexposed pixels turning purple/magenta #341

@ddv2005

Description

@ddv2005

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions