thn_har

[ XITE Reference Manual | XITE home ]

Name

thn_har - thinning of binary image using Haralick and Shapiro's morphological thinning.

Syntax

 #include <xite/thin.h>

 int thn_har( IBAND inband );

Description

Morphological thinning according to Haralick and Shapiro.

Restrictions

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

Return value

 0 - Ok
 1 - Bad input pixel type

See also

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

Reference

R. M. Haralick and L. G. Shapiro,
"Computer and Robot Vision", Vol. 1, Chapter 5 (especially 5.10.1), Addison-Wesley, Reading, Massachusetts, 1992,

Files

xite/src/thin/thn_har.c

Author

Qian Huang (Michigan State University), Řivind Due Trier (University of Oslo).