thresMinErrCrit
[ XITE Reference Manual | XITE home ]
Name
thresMinErrCrit - minimum error threshold,
criterion function method
Syntax
#include <xite/threshold.h>
int thresMinErrCrit( histogram h );
Description
thresMinErrCrit calculates the threshold value by using
the minimum error thresholding technique as in Kittler &
Illingworth (1nd method).
The threshold is found by finding the minimum of the
criterion function (15) in Kittler & Illingworth.
The variances are the variances above
and belov the treshold.
The actual thresholding is not performed, see the
routine "threshold".
Reference
J. Kittler & J. Illingworth: "Minimum Error Thresholding"
Pattern Recognition, Vol 19, nr 1.
Return value
The threshold value. Pixel values up to, and including,
the return value, is below the threshold.
Author
Olav Borgli, BLAB, ifi, UiO
Bug fix
Svein Bøe
Id
$Id: thresMinErr.c,v 1.25 1997/03/17 13:45:07 svein Exp $