diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/raspberrypi/ctt/ctt.py | 2 | ||||
-rw-r--r-- | utils/raspberrypi/ctt/ctt_alsc.py | 1 | ||||
-rw-r--r-- | utils/raspberrypi/ctt/ctt_macbeth_locator.py | 3 | ||||
-rw-r--r-- | utils/raspberrypi/ctt/ctt_noise.py | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py index 07230fe3..ff264176 100755 --- a/utils/raspberrypi/ctt/ctt.py +++ b/utils/raspberrypi/ctt/ctt.py @@ -193,7 +193,6 @@ class Camera: } } - """ Perform colour correction calibrations by comparing macbeth patch colours to standard macbeth chart colours. @@ -770,7 +769,6 @@ def run_ctt(json_output, directory, config, log_output): except FileNotFoundError: raise ArgError('\n\nError: Input image directory not found!') - """ preform calibrations as long as check_imgs returns True If alsc is activated then it must be done before awb and ccm since the alsc diff --git a/utils/raspberrypi/ctt/ctt_alsc.py b/utils/raspberrypi/ctt/ctt_alsc.py index e768f8d6..b697ed3e 100644 --- a/utils/raspberrypi/ctt/ctt_alsc.py +++ b/utils/raspberrypi/ctt/ctt_alsc.py @@ -253,7 +253,6 @@ def get_sigma(Cam, cal_cr_list, cal_cb_list): sigma_b = max(sigma_bs) if sigma_bs else 0.005 Cam.log += '\nMaximum sigmas: Red = {} Blue = {}'.format(sigma_r, sigma_b) - # print(sigma_rs, sigma_bs) # print(sigma_r, sigma_b) return sigma_r, sigma_b diff --git a/utils/raspberrypi/ctt/ctt_macbeth_locator.py b/utils/raspberrypi/ctt/ctt_macbeth_locator.py index c3016f9a..94bbf580 100644 --- a/utils/raspberrypi/ctt/ctt_macbeth_locator.py +++ b/utils/raspberrypi/ctt/ctt_macbeth_locator.py @@ -144,7 +144,6 @@ def find_macbeth(Cam, img, mac_config=(0, 0)): w_best, h_best = w_inc, h_inc d_best = 1 - """ scale 2 """ @@ -697,7 +696,6 @@ def get_macbeth_chart(img, ref_data): Following code is mostly representation for debugging purposes """ - """ draw macbeth corners and centres on image """ @@ -731,7 +729,6 @@ def get_macbeth_chart(img, ref_data): # cv2.imshow('Macbeth', best_map_col) # represent(copy) - """ rescale coordinates to original image size """ diff --git a/utils/raspberrypi/ctt/ctt_noise.py b/utils/raspberrypi/ctt/ctt_noise.py index 2d021e55..ba57f1d1 100644 --- a/utils/raspberrypi/ctt/ctt_noise.py +++ b/utils/raspberrypi/ctt/ctt_noise.py @@ -39,7 +39,6 @@ def noise(Cam, Img, plot): means = np.clip(np.array(means), 0, None) sq_means = np.sqrt(means) - """ least squares fit model """ |