MATLAB Programming/Psychtoolbox/Screen Commands/GetClut

From Wikibooks, open books for an open world
< MATLAB Programming‎ | Psychtoolbox‎ | Screen Commands
Jump to: navigation, search

Usage:

clut=Screen(windowPtrOrScreenNumber,'GetClut',[bits])

Get the color lookup table (CLUT) of a video screen. The returned clut is a 3-column matrix with one row per RGB entry in the hardware CLUT. The clut values will be in the range 0 to 255 for an 8-bit CLUT.