hyperspec2unit
The hyperspec2unit function derives a photometric or radiometric image from a hyper-spectral image matrix. For example, from hyper-spectral images of the spectral simulation tool LUMOS.
Usage:
Y = hyperspec2unit(im,lam)
Where:
| Parameter | Description | 
| Y | Is the returned photomotric or radiometric image matrix. | 
| im | Is the hyperspectral image input struct or matrix: – struct containing the field lambda and image – 3-dim matrix \textrm{width}\times \textrm{height} \times \textrm{wavelengths} | 
| lam | Defines the wavelengths of the hyperspectral image, vector. | 
Examples
Plot melanopic image derived from hyperspectral image data:
IM = readhyperspec('hyperspec.mat');
Y = hyperspec2unit(IM,'mel');
plotfalsecolours(Y,'log','L_{e,mel} in W m^{-2} sr^{-1}')
See also: readhyperspec, plotfalsecolours
Result:
