hypercube
Description
The hypercube
function reads hyperspectral data and returns a
hypercube
object. The object contains the hyperspectral data cube and its
related properties. Use the object functions to remove or select a desired hyperspectral band,
assign new pixels values, generate colored image, and write hyperspectral data to the ENVI
(environment for visualizing images) file format.
Creation
Syntax
Description
reads hyperspectral data from the specified input file hcube
= hypercube(filename
)filename
. The
input file can be a national imagery transmission format (NITF) file, Hyperion level 1R
(L1R) file stored in hierarchical data format (HDF), ENVI header or image file, or
metadata text extension (MTL) file that contains satellite data from earth observing (EO)
satellites. The hypercube
object supports hyperspectral and
multispectral data acquired by these satellites.
EO-1 Hyperion — Hyperspectral data
EO-1 Advanced Land Imager (EO-1 ALI) — Multispectral data
Landsat Multispectral Scanner (Landsat MSS) — Multispectral data
Landsat Thematic Mapper (Landsat TM) — Multispectral data
Landsat Enhanced Thematic Mapper Plus (Landsat ETM+) — Multispectral data
Landsat Operational Land Imager / Thermal Infrared Scanner (Landsat OLI / TIRS) — Multispectral data
Airborne Visible/Infrared Imaging Spectrometer (AVIRIS) — Hyperspectral data
Note
The hypercube
function reads satellite data stored in the
georeferenced tagged image file format (GeoTIFF).
specifies the wavelength for each spectral band in the input data and sets the
hcube
= hypercube(___,wavelength
)Wavelength
property of the output hypercube
object.
reads hyperspectral data from a tagged image file format (TIFF) file
hcube
= hypercube(tifFile
,wavelength
)tifFile
.
creates a hcube
= hypercube(image
,wavelength
)hypercube
object from the hyperspectral data cube
image
and the specified center wavelength values
wavelength
.
creates a hcube
= hypercube(image
,wavelength
,metadata
)hypercube
object from the hyperspectral data cube
image
, specified center wavelength values
wavelength
, and the metadata metadata
. You can
use this syntax to modify the Metadata
property of a hypercube
object.
specifies the block size for loading the hyperspectral data cube, in addition to any
combination of input arguments from previous syntaxes.hcube
= hypercube(___,BlockSize=blockSize
)
Note
This function 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.
Input Arguments
Properties
Object Functions
assignData | Assign new data to hyperspectral data cube |
cropData | Crop regions-of-interest |
enviwrite | Write hyperspectral data to ENVI file format |
selectBands | Select most informative bands |
removeBands | Remove spectral bands from data cube |
colorize | Estimate color image of hyperspectral data |
Examples
More About
Version History
Introduced in R2020aSee Also
enviinfo
| fippi
| nfindr
| estimateAbundanceLS
| ndvi
| countEndmembersHFC
| hyperpca
| hypermnf
| inverseProjection
| multibandread
| multibandwrite
| nitfread
| h5read