R/Lib_ContinuumRemoval.R
continuumRemoval.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
continuumRemoval(Minit, Spectral_Bands, p = NULL)
numeric. initial data matrix (nb samples x nb bands)
numeric. central wavelength for the spectral bands
list. progressor object for progress bar
samples from image and updated number of pixels to sampel if necessary