readhyperspec

The readhyperspec function imports hyperspectral image matrices created with LUMOS.

Usage:

IM = readhyperspec(file)

Where:

ParameterDescription
IMIs the return struct containing the fields:
lambda: containing the wavelengths
image: containing the 3D image matrix with wavelengths in 3rd dim
fileSpecifies 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


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.