Message ID | 20241206145242.827886-7-stefan.klug@ideasonboard.com |
---|---|
State | Accepted |
Headers | show |
Series |
|
Related | show |
Hi Stefan, Thank you for the patch. On Fri, Dec 06, 2024 at 03:52:26PM +0100, Stefan Klug wrote: > Fix the access to the color temperature member of the Img object. That's a bit terse. > > Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> > Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> > Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> > --- > utils/tuning/libtuning/ctt_awb.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/utils/tuning/libtuning/ctt_awb.py b/utils/tuning/libtuning/ctt_awb.py > index 5494bdb5c103..117612f2582a 100644 > --- a/utils/tuning/libtuning/ctt_awb.py > +++ b/utils/tuning/libtuning/ctt_awb.py > @@ -304,7 +304,7 @@ def get_alsc_patches(Img, colour_cals, grey=True): > """ > if grey: > cen_coords = Img.cen_coords[3::4] > - col = Img.col > + col = Img.color There's one similar change left in 4/8. Move it here, and Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > patches = [np.array(Img.patches[i]) for i in Img.order] > r_patchs = patches[0][3::4] - Img.blacklevel_16 > b_patchs = patches[3][3::4] - Img.blacklevel_16
diff --git a/utils/tuning/libtuning/ctt_awb.py b/utils/tuning/libtuning/ctt_awb.py index 5494bdb5c103..117612f2582a 100644 --- a/utils/tuning/libtuning/ctt_awb.py +++ b/utils/tuning/libtuning/ctt_awb.py @@ -304,7 +304,7 @@ def get_alsc_patches(Img, colour_cals, grey=True): """ if grey: cen_coords = Img.cen_coords[3::4] - col = Img.col + col = Img.color patches = [np.array(Img.patches[i]) for i in Img.order] r_patchs = patches[0][3::4] - Img.blacklevel_16 b_patchs = patches[3][3::4] - Img.blacklevel_16