Searched refs:gains (Results 1 – 12 of 12) sorted by relevance
/pdk/apps/CameraITS/tools/ |
D | compute_dng_noise_model.py | 128 gains = [d[0] for d in lines] 131 mS,bS = numpy.polyfit(gains, Ss, 1) 132 mO,bO = numpy.polyfit(gains, Os, 1) 135 pylab.plot(gains, [10*o for o in Os], 'r') 136 pylab.plot([gains[0],gains[-1]], 137 [10*mO*gains[0]+10*bO, 10*mO*gains[-1]+10*bO], 'b') 138 pylab.plot(gains, Ss, 'r') 139 pylab.plot([gains[0],gains[-1]], [mS*gains[0]+bS, mS*gains[-1]+bS], 'b')
|
/pdk/apps/CameraITS/tests/scene1/ |
D | test_capture_result.py | 117 gains = cap_res["android.colorCorrection.gains"] 124 print "Gains:", gains 135 assert(len(gains) == 4) 137 assert(all([g > 0 for g in gains])) 141 assert(any([not is_close_float(gains[i], manual_gains[i]) 161 gains = cap_res["android.colorCorrection.gains"] 171 print "Gains:", gains 185 assert(len(gains) == 4) 187 assert( all([is_close_float(gains[i], manual_gains_ok[0][i]) 189 all([is_close_float(gains[i], manual_gains_ok[1][i]) [all …]
|
D | test_3a.py | 30 sens, exp, gains, xform, focus = cam.do_3a(get_results=True) 32 print "AWB: gains", gains, "transform", xform 36 assert(len(gains) == 4)
|
D | test_auto_vs_manual.py | 41 sens, exp, gains, xform, focus = cam.do_3a(get_results=True) 44 print "AWB gains", gains 62 req["android.colorCorrection.gains"] = gains 91 assert(all([abs(gains[i] - g[i]) < 0.05 for i in range(4)]))
|
D | test_param_color_correction.py | 61 gains = [[1,1,1,1], [2,1,1,1], [1,1,1,1]] 73 req["android.colorCorrection.gains"] = gains[i]
|
/pdk/apps/CameraITS/pymodules/its/ |
D | dng.py | 23 def compute_cm_fm(illuminant, gains, ccm, cal): argument 89 G = numpy.array([[gains[0],0,0], [0,gains[1],0], [0,0,gains[3]]])
|
D | image.py | 218 def get_gains_in_canonical_order(props, gains): argument 231 return gains 234 return [gains[0], gains[2], gains[1], gains[3]] 259 gains = cap_res['android.colorCorrection.gains'] 266 gains = get_gains_in_canonical_order(props, gains) 280 gains = numpy.array([gains[i] for i in [0,1,3]]) 284 img = (((img.reshape(h,w,3) - black_levels) * scale) * gains).clip(0.0,1.0)
|
D | target.py | 59 sens, exp_time, gains, xform, _ \ 76 req["android.colorCorrection.gains"] = gains
|
/pdk/apps/CameraITS/tests/inprog/scene2/ |
D | test_dng_tags.py | 47 gains = cap["metadata"]["android.colorCorrection.gains"] 51 print "HAL reported gains:\n", numpy.array(gains) 61 cm, fm = its.dng.compute_cm_fm(dng_illum[i], gains, ccm, cal)
|
/pdk/apps/CameraITS/tests/inprog/ |
D | test_3a_remote.py | 50 gains = cap["metadata"]["android.colorCorrection.gains"] 58 print "Gains:", gains
|
D | test_param_edge_mode.py | 39 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
|
/pdk/apps/CameraITS/tests/ |
D | tutorial.py | 100 sens, exp, gains, xform, focus = cam.do_3a(get_results=True) 102 print "AWB: gains", gains, "transform", xform 119 req["android.colorCorrection.gains"] = gains
|