Resize the image on a HSZ or FLA data structure

Contents

Syntax:

    HSZ = resize_image(HS, rows, cols);
    HSZ = resize_image(HS,scale);
    I = resize_image(Im, rows, cols);
    I = resize_image(Im,scale);

Description:

    Resizes the image on a HSZ or FLA data structure.

Input:

    Im: Image data structure.
    HS: Scyllarus hyperspectral data structure.
    rows, cols: New image cube dimensions.
    scale: Scale up to which the image is to be resized.

Output:

    I: Resized FLA data structure.
    HSZ: Resized Scyllarus data structure.

See also:

    crop_I, crop_image, resize_I