Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

estimateColorMixture

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 aqp::rgb2Munsell default: FALSE

Value

A data.frame containing estimated color mixture

Note

See mixMunsell for a more realistic (but slower) simulation of subtractive mixing of pigments.

Author(s)

D.E. Beaudette


soilDB

Soil Database Interface

v2.6.1
GPL (>= 3)
Authors
Dylan Beaudette [aut], Jay Skovlin [aut], Stephen Roecker [aut], Andrew Brown [aut, cre]
Initial release
2021-04-7

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.