MATLAB Programming/Psychtoolbox/Screen Commands/SetGamma

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Usage:

[oldGammaTable,dacSize]=Screen(windowPtrOrScreenNumber,'Gamma',[gammaTable],[dacSize])

Get/set the gamma table. The gamma table will usually be 256x1 or 256x3. Most users won't need this function.