search for: tristimulus

Displaying 2 results from an estimated 2 matches for "tristimulus".

2013 Jun 12
2
grDevices::convertColor XYZ space is it really xyY?
grDevices::convertColor has arguments 'from' and 'to' which can take on value 'XYZ'. Can someone confirm that 'XYZ' is the same as the CIE chromaticity coordinates that are also sometimes refered to as 'xyY' in the literature? Or are these the CIE tristimulus values? It looks to me like the first case is true, but I would appreciate hearing from one of the people in the know. Thanks, Bryan
2018 Sep 14
1
Possible bug with chromatic adaptation in grDevices::convertColor
...# Error in match.arg(from, nWhite) :??? ##?? 'arg' must be NULL or a character vector This appears to be because `grDevices:::chromaticAdaptation` expects the whitepoints to be provided in the character format (e.g. "D65"), but they are already converted by `convertColor` into the tristimulus values.? After applying the patch at the end of this e-mail, we get: ??? clr.out <- convertColor(clr, "sRGB", "sRGB", "D65", "D50")??? rgb(clr.out)??? ## [1] "#DACAB0" "#FEECCE" I do not have a great way of confirming that the conversio...