Docs @ Psychtoolbox Wiki : VideoCaptureLatencyTest

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

VideoCaptureLatencyTest

PsychtoolboxPsychTests

VideoCaptureLatencyTest

This routine tests the latency of Videocapture for
a given Camera -> Computer -> PTB -> gfx-card -> display combo.

Working principle and usage:


1. Point camera to monitor so that cameras field of view captures monitor
display area.

2. Calibration: First a black screen is shown to the cam and captured to
find the average intensity of an image of a black display.
Then (over ten trials), the screen turns white and the script measures
the time delay between onset of white screen and arrival of a captured
image with at least 25% more intensity than the 'black'-image -- our
white image. This procedure is repeated 10 times and latencies averaged.

-> Rough estimate of delay from scene change to arrival of frame.
-> You have to add the display onset delay if captured image should be
shown to subject for video feedback loops.

Parameters:


texfetch == 0 Measure only capture latency. 1 == Measure texture fetch
latency as well. 2 == Measure drawing and onset latency as well.

History:
2/9/06 mk Written.




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


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