shift_band

[ XITE Reference Manual | XITE home ]

Name

shift_band - Set new origo on a band.

Syntax

 #include <xite/geometry.h>

 int shift_band( IBAND in_band, IBAND out_band,
    int shiftx, int shifty );

Description

shift an image band. Works on all pixel types. in_band and out_band may be the same band.

Restrictions

in_band and outband must be of same type and size

Return value

 0 => ok
 2 => Bands have different pixel type
 3 => Bands have different size

See also

shift_img(1), transpose_band(3), affine(3), quadratic(3), rotate(3)

Author

Otto Milvang

Id

$Id: shift_img.c,v 1.25 1997/04/23 13:00:39 svein Exp $