Docs @ Psychtoolbox Wiki : PsychSetupCamera

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

PsychSetupCamera

PsychtoolboxPsychVideoCapture

PsychSetupCamera(camsettingsfile, rate)

Setup basic camera settings like exposure time, brightness and gain.

The routine loads camera settings from 'camsettingsfile' if it
exists, otherwise it uses the cameras default settings.

Then it runs a video loop at 'rate' frames per second.

During the loop, the user can change settings by pressing:


'Cursor left' and 'Cursor right' keys to decrease or increase
exposure time.

'Cursor up' and 'Cursor down' to increase or decrease camera gain.

'b' and 'd' to increase or decrease brightness setting.

'w' to write the current settings to 'camsettingsfile', overwriting
the old file, if it already exists.

'ESC'ape key to finish setup.

If no rate is given, the loop runs at 30 Hz.
If no filename is given, 'CamSettings.mat' is read/written from
the current working directory.




Path   Retrieve current version of PsychSetupCamera.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychVideoCapture/PsychSetupCamera.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0212 seconds