frudawski

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:

ParameterDescription
YIs the returned photomotric or radiometric image matrix.
imIs 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}
lamDefines the wavelengths of the hyperspectral image, vector.

Examples

Plot melanopic image derived from hyperspectral image data:

load hyperspec
Y = hyperspec2unit(hyperspec,'mel');
plotfalsecolours(Y,'log','L_{e,mel} in W m^{-2} sr^{-1}')

See also: plotfalsecolours

Result:

Leave a comment

* I accept the use of cookies as well as the terms in the privacy policy. I accept that data provided by me is processed and saved. I know that comments are saved and published after review.