search for: soil_color

Displaying 1 result from an estimated 1 matches for "soil_color".

Did you mean: soil_colors
2006 Mar 02
1
extracting RGB values from a colorspace class object
...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) * soil$Y ) / soil$y #make an XYZ colorspace object: require(colorspace) soil_XYZ &...