Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DImageCompare.java30 private static double luma(int pixel) { in luma() method in ImageCompare
70 final double Y1 = luma(pixel1); in psnr()
71 final double Y2 = luma(pixel2); in psnr()
/cts/apps/CameraITS/tests/scene2_b/
Dtest_auto_per_frame_control.py101 def _tabulate_frame_data(metadata, luma, raw_cap, debug): argument
122 ae_state, iso, isp_gain, exp_time, total_gain, luma)
263 luma = _compute_frame_luma(cap, props, raw_cap)
265 cap['metadata'], luma, raw_cap, debug)
268 lumas.append(luma)
290 for j, luma in enumerate(lumas):
293 (_VALID_LUMA_MIN > luma or luma > _VALID_LUMA_MAX)):
/cts/apps/CameraITS/tests/scene1_1/
Dtest_ev_compensation_basic.py58 luma = image_processing_utils.compute_image_means(patch)[0]
59 return luma
127 luma = extract_luma_from_capture(cap)
128 luma_locked.append(luma)
130 lumas.append(luma)
Dtest_ev_compensation_advanced.py60 luma = image_processing_utils.compute_image_means(patch)[0]
61 return luma
152 for i, luma in enumerate(lumas):
155 ev_steps[i], luma, expected_lumas[i], luma_delta_atol)
156 if not math.isclose(luma, expected_lumas[i],
/cts/apps/CameraITS/tests/scene2_a/
Dtest_jpeg_quality.py153 luma = np.array(jpeg[luma_start: luma_start + dqt_size])
155 lumas.append(np.mean(luma))
159 logging.debug(' luma:%s', luma.reshape(h, h))
/cts/apps/CameraITS/utils/
Dimage_processing_utils.py696 luma = img[:, :, 0]
698 luma = convert_rgb_to_grayscale(img)
699 gy, gx = numpy.gradient(luma)