MAN page from Mandrake Other XITE-3.3-3.i386.rpm
THRESHOLD
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
threshold - threshold an image with specified threshold
SYNTAX
threshold [-l <lpv>] [-h <hpv>] <input image> <output image> <threshold>
DESCRIPTION
thresholdthresholds an image. Pixels below orequal to
thresholdis set to
lpv(low pixel value),pixels above
thresholdare set to
hpv.Default values0 and 255 can be modified with the -l and -hswitches.
if (old_pixel_value LE threshold) new_pixel_value = lpv
else new_pixel_value = hpv;
RESTRICTIONS
Acepts only UNS_BYTE pixels.
AUTHOR
Tor Lønnestad, BLAB, IfI, UiO
EXAMPLES
threshold mona.img monath.img 110
threshold -h 1 mona.img monath.img 150
threshold -l 255 -h 0 mona.img monath.img 127
ID
$Id: threshold.c,v 1.26 1996/11/08 14:06:13 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- AUTHOR
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.