libcamera/utils/tuning/libtuning/modules/lsc
Stefan Klug d5db46232e libtuning: lsc: Prevent negative values
In cases where the calibration image contains super dark areas, or when
an invalid blacklevel was supplied, the grid might get close to zero or
negative. This would have bad effects on the 1/grid later. So clamp the
values to a small positive number.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
2024-07-05 22:38:20 +02:00
..
__init__.py utils: libtuning: modules: alsc: Add rkisp1 LSC module 2022-11-25 15:37:41 +09:00
lsc.py libtuning: lsc: Prevent negative values 2024-07-05 22:38:20 +02:00
raspberrypi.py libtuning: Migrate prints to python logging framework 2024-07-05 22:38:00 +02:00
rkisp1.py libtuning: lsc: rkisp1: Do not calculate ratios to green 2024-07-05 22:38:20 +02:00