assignData
Assign new data to spectral image data cube
Description
newspcube = assignData(spcube,row,column,band,data)data to a hyperspectral or multispectral data
        cube. The function reads the data cube stored in the hypercube or
          multicube object spcube, assigns the new data to
        the spectral bands band at the locations specified by
          row and column, and returns a new
          hypercube or multicube object.
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 R2020a
See Also
hypercube | multicube | removeBands | selectBands | cropData

