LINCR: Library for (piecewise) LINear Continuum Removal Author: Brian D. Bue (bbue@rice.edu) ----- Usage ----- Please see README_C.txt or README_PYTHON.txt for usage information for the standalone (C) and python versions, respectively. ----- Algorithm summary ----- Calculates the continuum-removed signature for a given spectrum. We first locate the concave inflection points in the spectrum and connect them via straight line segments, forming the initial approximation to the continuum. Next we locate the bands for which this piecewise linear function underestimates the band's reflectance value, and add those bands to the continuum. Once the continuum is estimated, the continuum-removed representation is calculated according to: cr[i] = spectrum[i]/continuum[i] where spectrum is the input spectrum, continuum is the estimated continuum, and i is the index of the ith band. ----- Citation ----- Please cite the following paper if you publish any works using this code: B. D. Bue, E. Merényi, and B. Csathó, “Automated Labeling of Materials in Hyperspectral Imagery,” IEEE Trans. on Geoscience and Remote Sensing, vol. 48, no. 11, pp. 4059–4070, 2010. ----- Troubleshooting ----- If you receive CR values > 1, try reducing the value of the DIFFEPS variable in lincr.c. ----- Contact ----- Please contact the author (bbue@rice.edu) if you have any questions regarding this program. ----- Changelog ----- 08/11/14 - added Matlab functions ----- Copyright ----- Copyright 2010-2012 Rice University