copyBand
[ XITE Reference Manual | XITE home ]
Name
copyBand - copy a band
Syntax
#include <xite/copy.h>
int copyBand( IBAND b1, IBAND b2 );
Description
The largest rectangle common to b1 and b2 is copied
from b1 to b2. A direct copy is performed, which will
give strange effects if b1 and b2 are partly
overlapping subbands. b1 and b2 should have the same
pixel type, but all currently known pixel types are
supported.
Return value
0 => ok
1 => b1 and b2 have different pixel types
2 => unknown pixel type
Author
Tor L|nnestad
Id
$Id: copyBand.c,v 1.18 1997/01/08 10:16:25 svein Exp $