Load data from an HSZ file
Contents
Syntax:
HSZ = HSZread(FILENAME);
HSZ = HSZread(FILENAME, scale);
HSZ = HSZread(FILENAME, rows, cols);
HSZ = HSZread(FILENAME, rect);
Description:
HSZread imports data from a compressed HSZ file. This is an HDF5 file
with all the variables recovered by the Scyllarus routine.
Input:
FILENAME: The name of the file (including the path and extension) to
be read from disk.
rows, cols: Image cube dimensions. Note that the hyperspectral image is to be resized if
required.
scale: Scale up to which the image is to be resized at loading time.
rect: Used to crop the image at loading time. rect is a four-element
position vector [xmin ymin width height] that specifies the size
and position of the crop rectangle.
Output:
HSZ: HSZ data Structure. This is the same as the output of the
Scyllarus routine.
See also:
FLAwrite, FLAread, HSZwrite, SLZwrite, SLZread