Convert spectrum to color

版本 1.0.2 (389.5 KB) 作者: Tingbiao Guo
This simple script can convert reflective/transmissive spectra to color and plot it in the CIE 1931 diagram.
869.0 次下载
更新时间 2025/4/6

查看许可证

%It can load spectrum from an excel, the format should as follow:
%column 1: wavelength data(unit: nm/m)
%column 2 to n: reflectance/transmittance spectrum
%The default light source is D65,one can change light source in
%spectrum2XYZ function
%Author:Tingbiao Guo, Zhejiang University, email:tbguo@zju.edu.cn

引用格式

Tingbiao Guo (2025). Convert spectrum to color (https://www.mathworks.com/matlabcentral/fileexchange/98289-convert-spectrum-to-color), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2023a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.2

add function to calculate color gamut

1.0.1

bug delete.

1.0.0