Main Content

Hyperspectral Image Processing

Import, export, process, and visualize hyperspectral data

图像处理工具箱™高光谱成像braryprovides MATLAB®functions and tools for hyperspectral image processing and visualization.

Use the functions in this library to read, write, and process hyperspectral data captured by using the hyperspectral imaging sensors in a variety of file formats. The library supports national imagery transmission format (NITF), environment for visualizing images (ENVI), tagged image file format (TIFF), and metadata text extension (MTL) file formats.

The library presents a set of algorithms for endmember extraction, abundance map estimation, radiometric and atmospheric correction, dimensionality reduction, band selection, spectral matching, and anomaly detection.

TheHyperspectral Viewerapp enables you to read hyperspectral data, visualize individual band images and their histograms, create a spectrum plot for a pixel or region in a hyperspectral data cube, generate color or false-color representations of hyperspectral images, and display metadata.

To perform hyperspectral image analysis, download theImage Processing Toolbox Hyperspectral Imaging Libraryfrom the Add-On Explorer. For more information on downloading add-ons, seeGet and Manage Add-Ons.

Apps

Hyperspectral Viewer Visualize hyperspectral data

Functions

expand all

Read and Write

hypercube Read hyperspectral data
enviwrite Write hyperspectral data to ENVI file format
enviinfo Read metadata from ENVI header file

Band Selection and Band Removal

selectBands Select most informative bands
removeBands Remove spectral bands from data cube

ROI Selection

assignData Assign new data to hyperspectral data cube
cropData Crop regions-of-interest

Color Transformation

colorize Estimate color image of hyperspectral data
denoiseNGMeet Denoise hyperspectral images using non-local meets global approach
sharpencnmf Sharpen hyperspectral data using coupled nonnegative matrix factorization (CNMF) method

Radiometric Calibration

dn2radiance Convert digital number to radiance
dn2reflectance Convert digital number to reflectance
radiance2Reflectance Convert radiance to reflectance

Atmospheric Correction

correctOOB Correct out-of-band effect using sensor spectral response
empiricalLine Empirical line calibration on hyperspectral data cube
fastInscene Perform fast in-scene atmospheric correction
flatField Flat field correction on hyperspectral data cube
iarr Internal average relative reflectance (IARR) correction on hyperspectral data cube
logResiduals Log residual correction on hyperspectral data cube
rrs Compute remote sensing reflectance
subtractDarkPixel Subtract dark pixels from hyperspectral data cube
sharc Perform atmospheric correction using SHARC

Spectral Correction

reduceSmile Reduce spectral smile effect in hyperspectral data cube
hyperpca Principal component analysis of hyperspectral data
hypermnf Maximum noise fraction transform of hyperspectral data
inverseProjection Reconstruct data cube from principal component bands
ppi Extract endmember signatures using pixel purity index
fippi Extract endmember signatures using fast iterative pixel purity index
nfindr Extract endmember signatures using N-FINDR
countEndmembersHFC 找到number of endmembers
estimateAbundanceLS Estimate abundance maps
readEcostressSig Read data from ECOSTRESS spectral library
sam Measure spectral similarity using spectral angle mapper
sid Measure spectral similarity using spectral information divergence
jmsam Measure spectral similarity using Jeffries Matusita-Spectral Angle Mapper method
sidsam Measure spectral similarity using spectral information divergence-spectral angle mapper hybrid method
ns3 Measure normalized spectral similarity score
spectralMatch Identify unknown regions or materials using spectral library
spectralIndices Compute hyperspectral indices
ndvi Normalized vegetation index
anomalyRX Detect anomalies using Reed-Xiaoli detector

Topics

Getting Started with Hyperspectral Image Processing

Basics of hyperspectral image processing.

Explore Hyperspectral Data in the Hyperspectral Viewer

This example shows how to explore hyperspectral data using theHyperspectral Viewer应用程序。

Hyperspectral Data Correction

Describes radiometric calibration and atmospheric correction.

Featured Examples