Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tests/scene3/
Dtest_lens_position.py41 def test_lens_position(cam, props, fmt, sensitivity, exp, chart): argument
82 chart.img = its.image.normalize_img(its.image.get_image_patch(
83 y, chart.xnorm, chart.ynorm, chart.wnorm, chart.hnorm))
84 its.image.write_image(chart.img, '%s_stat_i=%d_chart.jpg' % (NAME, i))
86 chart.img)
109 chart.img = its.image.normalize_img(its.image.get_image_patch(
110 y, chart.xnorm, chart.ynorm, chart.wnorm, chart.hnorm))
111 its.image.write_image(chart.img, '%s_move_i=%d_chart.jpg' % (NAME, i))
113 chart.img)
129 chart = its.cv2image.Chart(CHART_FILE, CHART_HEIGHT, CHART_DISTANCE,
[all …]
Dtest_lens_movement_reporting.py40 def test_lens_movement_reporting(cam, props, fmt, gain, exp, af_fd, chart): argument
88 chart.img = its.image.normalize_img(its.image.get_image_patch(
89 y, chart.xnorm, chart.ynorm, chart.wnorm, chart.hnorm))
90 its.image.write_image(chart.img, '%s_i=%d_chart.jpg' % (NAME, i))
92 chart.img)
112 chart = its.cv2image.Chart(CHART_FILE, CHART_HEIGHT, CHART_DISTANCE,
125 d = test_lens_movement_reporting(cam, props, fmt, s, e, fd, chart)
Dtest_flip_mirror.py39 def test_flip_mirror(cam, props, fmt, chart): argument
67 patch = its.image.get_image_patch(y, chart.xnorm, chart.ynorm,
68 chart.wnorm, chart.hnorm)
70 patch = its.cv2image.scale_img(patch.astype(np.uint8), chart.scale)
128 chart = its.cv2image.Chart(CHART_FILE, CHART_HEIGHT, CHART_DISTANCE,
136 test_flip_mirror(cam, props, fmt, chart)
/cts/apps/CameraITS/tools/
Drun_all_tests.py344 chart = its.cv2image.Chart(SCENE3_FILE, chart_height,
348 chart.xnorm, chart.ynorm, chart.wnorm, chart.hnorm,
349 chart.scale)
/cts/apps/CameraITS/pymodules/its/
Dcv2image.py143 chart, scene, s_factor = self._calc_scale_factors(cam, props, fmt,
161 result = cv2.matchTemplate(scene_scaled, chart, cv2.TM_CCOEFF)
186 h, w = chart.shape
320 chart = cv2.imread(chart_file, cv2.IMREAD_ANYDEPTH)
321 white_level = numpy.amax(chart).astype(float)
324 blur = cv2.blur(chart, (j, j))