hypercube
Description
The hypercube
function reads hyperspectral data and returns an
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.
EO-1 Hyperion
EO-1 Advanced Land Imager (EO-1 ALI)
Landsat Multispectral Scanner (Landsat MSS)
Landsat Thematic Mapper (Landsat TM)
Landsat Enhanced Thematic Mapper Plus (Landsat ETM+)
Landsat Operational Land Imager / Thermal Infrared Scanner (Landsat OLI / TIRS)
Airborne Visible/Infrared Imaging Spectrometer (AVIRIS)
Note
The hypercube
function reads satellite data that are stored
in 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.
Note
This function requires the Image Processing Toolbox™ Hyperspectral Imaging Library. You can install the Image Processing Toolbox Hyperspectral Imaging Library from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
The Image Processing Toolbox Hyperspectral Imaging Library 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
Version History
Introduced in R2020a
See Also
enviinfo
| fippi
| nfindr
| estimateAbundanceLS
| ndvi
| countEndmembersHFC
| hyperpca
| hypermnf
| inverseProjection
| multibandread
| multibandwrite
| nitfread
| h5read