summaryrefslogtreecommitdiff
path: root/COPYING.rst
diff options
context:
space:
mode:
authorStefan Klug <stefan.klug@ideasonboard.com>2025-01-23 12:40:59 +0100
committerStefan Klug <stefan.klug@ideasonboard.com>2025-02-21 17:51:09 +0100
commitf45eb6bd9d7d68d277b0575a627133cc40960af9 (patch)
tree4aa76c2fa43a4268c4f387580247fd8c19e7a651 /COPYING.rst
parent60d60c13672b81f2a57894467a569c6ba98ae895 (diff)
libipa: Add bayesian AWB algorithm
The bayesian AWB algorithm is an AWB algorithm that takes prior probabilities for a given light source dependent on the current lux level into account. The biggest improvement compared to the grey world model comes from the search of the ideal white point on the CT curve. The algorithm walks the CT curve to minimize the colour error for a given statistics. After the minimium is found it additionally tries to search the area around that spot and also off the curve. So even without defined prior probabilities this algorithm provides much better results than the grey world algorithm. The logic for this code was taken from the RaspberryPi implementation. The logic was only minimally adjusted for usage with the rkisp1 and a few things were left out (see doxygen doc for the AwbBayes class). The code is refactored to better fit the libcamera code style and to make use of the syntactic sugar provided by the Interpolator and Vector classes. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Diffstat (limited to 'COPYING.rst')
0 files changed, 0 insertions, 0 deletions