Home > ISET > color > xyy2xyz.m

xyy2xyz

PURPOSE ^

Convert data from CIE xyY to CIE XYZ values

SYNOPSIS ^

function xyz = xyy2xyz(xyy)

DESCRIPTION ^

 Convert data from CIE xyY to CIE XYZ values

       xyz = xyy2xyz(xyy)

 Purpose:
    It is common to represent the color of a light using xyY (chromaticity
    coordinates and luminance). This routine converts from the xyY
    representation to the standard XYZ representation. 

    The values are all represented in n X 3 format.  For XYZ, the first
    column is X, second  column is Y and third is Z.  Similarly, the
    input columns must be x,y, and Y. 

 Formula:
    X = (x/y)*Y, 
    Z = ((1 - x - y)/y) * Y
    Also, note that Y/y = X+Y+Z

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 20-Nov-2008 22:09:04 by m2html © 2003