Home
last modified time | relevance | path

Searched refs:img_name (Results 1 – 21 of 21) sorted by relevance

/cts/apps/CameraITS/tests/scene4/
Dtest_aspect_ratio_and_crop.py225 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 …]
Dtest_multi_camera_alignment.py48 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/
Dtest_param_tonemap_mode.py40 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))
Dtest_yuv_plus_jpeg.py37 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/
Dtest_burst_capture.py54 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/
Dtest_jpeg.py36 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))
Dtest_linearity.py98 img_name = '%s_sens=%.04d.jpg' % (
100 image_processing_utils.write_image(img, img_name)
/cts/apps/CameraITS/tests/scene2_a/
Dtest_jpeg_quality.py182 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)
Dtest_num_faces.py111 img_name = '%s_fd_mode_%s.jpg' % (os.path.join(self.log_path,
113 image_processing_utils.write_image(img, img_name)
Dtest_effects.py84 img_name = '%s_%s.jpg' % (os.path.join(self.log_path,
86 image_processing_utils.write_image(img, img_name)
Dtest_format_combos.py136 img_name = (f'{name_with_path}_{n:02d}_{req_str}_fmt{f}_'
138 image_processing_utils.write_image(img, img_name)
Dtest_faces.py139 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/
Dtest_zoom.py128 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/
Dtest_num_faces.py111 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/
Dtest_num_faces.py111 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/
Dtest_num_faces.py111 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/
Dtest_num_faces.py111 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/
Dtest_3a_consistency.py100 img_name = '%s_%d.jpg' % (os.path.join(self.log_path, _NAME), i)
101 image_processing_utils.write_image(img, img_name)
Dtest_lens_movement_reporting.py87 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/
Dopencv_processing_utils.py330 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/
Drun_all_tests.py236 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)