Abstract
The Psychophysics Toolbox (PTB) is a package for psychophysics research developed by David Brainard and Denis Pelli (Brainard 1997; Pelli 1997) and recently by Mario Kleiner (Kleiner et al. 2007). This toolbox has been used extensively over the last decade (the first version was released in 1995), and it is very useful for running experiments needing audiovisual stimuli. PTB routines treat the computer (Linux, Mac, or Windows) as a display device, i.e., a frame buffer, a portion of memory generally placed within the graphics card where images are temporally stored. To do this, PTB interfaces MATLAB with a low-level computer language such as C. Hence, besides a number of.m functions, PTB includes low-level information included in MEX files. The most important MEX file is Screen.mex, which will be described in the current chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Please note that the codes presented in this book works with Psychtoolbox from version 3.
- 2.
OpenGL’s main purpose is to render two- and three-dimensional figures into a frame buffer. These figures are described as sequences of vertices (which define geometric objects) or pixels (which define images). OpenGL performs several processing steps on these data to convert them into pixels to create the image in the frame buffer.
References
Brainard DH (1997) The psychophysics toolbox. Spat Vis 10:433–436
Kleiner M, Brainard DH, Pelli DG (2007) What’s new in psychtoolbox-3? Perception (ECVP Abstract Supplement) 14
Pelli DG (1997) The VideoToolbox software for visual psychophysics: transforming numbers into movies. Spat Vis 10:437–442
Sekuler R, Sekuler AB, Lau R (1997) Sound alters visual motion perception. Nature 385:308
Suggested Readings
Tutorials for the Psychtoolbox can be found at the following web pages:
http://psychtoolbox.org/wikka.php?wakka=PsychtoolboxTutorial
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
Borgo, M., Soranzo, A., Grassi, M. (2012). Psychtoolbox: Video. In: MATLAB for Psychologists. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-2197-9_9
Download citation
DOI: https://doi.org/10.1007/978-1-4614-2197-9_9
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-2196-2
Online ISBN: 978-1-4614-2197-9
eBook Packages: Behavioral ScienceBehavioral Science and Psychology (R0)