Home
last modified time | relevance | path

Searched refs:lumas (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CameraITS/tests/scene1_1/
Dtest_ev_compensation_basic.py108 lumas = []
130 lumas.append(luma)
135 logging.debug('lumas in AE locked captures: %s', str(lumas))
142 pylab.plot(evs, lumas, '-ro')
149 while (lumas[-2] >= YUV_SAT_MIN/YUV_FULL_SCALE and
150 lumas[-1] >= YUV_SAT_MIN/YUV_FULL_SCALE and
151 len(lumas) > 2):
152 lumas.pop(-1)
156 if len(lumas) < NUM_UNSATURATED_EVS:
159 min_luma_diffs = min(np.diff(lumas))
Dtest_ev_compensation_advanced.py116 lumas = []
127 lumas.append(extract_luma_from_capture(cap))
133 logging.debug('lumas in AE locked captures: %s', str(lumas))
136 luma_normal = lumas[i_mid] / ev_shifts[i_mid]
143 pylab.plot(ev_steps, lumas, '-ro', label='measured', alpha=0.7)
152 for i, luma in enumerate(lumas):
/cts/apps/CameraITS/tests/scene2_a/
Dtest_jpeg_quality.py139 lumas = []
155 lumas.append(np.mean(luma))
174 lumas.append(np.mean(matrix))
179 return lumas, chromas
182 def plot_data(qualities, lumas, chromas, img_name): argument
185 logging.debug('luma DQT avgs: %s', str(lumas))
188 for i in range(lumas.shape[1]):
190 qualities, lumas[:, i], '-g' + SYMBOLS[i], label='luma_dqt' + str(i))
216 lumas = []
254 lumas.append(lumas_i)
[all …]
/cts/apps/CameraITS/tests/scene2_b/
Dtest_auto_per_frame_control.py50 def _check_delta_luma_vs_delta_gain(fmt, j, lumas, total_gains): argument
53 delta_luma = lumas[j] - lumas[j-1]
55 delta_luma_rel = delta_luma / lumas[j-1] * 100 # %
155 def _plot_data(lumas, gains, fmt, log_path): argument
164 norm_gains = [x / max(gains) * max(lumas) for x in gains]
167 pylab.plot(range(len(lumas)), lumas, '-g.', label='Center patch brightness')
174 ymin = min(norm_gains + lumas)
175 ymax = max(norm_gains + lumas)
247 lumas = []
268 lumas.append(luma)
[all …]