Displaying 1 result from an estimated 1 matches for "luv_space".
Did you mean:
aux_space
2006 Mar 02
1
extracting RGB values from a colorspace class object
...- soil$y) * soil$Y ) / soil$y
#make an XYZ colorspace object:
require(colorspace)
soil_XYZ <- XYZ(X,Y,Z)
#visualize the new XYZ colorspace object in the L*U*V colorspace:
plot(as(soil_XYZ, "LUV"), cex=2)
here is an example of the output:
http://169.237.35.250/~dylan/temp/soil_colors-LUV_space.png
Somehow the plot() method in the colorspace package is converting color space
coordinates to their RGB values... Does anyone have an idea as to how to
access these RGB triplets?
Thanks in advance!
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at D...