Home
last modified time | relevance | path

Searched refs:chart (Results 1 – 6 of 6) sorted by relevance

/cts/apps/CameraITS/tests/scene3/
Dtest_edge_enhancement.py36 cam, edge_mode, sensitivity, exp, fd, out_surface, chart, log_path): argument
70 chart.img = image_processing_utils.get_image_patch(
71 y, chart.xnorm, chart.ynorm, chart.wnorm, chart.hnorm)
74 chart.img, '%s_edge=%d.jpg' % (
78 image_processing_utils.compute_image_sharpness(chart.img)*255)
110 chart = opencv_processing_utils.Chart(cam, props, self.log_path)
132 cam, edge_mode, s, e, fd, out_surface, chart, self.log_path)
Dtest_flip_mirror.py41 def test_flip_mirror_impl(cam, props, fmt, chart, debug, log_path): argument
65 patch = image_processing_utils.get_image_patch(y, chart.xnorm, chart.ynorm,
66 chart.wnorm, chart.hnorm)
69 patch.astype(np.uint8), chart.scale)
146 chart = opencv_processing_utils.Chart(cam, props, self.log_path)
150 test_flip_mirror_impl(cam, props, fmt, chart, debug, self.log_path)
Dtest_reprocess_edge_enhancement.py70 cam, edge_mode, sensitivity, exp, fd, out_surface, chart, log_path, argument
110 chart.img = image_processing_utils.get_image_patch(
111 y, chart.xnorm, chart.ynorm, chart.wnorm, chart.hnorm)
114 chart.img, '%s_reprocess_fmt_%s_edge=%d.jpg' % (
118 image_processing_utils.compute_image_sharpness(chart.img)*255)
158 chart = opencv_processing_utils.Chart(cam, props, self.log_path)
196 cam, edge_mode, s, e, fd, out_surface, chart, log_path)
221 cam, edge_mode, s, e, fd, out_surface, chart, log_path,
Dtest_lens_movement_reporting.py41 cam, props, fmt, gain, exp, af_fd, chart, log_path): argument
84 chart.img = image_processing_utils.normalize_img(
86 y, chart.xnorm, chart.ynorm, chart.wnorm, chart.hnorm))
88 image_processing_utils.write_image(chart.img, img_name)
90 white_level * image_processing_utils.compute_image_sharpness(chart.img))
122 chart = opencv_processing_utils.Chart(cam, props, self.log_path)
131 cam, props, fmt, s, e, af_fd, chart, self.log_path)
/cts/apps/CameraITS/utils/
Dopencv_processing_utils.py230 chart, scene, s_factor = self._calc_scale_factors(cam, props, fmt, log_path)
247 if (scene_scaled.shape[0] < chart.shape[0] or
248 scene_scaled.shape[1] < chart.shape[1]):
251 scale, scene_scaled.shape, chart.shape)
253 result = cv2.matchTemplate(scene_scaled, chart, cv2.TM_CCOEFF)
276 h, w = chart.shape
Dimage_processing_utils.py918 chart = cv2.imread(chart_file, cv2.IMREAD_ANYDEPTH)
919 white_level = numpy.amax(chart).astype(float)
922 chart_blurred = cv2.blur(chart, (blur, blur))