imhypercube
Syntax
Description
Add-On Required: This feature requires the Hyperspectral Imaging Library for Image Processing Toolbox add-on.
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
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


