Docs @ Psychtoolbox Wiki : GratingNull

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

GratingNull

PsychtoolboxPsychCal

foreWeight=GratingNull(device,message,forePart,blendPeriodPix,[foreColor],[backColor],[viewingDistanceM],[dpi])
GratingNull obtains visual matches that allow calibration of a video monitor's gamma.
Finds the "matchColor" (dac triplet) that produces a visual match to a two-color optical mixture
of foreColor and backColor of which the proportion forePart is the
"foreground" color. The matchColor is a weighted average, with the weight adjusted by the viewer,
of foreColor and backColor.
matchColor=foreWeight*foreColor+(1-foreWeight)*backColor;
The program returns foreWeight.
The blend grating is very fine (normally 60 c/deg).
The spatial periodicity of the grating for the visual match is
optimal (i.e. 3 c/deg) at the specified viewing distance.
If dpi is omitted it is assumed to be 66.
If viewing distance is omitted it is assumed to be the distance at which
the mixture spatial frequency is 60 c/deg.

Denis Pelli 6/1/97




Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychCal/GratingNull.m


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