bin_ki
[ XITE Reference Manual | XITE home ]
Name
bin_ki, kittler_threshold - binarize a gray-scale band using
Kittler and Illingworth`s method
Syntax
#include <xite/binarize.h>
int bin_ki( IBAND inband, IBAND outband );
int kittler_threshold( IBAND inband,
double* mu_1, double* mu_2, double* mu );
Description
bin_ki binarizes inband using
the global method of Kittler and Illingworth.
The result is returned in outband.
kittler_threshold returns Kittler and Illingworth`s
threshold for inband. The total mean mu and
the two cluster means mu1 and mu2 are calculated.
Files
src/binarize/bin_ki.c
See also
binarize(1), bin_ot(3)
References
-
Josef Kittler & John Illingworth
- "Minimum error thresholding",
Pattern Recognition, vol 19, pp 41-47, 1986.
Return value
bin_ki : 0 - OK
kittler_threshold : Kittler and Illingworth`s
threshold is returned.
Restrictions
inband and outband must have pixel type unsigned byte.
Author
Řivind Due Trier
Id
$Id: bin_ki.c,v 1.17 1997/01/14 15:46:51 svein Exp $