diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-12-17 15:59:35 +0100 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-12-18 17:20:32 +0100 |
commit | 24e00be9f3ded4dc68f7c3b1ddc6166e987881fd (patch) | |
tree | 8e02003a453c7967740265e6c2aba26598ab5571 /src/py/cam/cam_qt.py | |
parent | 936a099ecab1f93b9fd77171bd904e0ad30e4f9f (diff) |
utils: tuning: libtuning: Fix tuning for non RGGB RAWs
Tuning fails for raw images that don't have the channels ordered in
RGGB. In 19dc8c28f63c ("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>
Diffstat (limited to 'src/py/cam/cam_qt.py')
0 files changed, 0 insertions, 0 deletions