resample

[ XITE Reference Manual | XITE home ]

Name

resample - stretch or compress a band

Syntax

 #include <xite/resample.h>

 int resample( IBAND b1, IBAND b2 );

Description

The data in input band b1 is resampled into output band b2, using nearest neighbour resampling. Accepts only unsigned byte pixels.

Return value

 0 => ok
 1 => Bad input pixel type
 2 => Bad output pixel type

Author

Tor L|nnestad, BLAB, ifi, UiO

Id

$Id: resample.c,v 1.22 1996/11/08 14:05:16 svein Exp $