Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5157

Camera board • Understanding HDR & Camera Tuning on RPI5 + HQ Camera

$
0
0
I'm trying to get good bright pictures of the sky at night, whilst suppressing the glare from streetlights.

I get unusual behaviour at night in HDR mode. I have a RPi5 and a HQ camera.

These are the two commands I run:

Code:

/usr/bin/libcamera-still -o /home/ben/ImageExperiments/NO_HDR.jpg --shutter 2000000 --gain 32 --awb tungsten/usr/bin/libcamera-still -o /home/ben/ImageExperiments/HDR.jpg --hdr single-exp --shutter 2000000 --gain 32 --awb tungsten
The first one runs as expected, no HDR but does custom exposure=2sec, gain=ISO3200 (which I have found to be the most optimal balance of brightness, noise, runtime etc. for the HQ camera and the lens I am using).
https://ibb.co/3Nyr1WF

But the second one with HDR enabled, ignores the custom exposure/gain, and becomes a very dark image:
https://ibb.co/7NCXyLX

I can imagine the response is "HDR doesn't allow custom exposure/gain". But why not? The HDR image at night is quite dark, and without specifying the exposure/gain a non-HDR photo is also quite dark.
What would be really nice is to set the 2sec/ISO3200 as the new highest auto-levels... AHA, I hear you say, the tuning JSON file! Alas, I have played with the tuning JSON file to increase night time brightness. No matter how high I set the exposure/gain, something seems to stop exposure/gain going past a certain level, even when given only one extreme value for exposure/gain. Any thoughts welcomed!

Statistics: Posted by benblob688 — Sun Mar 10, 2024 2:43 am



Viewing all articles
Browse latest Browse all 5157

Trending Articles