Displaying 1 result from an estimated 1 matches for "colorcalchelp".
2006 Mar 02
1
extracting RGB values from a colorspace class object
...0.8 2 0.479 0.439 0.943
2.5Y 0.8 4 0.82 0.64 0.943
2.5Y 1 2 0.4362 0.4177 1.21
I have converted xyY coordinates to XYZ coordinates, based on the equations
presented here:
http://www.brucelindbloom.com/index.html?ColorCalcHelp.html
#read in the soil colors: munsell + xyY
soil <- read.table("soil_colors", header=F,
col.names=c("H","V","C","x","y","Y"))
#convert to XYZ
X <- (soil$x * soil$Y ) / soil$y
Y <- soil$Y
Z <- ( (1- soil$x - soil$y...