Ah, I see, your code tweak was to add that awb algorithm to the available list in the 'Camera params' ... 'White balance' menu ?
I added your modification to the ~/pikrellcam/src/config.c file, then ran make on it. it does not seem to make a difference to the version of pikrellcam that is running however? I suspect I'm missing a step where the modified application file is rolled out to the installed instance (or something).
Did you update the ~/.pikrellcam/pikrellcam.conf 'awb' setting to greyworld, and restart pikrellcam?
That should work. I have images I'll upload.
My settings in pikrellcam.conf:
Code: Select all
# Raspberry Pi Initial Camera Parameters
crop 0 0 65536 65536
color_effect false 128 128
BTW, I have not performed a dist-upgrade. I'm running Pikrellcam 4.3.1, and did the apt update/apt upgrade thing earlier today:
Code: Select all
[email protected]:~/pikrellcam/media/stills $ uname -a
Linux pi-10 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux
This tweak does not provide the 'greyworld' option to the GUI 'white bal' options under 'Setup'.
I'm not a PHP expert, but I'm sure billw is
(See edit, below)
Hope this helps.
Edit: Added pics...
These stills were taken from the pikrellcam GUI at night with only a single 15W LED lamp on
Here's one with awb = greyworld:
And one with awb = auto:
Edit: Adding greyworld awb option to the GUI:
or around line 1032 in ~/pikrellcam/src/display.c, the white_balance_entry array is defined for the GUI.
Just add 'greyworld' to the end of the array, make, and restart pikrellcam.
Yay, no PHP knowledge required.
Self-education is, I firmly believe, the only kind of education there is - Isaac Asimov