Home
last modified time | relevance | path

Searched refs:log_path (Results 1 – 25 of 67) sorted by relevance

123

/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))
67 log_path = self.log_path
80 log_path, cam)['midExposureTime']
89 rgb_means_yuv = compute_img_means_and_save(img, 'yuv', log_path)
97 rgb_means_jpg = compute_img_means_and_save(img, 'jpg', log_path)
Dtest_black_white.py45 def do_img_capture(cam, s, e, fmt, latency, cap_name, log_path): argument
65 img, '%s_%s.jpg' % (os.path.join(log_path, NAME), cap_name))
109 log_path = self.log_path
114 black_means = do_img_capture(cam, s, e, fmt, latency, 'black', log_path)
122 white_means = do_img_capture(cam, s, e, fmt, latency, 'white', log_path)
136 os.path.join(log_path, NAME)))
Dtest_auto_vs_manual.py36 def extract_awb_gains_and_xform(cap, cap_name, log_path): argument
49 os.path.join(log_path, NAME), cap_name))
77 log_path = self.log_path
105 cap_auto, 'auto', log_path)
113 cap_man1, 'manual_wb', log_path)
122 cap_man2, 'manual_wb_tm', log_path)
Dtest_capture_result.py53 def draw_lsc_plot(lsc_map_w, lsc_map_h, lsc_map, name, log_path): argument
63 os.path.join(log_path, NAME), name, ch))
90 def test_auto(cam, props, log_path): argument
137 draw_lsc_plot(lsc_map_w, lsc_map_h, lsc_map, 'auto', log_path)
140 def test_manual(cam, props, log_path): argument
217 draw_lsc_plot(lsc_map_w, lsc_map_h, lsc_map, 'manual', log_path)
244 test_auto(cam, props, self.log_path)
245 test_manual(cam, props, self.log_path)
246 test_auto(cam, props, self.log_path)
Dtest_burst_sameness_manual.py62 log_path = self.log_path
76 log_path, cam)['minSensitivity']
101 imgs[0], '%s_frame000.jpg' % os.path.join(log_path, NAME))
108 imgs[i], '%s_frame%03d.jpg'%(os.path.join(log_path, NAME), i))
121 '%s_plot_means.png' % os.path.join(log_path, NAME))
Dtest_param_exposure_time.py54 log_path = self.log_path
71 log_path, cam)['midExposureTime']
81 img, '%s_frame%d.jpg' % (os.path.join(log_path, NAME), i))
98 plot_name = '%s_plot_means.png' % os.path.join(log_path, NAME)
Dtest_latching.py59 log_path = self.log_path
72 log_path, cam)['midExposureTime']
99 os.path.join(log_path, NAME), i))
119 log_path, NAME))
Dtest_exposure.py53 def plot_rgb_means(title, x, r, g, b, log_path): argument
74 plot_name = '%s_plot_means.png' % os.path.join(log_path, NAME)
78 def plot_raw_means(title, x, r, gr, gb, b, log_path): argument
102 plot_name = '%s_plot_raw_means.png' % os.path.join(log_path, NAME)
196 self.log_path, cam)['minSensitivity']
233 img, '%s_mult=%3.2f.jpg' % (os.path.join(self.log_path, NAME), m))
267 raw_b_means, self.log_path)
272 plot_rgb_means('RGB data', mults, r_means, g_means, b_means, self.log_path)
Dtest_crop_regions.py51 log_path = self.log_path
82 os.path.join(log_path, NAME), wfull, hfull))
110 os.path.join(log_path, NAME), i))
122 os.path.join(log_path, NAME), j))
Dtest_param_color_correction.py65 log_path = self.log_path
85 log_path, cam)['midSensitivity']
114 os.path.join(log_path, NAME), i))
134 '%s_plot_means.png' % os.path.join(log_path, NAME))
Dtest_param_noise_reduction.py64 log_path = self.log_path
82 log_path, cam)['minSensitivity']
88 rgb_image, '%s_low_gain.jpg' % os.path.join(log_path, NAME))
95 log_path, cam)['maxSensitivity']
116 os.path.join(log_path, NAME), mode))
144 matplotlib.pyplot.savefig('%s_plot_SNRs.png' % os.path.join(log_path, NAME))
/cts/apps/CameraITS/tests/scene1_2/
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))
68 log_path = self.log_path
89 log_path, cam)['midExposureTime']
93 rgb_means_yuv = compute_means_and_save(cap_yuv, 'yuv', log_path)
94 rgb_means_jpg = compute_means_and_save(cap_jpg, 'jpg', log_path)
Dtest_yuv_jpeg_all.py38 def do_capture_and_extract_rgb_means(req, cam, size, img_type, log_path, debug): argument
65 os.path.join(log_path, NAME), img_type, size[0], size[1]))
92 log_path = self.log_path
102 log_path, cam)['midExposureTime']
109 req, cam, size, 'yuv', log_path, debug))
114 req, cam, size, 'jpg', log_path, debug))
126 '%s_plot_means.png' % os.path.join(log_path, NAME))
Dtest_post_raw_sensitivity_boost.py43 def create_requests(cam, props, log_path): argument
63 log_path, cam)['midSensitivity']
97 def create_plots(idx, raw_means, yuv_means, log_path): argument
118 matplotlib.pyplot.savefig('%s_plot_means.png' % os.path.join(log_path, _NAME))
146 log_path = self.log_path
153 settings, reqs, out_surfaces = create_requests(cam, props, log_path)
166 os.path.join(log_path, _NAME), sens, sens_boost)
170 os.path.join(log_path, _NAME), sens, sens_boost)
178 create_plots(cap_idxs, raw_means, yuv_means, log_path)
Dtest_reprocess_noise_reduction.py43 def calc_rgb_snr(cap, frame, nr_mode, log_path): argument
58 os.path.join(log_path, _NAME), nr_mode))
64 def create_plot(snrs, reprocess_format, log_path): argument
80 os.path.join(log_path, _NAME), reprocess_format))
118 log_path = self.log_path
145 log_path, cam)['maxSensitivity']
163 log_path))
176 create_plot(snrs, reprocess_format, log_path)
Dtest_yuv_plus_raw12.py48 log_path = self.log_path
64 log_path, cam)['midExposureTime']
81 os.path.join(log_path, NAME), mode), True)
91 os.path.join(log_path, NAME), mode), True)
Dtest_yuv_plus_raw.py48 log_path = self.log_path
64 log_path, cam)['midExposureTime']
81 os.path.join(log_path, NAME), mode), True)
91 os.path.join(log_path, NAME), mode), True)
Dtest_yuv_plus_raw10.py48 log_path = self.log_path
64 log_path, cam)['midExposureTime']
81 os.path.join(log_path, NAME), mode), True)
91 os.path.join(log_path, NAME), mode), True)
Dtest_yuv_plus_dng.py42 log_path = self.log_path
67 img, '%s_yuv.jpg' % os.path.join(log_path, NAME))
69 with open('%s.dng'%(os.path.join(log_path, NAME)), 'wb') as f:
Dtest_tonemap_sequence.py43 cam, req, fmt, num_frames_per_cap, tonemap, log_path): argument
63 img, '%s_%s_%d.jpg' % (os.path.join(log_path, _NAME), tonemap, i))
93 log_path = self.log_path
135 cam, req, fmt, num_frames_per_cap, tonemap, log_path))
Dtest_param_tonemap_mode.py89 log_path = self.log_path
101 log_path, cam)['midExposureTime']
117 img_name = '%s_n=%d.jpg' % (os.path.join(log_path, _NAME), n)
141 img_name = '%s_size=%02d.jpg' % (os.path.join(log_path, _NAME), size)
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py94 def _collect_data(cam, fps, w, h, test_length, rot_rig, chart_dist, log_path): argument
179 with open('%s_events.txt' % os.path.join(log_path, _NAME), 'w') as f:
189 os.path.join(log_path, _NAME), i))
193 def _plot_gyro_events(gyro_events, log_path): argument
235 '%s_gyro_events.png' % (os.path.join(log_path, _NAME)))
292 def _get_cam_rotations(frames, facing, h, log_path): argument
313 file_name_stem = os.path.join(log_path, _NAME)
392 def _plot_best_shift(best, coeff, x, y, log_path): argument
414 '%s_plot_shifts.png' % os.path.join(log_path, _NAME))
417 def _plot_rotations(cam_rots, gyro_rots, log_path): argument
[all …]
/cts/apps/CameraITS/tests/scene2_e/
Dtest_continuous_picture.py42 def _capture_frames(cam, log_path, debug): argument
81 img, '%s_%d.jpg' % (os.path.join(log_path, _NAME), i))
109 log_path = self.log_path
125 cap_3a_state_list = _capture_frames(cam, log_path, debug)
/cts/apps/CameraITS/tests/scene3/
Dtest_flip_mirror.py41 def test_flip_mirror_impl(cam, props, fmt, chart, debug, log_path): argument
83 '%s_template.jpg' % os.path.join(log_path, NAME))
88 '%s_scene_patch.jpg' % os.path.join(log_path, NAME))
111 cv2.imwrite('%s_%s.jpg' % (os.path.join(log_path, NAME), orientation),
148 cam, props, self.log_path, chart_loc=chart_loc_arg)
152 test_flip_mirror_impl(cam, props, fmt, chart, debug, self.log_path)
Dtest_reprocess_edge_enhancement.py69 cam, edge_mode, sensitivity, exp, fd, out_surface, chart, log_path, argument
115 os.path.join(log_path, NAME), reprocess_format, edge_mode))
145 log_path = self.log_path
161 cam, props, self.log_path, chart_loc=chart_loc_arg)
198 cam, edge_mode, s, e, fd, out_surface, chart, log_path)
223 cam, edge_mode, s, e, fd, out_surface, chart, log_path,
240 os.path.join(log_path, NAME))

123