A MATLAB Toolbox for Hyperspectral Data (for ENVI Format)
A MATLAB Toolbox for Hyperspectral Data (for ENVI Format)
Download toolbox.
Toolbox comes with a user guide that explains how to manipulate hyperspectral data in ENVI format within the MATLAB environment. The toolbox includes several functions to read data from .hdr file into a MATLAB matrix (3 dimensional), visualize wavelengths separately with different color mappings, functions for normalization of hyperspectral data with reference, writing hyperspectral cube as tiff file, principal component analysis, visualization of point spectral properties, and hypercube alignment (registration).
Examplar function from the toolbox: plotpointspectra
Spectrum of the clicked points are written to a text file. Two figures will be displayed. Clicked points are marked on the image and its spectra is plotted on the second figure with same color.