I added some functions to handle region of interest (ROI) from a large spectral image.
the "CreateSpectralMatrices.m" file , automatically cuts ROIs of 2000x2000 pixels from a large spectrum, so it can be handle (by parts) in MATLAB
Changes in the graphics and partial work on the preview generation