How can I plot values from an XYZ image onto a CIE color space diagram?

2 次查看(过去 30 天)
here is the image I wouuld like to map it on: https://upload.wikimedia.org/wikipedia/commons/3/3b/CIE1931xy_blank.svg So far, I have generated coordinates from an xyz image as shown below (I'm not sure)
X = xyzImg(:, :, 1);
Y = xyzImg(:, :, 2);
Z = xyzImg(:, :, 3);
xCord = X / (X + Y + Z)
yCord = Y / (X + Y + Z)
I would like to map it onto the diagram to get the approximate wavelength, and ultimately, chlorophyll content. Is my code correct in finding the coordinates? and If so, how should I find the wavelength and/or the chlorophyll content?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modify Image Colors 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by