Classes | |
class | _object |
Functions | |
def | _swig_repr |
def | get_brightness_settings |
def | get_frame_rate |
def | get_gamma |
def | get_registers |
def | get_whitebalance |
def | set_auto |
def | set_brightness |
def | set_frame_rate |
def | set_gamma |
def | set_stereo_slaving |
def | set_whitebalance |
Variables | |
int | _newclass = 1 |
_object = types.ObjectType | |
dictionary | brightness_register_dict |
endCameraSetup = _camera_setup_lib.endCameraSetup | |
dictionary | fps_dict |
getCameraUID = _camera_setup_lib.getCameraUID | |
getRegister = _camera_setup_lib.getRegister | |
init_bus1394 = _camera_setup_lib.init_bus1394 | |
dictionary | register_dict |
setFrameRate = _camera_setup_lib.setFrameRate | |
setRegister = _camera_setup_lib.setRegister | |
dictionary | spf_dict |
def camera_setup_lib._swig_repr | ( | self | ) | [private] |
Definition at line 3 of file camera_setup_lib.py.
def camera_setup_lib.get_brightness_settings | ( | index | ) |
index would be the .device property of a Camera object [register function, register value]
Definition at line 88 of file camera_setup_lib.py.
def camera_setup_lib.get_frame_rate | ( | index | ) |
Get the frame rate
Definition at line 59 of file camera_setup_lib.py.
def camera_setup_lib.get_gamma | ( | index | ) |
Definition at line 105 of file camera_setup_lib.py.
def camera_setup_lib.get_registers | ( | index | ) |
index would be the .device property of a Camera object [register function, register value]
Definition at line 52 of file camera_setup_lib.py.
def camera_setup_lib.get_whitebalance | ( | index | ) |
Definition at line 113 of file camera_setup_lib.py.
def camera_setup_lib.set_auto | ( | index | ) |
Set a particular camera to automatically ajdust brightness and exposure
Definition at line 96 of file camera_setup_lib.py.
def camera_setup_lib.set_brightness | ( | index, | |
brightness = None , |
|||
exposure = None , |
|||
shutter_time = None , |
|||
gain = None |
|||
) |
If brightness is not specified auto mode is used for all settings. If shutter_time and gain are specified, exposure does nothing. All values should be set between 0-4095
Definition at line 119 of file camera_setup_lib.py.
def camera_setup_lib.set_frame_rate | ( | index, | |
rate | |||
) |
Definition at line 67 of file camera_setup_lib.py.
def camera_setup_lib.set_gamma | ( | index, | |
gamma | |||
) |
gamma: 0 or 1
Definition at line 108 of file camera_setup_lib.py.
def camera_setup_lib.set_stereo_slaving | ( | master, | |
slave | |||
) |
master and slave would be the .device property of Camera objects This function assumes that the right camera is slave off of the left
Definition at line 72 of file camera_setup_lib.py.
def camera_setup_lib.set_whitebalance | ( | index, | |
r_val, | |||
b_val | |||
) |
Definition at line 116 of file camera_setup_lib.py.
int camera_setup_lib::_newclass = 1 |
Definition at line 11 of file camera_setup_lib.py.
camera_setup_lib::_object = types.ObjectType |
Definition at line 10 of file camera_setup_lib.py.
dictionary camera_setup_lib::brightness_register_dict |
00001 { 'brightness': 0x800, 'exposure': 0x804, 00002 'shutter_time': 0x81c, 'gain': 0x820, 00003 'white_balance': 0x80c, 'gamma': 0x818}
Definition at line 26 of file camera_setup_lib.py.
camera_setup_lib::endCameraSetup = _camera_setup_lib.endCameraSetup |
Definition at line 20 of file camera_setup_lib.py.
dictionary camera_setup_lib::fps_dict |
00001 { 60:0xa0000000, 00002 30:0x80000000, 00003 # 20:0x70000000, 20 does not seem to be an 00004 # option 00005 15:0x60000000, 00006 7.5:0x40000000, 00007 3.75:0x20000000, 00008 1.875:0x10000000 }
Definition at line 34 of file camera_setup_lib.py.
camera_setup_lib::getCameraUID = _camera_setup_lib.getCameraUID |
Definition at line 19 of file camera_setup_lib.py.
camera_setup_lib::getRegister = _camera_setup_lib.getRegister |
Definition at line 22 of file camera_setup_lib.py.
camera_setup_lib::init_bus1394 = _camera_setup_lib.init_bus1394 |
Definition at line 18 of file camera_setup_lib.py.
dictionary camera_setup_lib::register_dict |
00001 { 'frame_rate': 0x600, 'trigger_mode': 0x830, 00002 'trigger_delay': 0x834, 'pio_direction': 0x11f8, 00003 'strobe_0_cnt': 0x1500 }
Definition at line 30 of file camera_setup_lib.py.
camera_setup_lib::setFrameRate = _camera_setup_lib.setFrameRate |
Definition at line 21 of file camera_setup_lib.py.
camera_setup_lib::setRegister = _camera_setup_lib.setRegister |
Definition at line 23 of file camera_setup_lib.py.
dictionary camera_setup_lib::spf_dict |
Definition at line 44 of file camera_setup_lib.py.