linearTrans
[ XITE Reference Manual | XITE home ]
Name
linearTrans - Linear image to image transformation
Syntax
#include <xite/principal.h>
BiffStatus linearTrans( IMAGE input,
IMAGE output, IR_BAND weights );
Description
linearTrans performs a linear transformation from
pixels in the input image to pixels in the output image,
Pout = W*Pin
where W is the weight matrix weights, which should
be of size nbands*nbands, where nbands is the number
of bands in input and output images.
Restrictions
All bands in input and output must have pixel type
unsigned byte.
Return value
0 => ok
1 => bad pixel type in input image
2 => bad pixel type in output image
Author
Tor Lønnestad, BLAB, Ifi, UiO
Id
$Id: linearTrans.c,v 1.27 1997/01/24 15:14:55 svein Exp $