/pdk/apps/CameraITS/tests/scene0/ |
test_camera_properties.py | 15 import its.caps namespace 16 import its.device namespace 17 import its.objects namespace 24 with its.device.ItsSession() as cam: 30 if its.caps.manual_sensor(props): 37 print "JPG sizes:", its.objects.get_available_output_sizes("jpg", props) 38 print "RAW sizes:", its.objects.get_available_output_sizes("raw", props) 39 print "YUV sizes:", its.objects.get_available_output_sizes("yuv", props)
|
test_capture_result_dump.py | 15 import its.caps namespace 16 import its.image namespace 17 import its.device namespace 18 import its.objects namespace 19 import its.target namespace 26 with its.device.ItsSession() as cam: 30 if not its.caps.manual_sensor(props): 34 req,fmt = its.objects.get_fastest_manual_capture_settings(props)
|
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 28 with its.device.ItsSession() as cam: 30 if not its.caps.manual_sensor(props): 38 reqs = [its.objects.manual_capture_request(s,e) for s in sens_list] 39 _,fmt = its.objects.get_fastest_manual_capture_settings(props)
|
test_metadata.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 18 import its.target namespace 19 import its.caps namespace 28 with its.device.ItsSession() as cam: 32 auto_req = its.objects.auto_capture_request() 37 print " Legacy:", its.caps.legacy(props) 38 print " Limited:", its.caps.limited(props) 39 print " Full:", its.caps.full(props [all...] |
/pdk/apps/CameraITS/tests/scene1/ |
test_yuv_plus_jpeg.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 33 with its.device.ItsSession() as cam: 35 if not its.caps.compute_target_exposure(props): 40 # should look the same (once converted by the its.image module). 41 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 42 req = its.objects.manual_capture_request(s, e, True [all...] |
test_yuv_plus_dng.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 26 with its.device.ItsSession() as cam: 28 if (not its.caps.raw(props) or 29 not its.caps.read_3a(props)): 35 req = its.objects.auto_capture_request() 38 img = its.image.convert_capture_to_rgb_image(cap_yuv) 39 its.image.write_image(img, "%s.jpg" % (NAME) [all...] |
test_jpeg.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 30 with its.device.ItsSession() as cam: 32 if not its.caps.compute_target_exposure(props): 36 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 37 req = its.objects.manual_capture_request(s, e, True) 40 size = its.objects.get_available_output_sizes("yuv", props)[0 [all...] |
test_yuv_plus_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 30 with its.device.ItsSession() as cam: 32 if (not its.caps.compute_target_exposure(props) or 33 not its.caps.raw16(props)): 38 # should look the same (once converted by the its.image module). 39 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime" [all...] |
test_yuv_plus_raw10.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 30 with its.device.ItsSession() as cam: 33 if (not its.caps.compute_target_exposure(props) or 34 not its.caps.raw10(props)): 39 # should look the same (once converted by the its.image module). 40 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime" [all...] |
test_param_flash_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 27 with its.device.ItsSession() as cam: 29 if not its.caps.compute_target_exposure(props): 40 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 42 req = its.objects.manual_capture_request(s, e, True) 49 img = its.image.convert_capture_to_rgb_image(cap [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 if not its.caps.manual_sensor(props): 46 req = its.objects.manual_capture_request(sens_range[0], expt_range[0]) 48 img = its.image.convert_capture_to_rgb_image(cap) 49 its.image.write_image(img, "%s_black.jpg" % (NAME)) 50 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1 [all...] |
test_param_noise_reduction.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 if not its.caps.compute_target_exposure(props): 52 e, s = its.target.get_target_exposure_combos(cam)["minSensitivity"] 53 req = its.objects.manual_capture_request(s, e) 56 its.image.write_image [all...] |
test_burst_sameness_manual.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: 42 if not its.caps.manual_sensor(props): 46 _, fmt = its.objects.get_fastest_manual_capture_settings(props) 47 e, s = its.target.get_target_exposure_combos(cam)["minSensitivity"] 48 req = its.objects.manual_capture_request(s, e [all...] |
test_tonemap_sequence.py | 15 import its.image namespace 16 import its.caps namespace 17 import its.device namespace 18 import its.objects namespace 32 with its.device.ItsSession() as cam: 34 if (not its.caps.manual_sensor(props) or 35 not its.caps.manual_post_proc(props)): 44 req = its.objects.manual_capture_request(sens, exp_time, True) 47 img = its.image.convert_capture_to_rgb_image(cap) 48 its.image.write_image(img, "%s_i=%d.jpg" % (NAME, i) [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 31 with its.device.ItsSession() as cam: 33 if not its.caps.compute_target_exposure(props): 37 _,fmt = its.objects.get_fastest_manual_capture_settings(props) 43 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 44 manual_req = its.objects.manual_capture_request(s,e) 47 precap_req = its.objects.manual_capture_request(s,e [all...] |
test_raw_sensitivity.py | 15 import its.device namespace 16 import its.caps namespace 17 import its.objects namespace 18 import its.image namespace 35 with its.device.ItsSession() as cam: 38 if (not its.caps.raw16(props) or 39 not its.caps.manual_sensor(props) or 40 not its.caps.read_3a(props)): 54 req = its.objects.manual_capture_request(s, e) 61 plane = its.image.convert_capture_to_planes(cap, props)[1 [all...] |
test_auto_vs_manual.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 if (not its.caps.manual_sensor(props) or 36 not its.caps.manual_post_proc(props)): 42 xform_rat = its.objects.float_to_rational(xform) 49 req = its.objects.auto_capture_request() 51 img_auto = its.image.convert_capture_to_rgb_image(cap_auto [all...] |
test_yuv_jpeg_all.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 30 with its.device.ItsSession() as cam: 32 if not its.caps.compute_target_exposure(props): 37 # should look the same (once converted by the its.image module). 38 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 39 req = its.objects.manual_capture_request(s, e, True [all...] |
test_latching.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 34 with its.device.ItsSession() as cam: 36 if not its.caps.full(props): 40 _,fmt = its.objects.get_fastest_manual_capture_settings(props) 41 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 49 its.objects.manual_capture_request(s, e, True) [all...] |
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 if not its.caps.compute_target_exposure(props): 45 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"] 56 req = its.objects.manual_capture_request(s,e) 65 img = its.image.convert_capture_to_rgb_image(cap [all...] |
/pdk/apps/CameraITS/tests/inprog/ |
test_test_patterns.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 25 with its.device.ItsSession() as cam: 28 req = its.objects.manual_capture_request(100, 10*1000*1000) 36 img = its.image.convert_capture_to_rgb_image(caps[1]) 37 its.image.write_image(img, "%s_pattern=%d.jpg" % (NAME, i))
|
test_faces.py | 15 import its.image namespace 16 import its.device namespace 17 import its.objects namespace 25 with its.device.ItsSession() as cam: 27 req = its.objects.auto_capture_request()
|
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 if not its.caps.manual_sensor(props): 46 _, fmt = its.objects.get_fastest_manual_capture_settings(props) 53 req = its.objects.auto_capture_request() 69 imgs[n] = its.image.convert_capture_to_rgb_image(cap) 70 tile = its.image.get_image_patch(imgs[n], 0.45, 0.45, 0.1, 0.1 [all...] |
/pdk/apps/CameraITS/tools/ |
config.py | 15 import its.device namespace 16 import its.target namespace 22 This program is just a wrapper around the its.target module, to allow the 50 with its.device.ItsSession() as cam: 52 its.target.clear_cached_target_exposure() 53 exposure = its.target.get_target_exposure(cam) 57 its.target.set_hardcoded_exposure(exposure)
|
/pdk/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...] |