CIE Color Matching Functions
Updated 26 Jun 2015

View License

Function to return, and optionally plot, the 1931 CIE color matching functions.
You can use these curves to build X, Y, and Z images from a collection of individual spectral images.
With those X, Y, and Z images, you can then get the RGB image with the xyz2rgb() function of the Image Processing Toolbox. No toolboxes are required for this script.

Cite As

Image Analyst (2024). Get_xyz() (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes