function [XYZ] = toxyz(RGBlin)

%% Accepts a matrix of linear [R,G,B]' values, and converts to XYZ.
%%
%% created: JSB 3/00

load ../data/rgb2xyz

XYZ = rgb2xyz*RGBlin;
