Spectral and XYZ Color Functions
by Jeff Mather
01 Mar 2005
(Updated 04 Mar 2005)
No BSD License
Label plots with spectra. Convert wavelengths to RGB. Functions for color matching and illuminants.
Download Now
|
Watch this File
|
| File Information |
| Description |
This is the beginning of a set of functions for working with color as wavelengths (spectral color) and in the xyY and XYZ color spaces.
Current functionality includes:
spectrumLabel - Add a color bar containing the visible spectrum to a plot's X axis.
spectrumRGB - Converts wavelengths of light to equivalent RGB values (in the sRGB space).
colorMatchFcn - Raw data of popular color matching functions (spectra to XYZ) for various standard observers:
* CIE 1931 2-degree
* CIE 1964 10-degree
* CIE 1931 2-degree modified by Judd (1951)
* CIE 1931 2-degree modified by Judd (1951) and Vos (1978)
* Stiles and Burch 2-degree (1955)
* Stiles and Burch 10-degree (1959)
illuminant - Raw data for the A, D65, and E standard illuminants. |
| Required Products |
Image Processing Toolbox
|
| MATLAB release |
MATLAB 7.0.1 (R14SP1)
|
| Zip File Content |
|
| Other Files |
spectrumLabel.m, createSpectrum.m, spectrumRGB.m, illuminant.m, colorMatchFcn.m
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (10) |
| 21 Jul 2005 |
Wu John
|
|
|
| 01 Oct 2005 |
colour rainbow
|
|
|
| 18 Oct 2005 |
marwan reyadh
|
|
|
| 28 Oct 2005 |
Levent Onural
|
|
|
| 06 Apr 2006 |
ben taylor
|
|
|
| 03 Jan 2007 |
Vishnuvenkatesh Dhage
|
|
|
| 26 Apr 2007 |
NOne None
|
|
|
| 20 Jun 2007 |
jeongwoon lee
|
|
|
| 12 Dec 2007 |
Neeraj Adsul
|
|
|
| 07 Oct 2008 |
Franck Riberi
|
|
|
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com