Searched refs:chart (Results 1 – 6 of 6) sorted by relevance
/cts/apps/CameraITS/tests/scene3/ |
D | test_edge_enhancement.py | 36 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)
|
D | test_flip_mirror.py | 41 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)
|
D | test_reprocess_edge_enhancement.py | 70 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,
|
D | test_lens_movement_reporting.py | 41 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/ |
D | opencv_processing_utils.py | 230 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
|
D | image_processing_utils.py | 918 chart = cv2.imread(chart_file, cv2.IMREAD_ANYDEPTH) 919 white_level = numpy.amax(chart).astype(float) 922 chart_blurred = cv2.blur(chart, (blur, blur))
|