Elaboration and Application of Algorithms Performing Feature Selection in the Wavelet Domain for Analysis of NIR based data