thresUniErr
[ XITE Reference Manual | XITE home ]
Name
thresUniErr - Uniform Error Threshold
Syntax
#include <xite/threshold.h>
int thresUniErr( IBAND band );
Description
thresUniErr calculates
the threshold value needed to threshold the
image according to the uniform error thresholding metod
as described in Dunn & Harwood & Davis.
The actual thresholding is not performed, see the
routine "threshold".
Reference
S. M. Dunn & D. Harwood & L. S. Davis: "Local Estimation
of the Uniform Error Threshold" IEEE Trans. on PAMI,
Vol PAMI-6, No 6, Nov 1984.
Return value
The threshold value. Pixel values up to, and including,
the return value, is below the threshold.
Returns -1 if bad pixel type, accepts ony UNS_BYTE pixels.
Bugs
It only works well on images whith large objects.
Author
Olav Borgli, BLAB, ifi, UiO
Id
$Id: thresUniErr.c,v 1.20 1996/11/08 14:06:12 svein Exp $