summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_ccm.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_ccm.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_ccm.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/raspberrypi/ctt/ctt_ccm.py b/utils/raspberrypi/ctt/ctt_ccm.py
index 1771fc43..44fb8188 100644
--- a/utils/raspberrypi/ctt/ctt_ccm.py
+++ b/utils/raspberrypi/ctt/ctt_ccm.py
@@ -168,12 +168,12 @@ def do_ccm(r, g, b, m_srgb):
rb_gbs = (rb*gb)
gb_2s = (gb*gb)
- r_rbs = ( rb * (m_srgb[..., 0] - b) )
- r_gbs = ( gb * (m_srgb[..., 0] - b) )
- g_rbs = ( rb * (m_srgb[..., 1] - b) )
- g_gbs = ( gb * (m_srgb[..., 1] - b) )
- b_rbs = ( rb * (m_srgb[..., 2] - b) )
- b_gbs = ( gb * (m_srgb[..., 2] - b) )
+ r_rbs = rb * (m_srgb[..., 0] - b)
+ r_gbs = gb * (m_srgb[..., 0] - b)
+ g_rbs = rb * (m_srgb[..., 1] - b)
+ g_gbs = gb * (m_srgb[..., 1] - b)
+ b_rbs = rb * (m_srgb[..., 2] - b)
+ b_gbs = gb * (m_srgb[..., 2] - b)
"""
Obtain least squares fit