readhyperspec
The readhyperspec function imports hyperspectral image matrices created with LUMOS.
Usage:
IM = readhyperspec(file)
Where:
| Parameter | Description |
IM | Is the return struct containing the fields: – lambda: containing the wavelengths– image: containing the 3D image matrix with wavelengths in 3rd dim |
file | Specifies the filename. |
Example
Read hyperspectal LUMOS image and plot RGB image:
IM = readhyperspec('hyperspec.mat');
RGB = hyperspec2srgb(IM);
imshow(RGB,[])
See also: hyperspec2srgb
Result:

Reference:
Rudawski, Frederic, The spectral radiosity simulation program LUMOS, 2022, DOI: 10.5281/zenodo.7275807, URL: https://github.com/Frudawski/LUMOS