Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this page for instructions on how to get full permissions. Sorry for the inconvenience.
Using Megapixels preview and the gain slider, analog gain seems to blend 2 kinds of gain.
0-~60 goes from reddish to dark, 60-max goes from dark to colorful.
At the 0 extreme, there's quite interesting behaviour with what would be overexposed at max retaining detail, resulting in a high dynamic range. This could have something to do with the sensor, but it could also be due to the color matrix supplied to Megapixels.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
this bit needs to get added to the kernel. We don't know if it's post-processing or something about sensor configuration. If it's postprocessing, then it should get the same treatment as the focus pixel filter, as to not damage raw data. On for naive clients?
the registers there may be a treasure trove of improvements. From the chat, it seems the reason this bit was found is that Megapixels makes comparing pictures easier than v4l2-ctl. Perhaps we can make it even easier with special debugging modes.
When enabling this bit and taking a dark frame, I'm getting something really weird. First, there's bright noise:
and when I zoom out, I'm seeing a Moire pattern at several zooms. Is that a reflection of different subpixels being of different colour or is something wacky going on here?
A blown highlight on a wooden floor should not look like that, so there's something about gain indeed:
Curiously, it looks more-or-less fine in Megapixels.
Okay, I have just confirmed: changing 307b to 00 from 80 causes the baseline noise level to increase quite a lot, at least under the conditions of not touching any gains. Best seen when the image is multiplied by 32, and the lens covered.
There seems to be indeed no more stripey noise, but that was much less pronounced. Under what conditions does the flipped bit improve image quality?
The Moire patterns seem to be coming from the Bayer pattern, because focus pixels contribute to them.
Also, try setting the preview to full res. Before that change trying to take photos indoors (with lights on) would make noise overtake the actual image. Afterwards it looks really well, similar to low res image. Before I had to always apply dark frame subtraction using an image taken with exactly the same gain and exposure conditions as the processed image, as otherwise there would be a lot of static noise - like the first one in https://source.puri.sm/Librem5/linux-next/-/issues/44#note_148408. Now I'm getting images like the second one without having any image specific postprocessing (just dark level set to 16).
To sum up: before I could only get nice looking photos because of manual intervention (taking a dark frame reference together with pretty much every photo I wanted to postprocess). Now I don't have to do that at all.