/cts/apps/CameraITS/tests/scene1/ |
test_param_tonemap_mode.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 39 with its.device.ItsSession() as cam: 41 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 42 its.caps.per_frame_control(props)) 44 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime" [all...] |
test_black_white.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 33 with its.device.ItsSession() as cam: 35 its.caps.skip_unless(its.caps.manual_sensor(props) and 36 its.caps.per_frame_control(props)) 45 req = its.objects.manual_capture_request(sens_range[0], expt_range[0]) 47 img = its.image.convert_capture_to_rgb_image(cap [all...] |
test_param_color_correction.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 38 with its.device.ItsSession() as cam: 40 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 41 its.caps.per_frame_control(props)) 44 e, s = its.target.get_target_exposure_combos(cam)["midSensitivity" [all...] |
test_ae_precapture_trigger.py | 15 import its.device namespace 16 import its.caps namespace 17 import its.objects namespace 18 import its.target namespace 36 with its.device.ItsSession() as cam: 38 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 39 its.caps.per_frame_control(props)) 41 _,fmt = its.objects.get_fastest_manual_capture_settings(props) 47 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime" [all...] |
test_linearity.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 48 with its.device.ItsSession() as cam: 50 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 51 its.caps.per_frame_control(props)) 53 e,s = its.target.get_target_exposure_combos(cam)["midSensitivity" [all...] |
test_raw_burst_sensitivity.py | 15 import its.device namespace 16 import its.caps namespace 17 import its.objects namespace 18 import its.image namespace 37 with its.device.ItsSession() as cam: 40 its.caps.skip_unless(its.caps.raw16(props) and 41 its.caps.manual_sensor(props) and 42 its.caps.read_3a(props) and 43 its.caps.per_frame_control(props) [all...] |
test_ev_compensation_advanced.py | 15 import its.image namespace 16 import its.device namespace 17 import its.caps namespace 18 import its.objects namespace 32 with its.device.ItsSession() as cam: 34 its.caps.skip_unless(its.caps.manual_sensor(props) and 35 its.caps.manual_post_proc(props) and 36 its.caps.per_frame_control(props) and 37 its.caps.ev_compensation(props) [all...] |
test_exposure.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 45 with its.device.ItsSession() as cam: 47 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 48 its.caps.per_frame_control(props)) 50 e,s = its.target.get_target_exposure_combos(cam)["minSensitivity" [all...] |
test_crop_regions.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 36 with its.device.ItsSession() as cam: 38 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 39 its.caps.freeform_crop(props) and 40 its.caps.per_frame_control(props) [all...] |
test_format_combos.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.error namespace 20 import its.target namespace 33 with its.device.ItsSession() as cam: 36 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 37 its.caps.raw16(props) [all...] |
test_crop_region_raw.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 31 with its.device.ItsSession() as cam: 33 its.caps.skip_unless(its.caps.compute_target_exposure(props) and 34 its.caps.raw16(props) and 35 its.caps.per_frame_control(props) [all...] |
test_dng_noise_model.py | 15 import its.device namespace 16 import its.caps namespace 17 import its.objects namespace 18 import its.image namespace 36 # (since ITS doesn't require a perfectly uniformly lit scene). 40 with its.device.ItsSession() as cam: 43 its.caps.skip_unless(its.caps.raw(props) and 44 its.caps.raw16(props) and 45 its.caps.manual_sensor(props) an [all...] |
test_locked_burst.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 37 with its.device.ItsSession() as cam: 44 req = its.objects.fastest_auto_capture_request(props) 55 img = its.image.convert_capture_to_rgb_image(cap) 56 its.image.write_image(img, "%s_frame%d.jpg"%(NAME,i)) 57 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 58 means = its.image.compute_image_means(tile)
|
/cts/apps/CameraITS/tests/scene0/ |
test_param_sensitivity_burst.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 29 with its.device.ItsSession() as cam: 31 its.caps.skip_unless(its.caps.manual_sensor(props) and 32 its.caps.per_frame_control(props)) 38 reqs = [its.objects.manual_capture_request(s,e) for s in sens_list [all...] |
test_unified_timestamps.py | 15 import its.device namespace 16 import its.objects namespace 17 import its.caps namespace 24 with its.device.ItsSession() as cam: 28 its.caps.skip_unless(its.caps.sensor_fusion(props)) 31 req, fmt = its.objects.get_fastest_manual_capture_settings(props)
|
test_jitter.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 34 with its.device.ItsSession() as cam: 36 its.caps.skip_unless(its.caps.manual_sensor(props) and 37 its.caps.sensor_fusion(props)) 39 req, fmt = its.objects.get_fastest_manual_capture_settings(props)
|
test_gyro_bias.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 39 with its.device.ItsSession() as cam: 42 its.caps.skip_unless(its.caps.sensor_fusion(props))
|
/cts/apps/CameraITS/tests/ |
tutorial.py | 20 # The ITS modules that are in the pymodules/its/ directory. To see formatted 23 # > pydoc its.image 25 import its.image namespace 26 import its.device namespace 27 import its.objects namespace 28 import its.target namespace 47 """Tutorial script to show how to use the ITS infrastructure. 59 with its.device.ItsSession() as cam: 68 req = its.objects.manual_capture_request(200, 50*1000*1000 [all...] |
/cts/apps/CameraITS/tests/inprog/ |
test_burst_sameness_auto.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 38 with its.device.ItsSession() as cam: 42 its.caps.skip_unless(its.caps.manual_sensor(props)) 44 _, fmt = its.objects.get_fastest_manual_capture_settings(props) 51 req = its.objects.fastest_auto_capture_request(props) 67 imgs[n] = its.image.convert_capture_to_rgb_image(cap [all...] |
test_param_edge_mode.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 38 with its.device.ItsSession() as cam: 43 img = its.image.convert_capture_to_rgb_image(cap) 44 its.image.write_image(img, "%s_mode=%d.jpg" % (NAME, e))
|
test_crop_region.py | 16 import its.image namespace 17 import its.device namespace 18 import its.objects namespace 31 with its.device.ItsSession() as cam: 38 reqs = [its.objects.auto_capture_request()] 43 req = its.objects.auto_capture_request() 59 img = its.image.convert_capture_to_rgb_image(cap) 61 its.image.write_image(img, "%s_img%d.jpg"%(name,i))
|
test_burst_sameness_fullres_auto.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 40 with its.device.ItsSession() as cam: 44 w,h = its.objects.get_available_output_sizes("yuv", props)[0] 50 req = its.objects.fastest_auto_capture_request(props) 63 imgs[n] = its.image.downscale_image( 64 its.image.convert_capture_to_rgb_image(cap), 4) 69 its.image.write_image(imgs[i], "%s_frame%03d.jpg"%(NAME,i)) 73 its.image.write_image(img_mean, "%s_mean.jpg"%(NAME) [all...] |
test_blc_lsc.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 35 with its.device.ItsSession() as cam: 57 awb_transform_rat = its.objects.float_to_rational(awb_transform) 64 req = its.objects.manual_capture_request(ae_sen,e) 75 img = its.image.convert_capture_to_rgb_image(cap) 76 its.image.write_image(img, "%s_i=%d.jpg"%(NAME, i)) 78 tile_center = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 79 rgb_means = its.image.compute_image_means(tile_center [all...] |
test_3a_remote.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 30 with its.device.ItsSession() as cam: 39 req = its.objects.auto_capture_request() 59 print "Transform:", [its.objects.rational_to_float(t)
|
/cts/apps/CameraITS/tests/inprog/scene2/ |
test_dng_tags.py | 15 import its.image namespace 16 import its.device namespace 17 import its.dng namespace 18 import its.objects namespace 27 with its.device.ItsSession() as cam: 38 dng_illum = [its.dng.D65, its.dng.A] 46 cap = cam.do_capture(its.objects.auto_capture_request()) 48 ccm = its.objects.rational_to_float( 50 cal = its.objects.rational_to_float(props[cal_str[i]] [all...] |