diff options
author | Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> | 2021-10-07 17:32:27 +0200 |
---|---|---|
committer | Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> | 2021-10-22 07:29:53 +0200 |
commit | 9469fededd0981784733c6cc3bb7690e4865bed4 (patch) | |
tree | 20140748ae3e1e96f718ae0aa20b0785b1824e2b /src/ipa/raspberrypi/controller/rpi | |
parent | 7c9c1a2a9299a08e4f6ab09edb4b97f2ae50183d (diff) |
ipa: ipu3: awb: Use saturation under 90%
The AWB grey world algorithm tries to find a grey value and it can't do
it on over-exposed images. To exclude those, the saturation ratio is
used for each cell, and the cell is included only if this ratio is 0.
Now that we have changed the threshold, more cells may be considered as
partially saturated and excluded, preventing the algorithm from running
efficiently.
Change that behaviour, and consider 90% as a good enough ratio.
Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/controller/rpi')
0 files changed, 0 insertions, 0 deletions