thresOtsu
[ XITE Reference Manual | XITE home ]
Name
thresOtsu - threshold by the method of Otsu
Syntax
#include <xite/threshold.h>
int thresOtsu( histogram h );
Description
thresOtsu calculates the threshold value needed
to threshold the image that the histogram h is
created from, according to the method of Otsu.
The actual thresholding is not performed, see the
"threshold" routine.
Reference
-
Otsu, N.
- "A Threshold Selection Method from Gray-Level histograms"
IEEE Trans. Syst., Man and Cyb.,
Vol SMC-9, No.1, pp.62-66.
Return value
The threshold value.
See also
thresOtsu(1), threshold(3), thresholdSpOut(3), thresPtile(3),
thresRidCal(3), thresLloyd(3)
Author
Tor Lønnestad, BLAB, Ifi, UiO
Id
$Id: thresOtsu.c,v 1.20 1997/01/14 13:11:08 svein Exp $