imhypercube
Syntax
Description
specifies the wavelength for each spectral band in the input data, and sets the
hcube
= imhypercube(file
,wavelength
)Wavelength
property of the output hypercube
object.
creates a hcube
= imhypercube(image
,wavelength
)hypercube
object from the hyperspectral data cube
image
and the specified center wavelength values
wavelength
.
creates a hcube
= imhypercube(image
,wavelength
,metadata
)hypercube
object from the hyperspectral data cube
image
, specified center wavelength values
wavelength
, and metadata metadata
. You can use
this syntax to modify the Metadata
property of a
hypercube
object.
specifies the block size to use when loading the hyperspectral data cube, in addition to any
combination of input arguments from previous syntaxes.hcube
= imhypercube(___,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™ and MATLAB Mobile™ do not support the library.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2025a