Assign new data to hyperspectral data cube
assigns the specified newhcube
= assignData(hcube
,row
,column
,band
,data
)data
to a hyperspectral data cube. The function
reads the data cube stored in the hypercube
object
hcube
, assigns the new data to the spectral bands
band
at the locations specified by row
and
column
, and returns a new 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.