


fullName = ieSaveMultiSpectralImage(fullName,coef,basis,comment,imgMean,illuminant)
Save a Matlab data file containing data for a multi-spectral image. The
image is created using mcCreateMultispectralBases.
coefficients (RGB format), basis functions, illuminant information and
a comment.
In addition, three summary files are created. These are
(a) a tiff thumbnail of the image
(b) a tiff image showing a plot of the basis functions
(c) a tiff image showing a plot of the basisLights used to calculate the
basis functions
(d) should we make a plot of the scene illuminant SPD, too?
The full path to the data is returned in fullname.
The SPD of the data can be derived from the coefficients and basis
functions using:
spd = rgbLinearTransform(mcCOEF,basis');
EXAMPLE:
ieSaveMultiSpectralImage('c:\user\Matlab\data\Tungsten','MacbethChart-hdrs',mcCOEF,basis,basisLights,illuminant,comment)
TODO: Save out illuminant information, too
Create thumbnails and little auxiliary images for the
multispectral data