Imake_band

[ XITE Reference Manual | XITE home ]

Name

Imake_band - create a new BIFF band

Syntax

 #include <xite/biff.h>

 IBAND Imake_band( IPIXTYP pt, long xsize,
    long ysize );

Description

Allocate (using malloc(3)) virtual memory for a 2D band, initialize pointers, and return pointer to the band. The band will have pixel type pt, horizontal size xsize and vertical size ysize. The first band pixel is aligned on a boundary for DCOMPLEX datatype.

NOTE: The pixel values will not be initialized.

Restrictions

Legal pixel type, xsize and ysize GE 1.

See also

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

Return value

Pointer to the new band if ok, NULL otherwise.

Author

Tor Lønnestad, BLAB, Ifi, UiO