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>
.. SPDX-License-Identifier: CC-BY-SA-4.0
libcamera tuning tools
======================
.. Note:: The tuning tools are still very much work in progress. If in doubt,
please ask on the mailing list.
.. todo::
Write documentation
Installation of dependencies
----------------------------
::
# Using a venv
python3 -m venv venv
. ./venv/bin/activate
pip3 install -r requirements.txt