M_TToT

>Psychtoolbox>PsychColorimetric

[M] = M_TToT(Tsource,Tdest)
[M,dest] = M_TToT(Tsource,Tdest,source)

Compute the conversion matrix between two color
spaces with known color matching functions.

M - the conversion matrix
(n_chromacy by n_chromacy)

Tsource - source color matching functions
(n_wavelengths by n_chromacy)
Tdest - destination color matching functions
(n_wavelengths by n_chromacy)

OPTIONAL

source - source tristimulus vectors
(n_chromacy by n_lights)
dest - destination tristimulus vectors
(n_chromacy by n_lights)

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychColorimetric/M_TToT.m