MAN page from RedHat Other XITE-3.3-3.i386.rpm
LINEARTRANS
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
linearTrans - linear image to image transformation
SYNTAX
linearTrans [-log] -wf <weight_file> <inimage> <outimage>
linearTrans [-log] <inimage> <outimage> <weight>...
DESCRIPTION
Performs a linear transformation from
inimageto
outimageaccording to specified weights. Everypixel (seen as a vector through all bands) becomesa linear combination of the elements of input pixelvector.
The total number of weights should equal the square of thenumber of bands in the images.
OPTIONS
- -wf weight_file
- The weights may be given in the command (using theweightsargument), or in a file with the -wf option.
- -log
- The number of underflows and overflows are written tostderr.
RESTRICTIONS
The bands of
inimagemust have pixel type unsigned byte.All the input bands in
inimageshould have the same size.
RETURN VALUE
0 if ok, 1 otherwise
AUTHOR
Tor Lønnestad, BLAB, Ifi, UiO
EXAMPLES
- rotate axes of 3-band image
linearTrans inp.img outp.img
0.5 0.5 0.0 0.0 0.5 0.5 0.5 0.0 0.5- calculate sum and difference of 2-band image
linearTrans inp.img sumdiff.img
0.5 0.5 1.0 -1.0
ID
$Id: linearTrans.c,v 1.27 1997/01/24 15:14:55 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- RESTRICTIONS
- RETURN VALUE
- AUTHOR
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.