MAN page from RedHat Other XITE-3.3-3.i386.rpm
THRESBERNSEN
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
thresBernsen - local variable treshold by the method ofBernsen.
SYNTAX
thresBernsen [<option>...] <infile> <outfile> cmin [dx [dy]]
DESCRIPTION
Local variable treshold by the method of Bernsen.
- cmin
- Local contrast treshold.
- dx
- Local window width, default 3.
- dy
- Local window height, default dx.
OPTIONS
- -lpv lpv
- Low pixel value, default 0.
- -hpv hpv
- High pixel value, default 255.
- -low
- Homogenous areas are assumed to be low, belowthe threshold. Default: above the threshold
If the difference between the largest and the smallest pixelvalue within the dx*dywindow is greater than or equal tocmin,the average of the two values is used as threshold.Pixels below this threshold are set to lpv,and pixels aboveare set to hpv.
If -lowis set, pixels in homogenous areas (differencebelow cmin)are assumed to be below the threshold and areset to lpv,otherwise these pixels are set to hpv.
REFERENCE
Bernsen, J: "Dynamic thresholding of grey-level images"Proc. of the 8th ICPR, Paris, Oct 1986, 1251-1255.
EXAMPLE
thresBernsen mona.img monat.img 100
thresBernsen -lpv 1 -hpv 0 mona.img monat.img 75 35 55
AUTHOR
Olav Borgli and Tor L|nnestad
ID
$Id: thresBernsen.c,v 1.22 1997/01/14 13:10:39 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- REFERENCE
- EXAMPLE
- AUTHOR
- ID
This document was created byman2html,using the manual pages.