MAN page from Mandrake Other XITE-3.3-3.i386.rpm
CROSSSECTION
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
crossSection - Find cross sections, row or column of image
SYNTAX
crossSection [<option>...] <inimage> <outimage>
DESCRIPTION
crossSectionreads a biff image and finds a cross-section,row or column. The output is an image with a band for eachband of the input image. Each output band displays a curvefor the chosen cross-section, row or column. The values of thepixels on the curve, below or above the curve can be chosen.
All pixeltypes are accepted. The pixeltype of each outputband is the same as for the corresponding input band, unlessthe option -ptis used. For bands of a complex type, real ordouble bands are returned with absolute values of the inputbands.
To process only some of the bands in inimage,use thestandard XITE sub-band notation.
OPTIONS
An <option> is one of three kinds: <type>(at most one), <dir> (at most one) and <opt>.
A <type> option may be one of
- -M
- cross-section maximum (default)
- -m
- cross-section minimum
- -n num
- pick row or column number num
A <dir> option may be one of
- -y
- y (vertical/column) direction (default)
- -x
- x (horizontal/row) direction
An <opt> option is chosen from
- -t title
- Title of output image
- -h height
- Height (ysize) of resulting band
- -fg fg
- Value of area below curve (double)
- -bg bg
- Value of area above curve (double)
- -cur cur
- Value of curve pixels (double)
- -s scale
- Scale curve height relative to image height (default is 1.0,which means that the curve peak will touch the top edge of theimage)
- -a
- Print curve values to stdout
- -pt pixeltype
- Let all output bands be of type pixeltype.Default unsignedbyte.
ub or 3 => unsigned byte
sb or 4 => signed byte
us or 5 => unsigned short
ss or 6 => signed short
i or 7 => integer
r or 8 => real
d or 10 => double
SEE ALSO
profile(1),
crossSection(3)
RETURN VALUE
2 => Illegal arguments.
EXAMPLES
Find the row maxima (maximum for each row) of an image:
crossSection -x -M /local/xite/img/mona.img out.img
AUTHOR
Svein Bøe, BLAB, Ifi, UiO
ID
$Id: crossSection.c,v 1.42 1997/05/27 14:47:17 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- SEE ALSO
- RETURN VALUE
- EXAMPLES
- AUTHOR
- ID
This document was created byman2html,using the manual pages.