Imake_subband
[ XITE Reference Manual | XITE home ]
Name
Imake_subband - define subband of existing BIFF band
Syntax
#include <xite/biff.h>
IBAND Imake_subband( IBAND band, long xstart,
long ystart, long xsize, long ysize );
Description
Creates a subband of band; a data structure with pointers
into the old band. The new band will have horizontal
size xsize and vertical size ysize, and indexing
[1][1] in the subband is equivalent to indexing
[ystart][xstart] in the old band. The same pixels
are referenced, data is not copied!
Restrictions
band must be created, the whole subband must be
within the old.
See also
Init_band(5), Imake_band(5), Iset_start(5), Ixstart(5),
Iystart(5), Iset_mag(5), Ixmag(5), Iymag(5), subcopy(1)
Return value
pointer to the new band if ok, NULL otherwise.
Author
Tor Lønnestad, BLAB, Ifi, UiO