Tuning fails for raw images that don't have the channels ordered in
RGGB. In 19dc8c28f6 ("utils: tuning: libtuning: Implement the core of
libtuning") the channels of the image were reordered to RGGB
unconditionally in _read_image_dng(). That change was not applied to the
ctt_awb code, so that the channels were reordered twice. Fix by removing
the double ordering.
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Tested-by: Isaac Scott <isaac.scott@ideasonboard.com>
Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@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