laparpi wrote:But I have just a blue filter
which have I to write?
1) -awb off -awbg 1.1,1.3
2) -awb off -awbg 1.1
3) -awb off -awbg 1.3
You MUST specify both values.
The camera has red, green, and blue detectors. What you're trying to do is desensitise it to blue due to your blue filter. So you'll want a high gain for red, and a low gain for blue. Green is always treated as being at x1.0.
(What the article is really talking about is locking the AWB algorithm once it has adapted so that the blue reference image is seen as grey. It is possible to lock AWB after it has run for a number of frames, but I don't know whether it will adapt far enough to make the blue into grey - the Pi algorithm is more advanced than the "gray world" algorithm that I suspect the Canon is adopting when in manual mode. With the Pi camera, you're probably better off going for a full manual white balance, although that does really require controlled lighting.)
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.