prep.ref2km: Kubelka-Munk transformation

View source: R/prep.R

prep.ref2kmR Documentation

Kubelka-Munk transformation

Description

Applies Kubelka-Munk (km) transformation to data matrix (spectra)

Usage

prep.ref2km(data)

Arguments

data

a matrix with spectra values (absolute reflectance values)

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

Value

preprocessed spectra.


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.