resampleBands
Syntax
Description
Add-On Required: This feature requires the Hyperspectral Imaging Library for Image Processing Toolbox add-on.
resamples the images in each spectral band of the multispectral data
newmcube = resampleBands(mcube,targetResolution)mcube, using nearest neighbor interpolation, to a uniform resolution,
targetResolution.
specifies the interpolation method used in resampling.newmcube = resampleBands(mcube,targetResolution,method)
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
See Also
multicube | gather | assignData | cropData | selectBands | colorize | apply