Skip to content

backend/controller: raspimjpeg captures overexposed images #259

@ethanjli

Description

@ethanjli

Describe the bug
raspimjpeg seems to ignore or increase the exposure settings (shutter speed, ISO) set on the Optic Configuration page when it actually saves images. This leads to overexposed images. Thibaut has been working around this by figuring out ways to reduce the intensity of the illumination LED (with tape as a hardware workaround, or with LED dimming as a software workaround) in the v2.5/v2.6 hardware, so that at least raspimjpeg's overexposure behavior won't result in excessively washed-out images.

Expected behavior
The apparent exposure of acquired images should match the apparent exposure seen in the camera preview.

Additional context
Additional context is available in #79 (comment) , in the 2023-10-26 PlanktoScope software taskforce meeting notes, in the 2023-08-31 software meeting notes, and in the 2023-10-19 software meeting notes.

Wassim is working on a longer-term fix by migrating from raspimjpeg to picamera2. In the meantime, we may need to include some software workarounds in the mainline software, e.g. by including an LED dimming setting in the pscopehat version of the Python backend.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions