OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lumas
(Results
1 - 2
of
2
) sorted by null
/cts/apps/CameraITS/tests/scene1/
test_ev_compensation_basic.py
38
lumas
= []
52
lumas
.append(its.image.compute_image_means(tile)[0])
54
pylab.plot(evs,
lumas
, 'r')
58
while
lumas
and
lumas
[-1] == 1.0:
59
lumas
.pop(-1)
61
assert(len(
lumas
) > 2)
62
luma_diffs = numpy.diff(
lumas
)
test_ev_compensation_advanced.py
46
lumas
= []
66
lumas
.append(its.image.compute_image_means(tile)[0])
70
imid = len(
lumas
) / 2
71
expected_lumas = [
lumas
[imid] / pow(luma_increase_per_step, i)
73
[
lumas
[imid] * pow(luma_increase_per_step, i-imid)
76
pylab.plot(evs,
lumas
, 'r')
80
luma_diffs = [expected_lumas[i] -
lumas
[i] for i in range(len(evs))]
83
print "Max delta between modeled and measured
lumas
:", max_diff
84
print "Avg delta between modeled and measured
lumas
:", avg_diff
Completed in 54 milliseconds