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

Camera board • Re: Not sure where this purple tint is coming from

$
0
0
I agree manual adjusting red and blue values may be the simplest.

If you use RPiCamGUI set AWB to off, ZOOM to 1, then click on the grey section of your grey card and adjust Red and Blue to be equal to Green on the Histogram.

If you want to experiment you could take a look at imx477.json and modify the rpi.awb section, maybe try with the "auto" lo & hi values...

if using a Pi5 find the file at /usr/share/libcamera/ipa/rpi/pisp

and see if that will remove your purple cast.. You would then need a different imx477.json for each lens.

Code:

"modes":                {                    "auto":                    {                        "lo": 2500,                        "hi": 7700                    },                    "incandescent":                    {                        "lo": 2500,                        "hi": 3000                    },                    "tungsten":                    {                        "lo": 3000,                        "hi": 3500                    },                    "fluorescent":                    {                        "lo": 4000,                        "hi": 4700                    },                    "indoor":                    {                        "lo": 3000,                        "hi": 5000                    },                    "daylight":                    {                        "lo": 5500,                        "hi": 6500                    },                    "cloudy":                    {                        "lo": 7000,                        "hi": 8000
Thanks for this. My concern is I don't want to modify the imx477.json file for every lens that I use. The file is root owned and so far with
this way of doing it, it seems like I'd make copies of this file and symlink it based on the selected lens.

But is there not a way to do it through picamera2, that's what I was looking at. Because I'm planning on buying a lot of random cine vintage lenses to try out and will need to calibrate them all.

Statistics: Posted by jcun4128 — Mon Jan 05, 2026 6:01 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles