Main Content

Hyperspectral Viewer

Visualize hyperspectral data

Since R2020a

Description

The Hyperspectral Viewer app visualizes hyperspectral data and enables you to create spectral profiles of points and regions in the data.

Note

This app requires the Hyperspectral Imaging Library for Image Processing Toolbox™. You can install the Hyperspectral Imaging Library for Image Processing Toolbox from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.

The Hyperspectral Imaging Library for Image Processing Toolbox requires desktop MATLAB®, as MATLAB Online™ or MATLAB Mobile™ do not support the library.

Hyperspectral Viewer app

Open the Hyperspectral Viewer App

  • MATLAB Toolstrip: On the Apps tab, under Image Processing and Computer Vision, click the Hyperspectral Viewer app icon.

  • MATLAB command prompt: Enter hyperspectralViewer. For more information, see Programmatic Use.

Examples

expand all

Construct a hypercube object with the Indian Pines hyperspectral data set.

hcube = hypercube('indian_pines.dat');

Open the Hyperspectral Viewer app with the Indian Pines data.

hyperspectralViewer(hcube);

Related Examples

Programmatic Use

expand all

hyperspectralViewer opens the Hyperspectral Viewer app.

hyperspectralViewer(hcube) opens the Hyperspectral Viewer app, loading the hypercube object hcube into the app.

hyperspectralViewer(cube) opens the Hyperspectral Viewer app, loading the 3-D array cube. When not loading a hypercube object, the capabilities of the app are limited.

hyperspectralViewer close closes all open Hyperspectral Viewer apps.

Version History

Introduced in R2020a

expand all

See Also

Objects