Applies Kubelka-Munk (km) transformation to data matrix (spectra)
Usage
prep.ref2km(spectra)
Arguments
spectra
a matrix with spectra values (absolute reflectance values)
Value
preprocessed spectra.
Details
Kubelka-Munk is useful preprocessing method for diffuse reflection spectra (e.g. taken for
powders or rough surface). It transforms the reflectance spectra R to K/M units as follows:
(1 - R)^2 / 2R