estimateColorMixture {soilDB} | R Documentation |
Estimate color mixtures using weighted average of CIELAB color coordinates
Description
Estimate color mixtures using weighted average of CIELAB color coordinates
Usage
estimateColorMixture(x, wt = "pct", backTransform = FALSE)
Arguments
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 |
Value
A data.frame containing estimated color mixture
Note
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')
.
Author(s)
D.E. Beaudette
[Package soilDB version 2.8.3 Index]