contour

[ XITE Reference Manual | XITE home ]

Name

contour - make a contour map

Syntax

 contour [-cpv <cpv>] [-bpv <bpv>] <inimage> <outimage>
         [<equidistance>]

Description

Creates a contour map of the input image. Default equidistance is 20.

If the result is noisy, smooth the input image before contouring, or use larger equidistance.

Restrictions

inimage must have bands with pixel type unsigned byte.

Options

-cpv cpv
Contour pixel value, default 0.

-bpv bpv
Background pixel value, default 255.

See also

contour(3), crossing(1)

Author

Tor Lønnestad, BLAB, Ifi, UiO

Examples

contour mona.img monaContour.img 40

Id

$Id: contour.c,v 1.27 1997/01/24 19:23:46 svein Exp $