/cts/apps/CameraITS/tests/scene4/ |
D | test_aspect_ratio_and_crop.py | 225 img_name = '%s_%s_w%d_h%d.png' % ( 227 image_processing_utils.write_image(img_raw, img_name, True) 232 img_raw, img_name, _CIRCLE_MIN_AREA, _CIRCLE_COLOR) 234 img_name) 276 img_name = '%s_jpeg_w%d_h%d.png' % (os.path.join(log_path, _NAME), w, h) 278 img, img_name, _CIRCLE_MIN_AREA, _CIRCLE_COLOR) 280 img_name) 537 img_name = '%s_%s_with_%s_w%d_h%d.png' % ( 540 img, img_name, _CIRCLE_MIN_AREA, _CIRCLE_COLOR) 543 img_name) [all …]
|
D | test_multi_camera_alignment.py | 48 def convert_cap_and_prep_img(cap, props, fmt, img_name, debug): argument 66 image_processing_utils.write_image(img, img_name) 472 img_name = '%s_%s_%s.jpg' % (os.path.join(log_path, NAME), fmt, i) 474 caps[(fmt, i)], physical_props[i], fmt, img_name, debug)
|
/cts/apps/CameraITS/tests/scene1_2/ |
D | test_param_tonemap_mode.py | 40 def compute_means_and_save(cap, img_name): argument 51 image_processing_utils.write_image(img, img_name) 117 img_name = '%s_n=%d.jpg' % (os.path.join(log_path, _NAME), n) 118 means_1.append(compute_means_and_save(cap, img_name)) 141 img_name = '%s_size=%02d.jpg' % (os.path.join(log_path, _NAME), size) 142 means_2.append(compute_means_and_save(cap, img_name))
|
D | test_yuv_plus_jpeg.py | 37 def compute_means_and_save(cap, img_name, log_path): argument 49 img, '%s_%s.jpg' % (os.path.join(log_path, NAME), img_name)) 53 logging.debug('%s rbg_means: %s', img_name, rgb_means)
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_burst_capture.py | 54 img_name = '%s.jpg' % (name) 55 logging.debug('Image Name: %s', img_name) 56 image_processing_utils.write_image(img, img_name)
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_jpeg.py | 36 def compute_img_means_and_save(img, img_name, log_path): argument 48 img, '%s_fmt=%s.jpg' % (os.path.join(log_path, NAME), img_name)) 52 logging.debug('%s rgb_means: %s', img_name, str(rgb_means))
|
D | test_linearity.py | 98 img_name = '%s_sens=%.04d.jpg' % ( 100 image_processing_utils.write_image(img, img_name)
|
/cts/apps/CameraITS/tests/scene2_a/ |
D | test_jpeg_quality.py | 182 def plot_data(qualities, lumas, chromas, img_name): argument 201 matplotlib.pyplot.savefig('%s_plot.png' % img_name) 260 img_name = os.path.join(self.log_path, NAME) 261 image_processing_utils.write_image(img, '%s_%d.jpg' % (img_name, q)) 268 plot_data(QUALITIES, lumas, chromas, img_name)
|
D | test_num_faces.py | 111 img_name = '%s_fd_mode_%s.jpg' % (os.path.join(self.log_path, 113 image_processing_utils.write_image(img, img_name)
|
D | test_effects.py | 84 img_name = '%s_%s.jpg' % (os.path.join(self.log_path, 86 image_processing_utils.write_image(img, img_name)
|
D | test_format_combos.py | 136 img_name = (f'{name_with_path}_{n:02d}_{req_str}_fmt{f}_' 138 image_processing_utils.write_image(img, img_name)
|
D | test_faces.py | 139 img_name = '%s_fd_mode_%s.jpg' % (os.path.join(self.log_path, 141 image_processing_utils.write_image(img, img_name)
|
/cts/apps/CameraITS/tests/scene6/ |
D | test_zoom.py | 128 def find_center_circle(img, img_name, color, min_area, debug): argument 194 image_processing_utils.write_image(img / 255.0, img_name) 250 img_name = '%s_%s.jpg' % (os.path.join(self.log_path, 252 image_processing_utils.write_image(img, img_name) 264 img, img_name, CIRCLE_COLOR,
|
/cts/apps/CameraITS/tests/scene2_d/ |
D | test_num_faces.py | 111 img_name = '%s_fd_mode_%s.jpg' % (os.path.join(self.log_path, 113 image_processing_utils.write_image(img, img_name)
|
/cts/apps/CameraITS/tests/scene2_b/ |
D | test_num_faces.py | 111 img_name = '%s_fd_mode_%s.jpg' % (os.path.join(self.log_path, 113 image_processing_utils.write_image(img, img_name)
|
/cts/apps/CameraITS/tests/scene2_c/ |
D | test_num_faces.py | 111 img_name = '%s_fd_mode_%s.jpg' % (os.path.join(self.log_path, 113 image_processing_utils.write_image(img, img_name)
|
/cts/apps/CameraITS/tests/scene2_e/ |
D | test_num_faces.py | 111 img_name = '%s_fd_mode_%s.jpg' % (os.path.join(self.log_path, 113 image_processing_utils.write_image(img, img_name)
|
/cts/apps/CameraITS/tests/scene3/ |
D | test_3a_consistency.py | 100 img_name = '%s_%d.jpg' % (os.path.join(self.log_path, _NAME), i) 101 image_processing_utils.write_image(img, img_name)
|
D | test_lens_movement_reporting.py | 87 img_name = '%s_i=%d.jpg' % (os.path.join(log_path, NAME), i) 88 image_processing_utils.write_image(chart.img, img_name)
|
/cts/apps/CameraITS/utils/ |
D | opencv_processing_utils.py | 330 def find_circle(img, img_name, min_area, color): argument 401 image_processing_utils.write_image(img/255, img_name, True) 406 image_processing_utils.write_image(img/255, img_name, True) 413 def append_circle_center_to_img(circle, img, img_name): argument 466 image_processing_utils.write_image(img/255, img_name, True) # [0, 1] values
|
/cts/apps/CameraITS/tools/ |
D | run_all_tests.py | 236 img_name = os.path.join(out_path, f'test_{scene}.jpg') 237 logging.info('Please check scene setup in %s', img_name) 238 image_processing_utils.write_image(img, img_name)
|