thn_zs

[ XITE Reference Manual | XITE home ]

Name

thn_zs - thin a binary image using algorithm by Zhang and Suen.

Syntax

thn_zs <inimage> <outimage>

Description

Thinning a binary image with algorithm by Zhang and Suen[1]

Restrictions

inimage must have bands with pixel type unsigned byte. The input is assumed to be binary valued with foreground = 0, background = 255.

See also

thn_zs(3), thn_har(1), thn_lc(1)

References

[1] T. Y. Zhang and C. Y. Suen,
"A Fast Parallel Algorithm for Thinning Digital Patterns.", Comm. ACM, vol. 27, no. 3, pp 236-239, 1984.

[2] Rafael C. Gonzalez and Paul Wintz,
"Digital Image Processing.", 2. edition, 1987, pp. 398-402.

Files

src/binarization/thn_zs.c

Id

$Id: thn_zs.c,v 1.13 1997/01/16 16:12:50 svein Exp $