profile
[ XITE Reference Manual | XITE home ]
Name
profile - Calculate pixel values along a line
Syntax
profile [-o outfile] [-x <x> -y <y>] [-d dir]
[-ip <val>] [-ex <x> -ey <y>] [-s <step>] <image>
Description
profile calculates the pixel values along a line starting
at (x,y) in the direction dir (in radians).
An alternative is to specify the startpoint (x,y) and the
endpoint (ex,ey) of the profile.
The profile has one sample per step pixel, and an
interpolation of degree ip is used (only degree 1 is
implemented).
The result is written to stdout or to a file specified
by the -o switch.
See also
crossSection(1)
Author
Otto Milvang
Examples
profile -d 2.5 t.img | perl -nae ' $i++; print "$i $F[0]\n"; ' | xgraph
Id
$Id: profile.c,v 1.12 1997/01/29 10:36:28 svein Exp $