Docs @ Psychtoolbox Wiki : ComputeDKLM

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

ComputeDKL_M

PsychtoolboxPsychColorimetric

M = ComputeDKL_M(bg,T_cones,T_Y)

Compute the matrix that converts between incremental cone
coordinates and DKL space.

The code follows that published by Brainard
as an appendix to Human Color Vision by Kaiser
and Boynton, but has been generalized to work
for passed cone fundamentals and luminosity
function.

These should be passed in standard Psychtoolbox
form (LMS in rows of T_cones; luminosity function
as single row vector T_Y).

The argument bg is the LMS cone coordinates of the
background that defines the space.

See DKLDemo for proper use of this function.

8/30/96 dhb Pulled it out.
4/9/05 dhb Allow passing of cones and luminance to be used.
11/17/05 dhb Require passing of cones and luminance.
dhb Fixed definition of M_raw to handle arbitrary L,M scaling.




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


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