Imake_bands

[ XITE Reference Manual | XITE home ]

Name

Imake_bands - create all bands of a BIFF image

Syntax

 #include <xite/biff.h>

 BiffStatus Imake_bands( IMAGE i, IPIXTYP pt,
    long xsize, long ysize );

Description

Allocate memory (malloc(3)) and build the data structure for all bands of image i, by calling Imake_band repeatedly. All bands will have pixel type pt, horizontal size xsize and vertical size ysize. The image must first have been initialized by means of Init_image.

NOTE: The pixel values will not be initialized.

Restrictions

Init_image must have been called previously, pt must be legal pixel type, xsize and ysize GE 1.

See also

Imake_band(5), Init_band(5), Imake_subband(5), Init_image(5), Imake_image(5), Iread_band(5), Icopy_init(5)

Return value

status

Author

Tor Lønnestad, BLAB, Ifi, UiO