Skip to contents

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 aqp::col2Munsell() default: FALSE

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

D.E. Beaudette