utils: raspberrypi: ctt: Fix pycodestyle E303

E303 too many blank lines

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
This commit is contained in:
Laurent Pinchart
2020-05-02 03:32:00 +03:00
parent e31b104fd1
commit 23db936a1f
4 changed files with 0 additions and 7 deletions
-2
View File
@@ -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
-1
View File
@@ -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
@@ -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
"""
-1
View File
@@ -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
"""