R/continuum_removal.R
continuum_removal.Rd
Computes continuum removal for matrix shaped data: more efficient than processing individual spectra the convex hull is based on the computation of the derivative between R at a given spectral band and R at the following bands
continuum_removal(mat_init, spectral_bands, p = NULL)
samples from image and updated number of pixels to sampel if necessary