View source: R/estimateColorMixture.R
estimateColorMixture | R Documentation |
Estimate color mixtures using weighted average of CIELAB color coordinates
estimateColorMixture(x, wt = "pct", backTransform = FALSE)
x |
data.frame, typically from NASIS containing at least CIE LAB ('L', 'A', 'B') and some kind of weight |
wt |
fractional weights, usually area of hz face |
backTransform |
logical, should the mixed sRGB representation of soil color be transformed to closest Munsell chips? This is performed by |
A data.frame containing estimated color mixture
See aqp::mixMunsell()
for a more realistic (but slower) simulation of subtractive mixing of pigments. An efficient replacement for this function (wt. mean in CIELAB coordinates) is implemented in aqp::mixMunsell(..., mixingMethod = 'estimate')
.
D.E. Beaudette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.