summaryrefslogtreecommitdiff
path: root/utils/tuning/libtuning/ctt_ccm.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/tuning/libtuning/ctt_ccm.py')
-rw-r--r--utils/tuning/libtuning/ctt_ccm.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/utils/tuning/libtuning/ctt_ccm.py b/utils/tuning/libtuning/ctt_ccm.py
index 59753e33..f37adaf4 100644
--- a/utils/tuning/libtuning/ctt_ccm.py
+++ b/utils/tuning/libtuning/ctt_ccm.py
@@ -4,12 +4,14 @@
#
# camera tuning tool for CCM (colour correction matrix)
-from ctt_image_load import *
-from ctt_awb import get_alsc_patches
-import colors
-from scipy.optimize import minimize
-from ctt_visualise import visualise_macbeth_chart
import numpy as np
+from scipy.optimize import minimize
+
+from . import ctt_colors as colors
+from .image import Image
+from .ctt_awb import get_alsc_patches
+from .utils import visualise_macbeth_chart
+
"""
takes 8-bit macbeth chart values, degammas and returns 16 bit
"""