[ XITE Reference Manual | XITE home ]
Name
bin_ab - binarize a gray-scale band using
Abutaleb`s method
Syntax
#include <xite/binarize.h>
int bin_ab( IBAND inband, IBAND outband );
Description
The input band inband is binarized using
the method of Abutaleb, the result returned
in outband.
Return value
0 : ok
1 : Bad input pixel type
2 : Bad output pixel type
See also
binarize(1)
Restrictions
inband and outband must have pixel type unsigned byte.
Return value
References
-
Ahmed S. Abutaleb
- "Automatic thresholding of gray-level pictures using
two-dimensional entropy",
Computer Vision, Graphics, and Image Processing,
vol 47, pp 22-32, 1989.
Author
Řivind Due Trier
Id
$Id: bin_ab.c,v 1.16 1997/01/14 15:46:49 svein Exp $