SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from RedHat Other XITE-3.3-3.i386.rpm

THRESLLOYD

Section: C Library Functions (3)
Updated: 16 Mar 1998
Index

 

NAME

thresLloyd - threshold by the method of Lloyd

 

SYNTAX


 #include <xite/threshold.h>


 int thresLloyd( histogram h );

 

DESCRIPTION

thresLloydcalculates the threshold value by usingthe method of Lloyd, 1985. Initially, the thresholdvalue is set to the average brightness. Then,iteratively, the threshold is set to the average ofthe mean of the pixels below the threshold, and themean of the pixels above the threshold , PLUS acompensation factor depending on the varince of thedistribution. When the threshold value remainsconstant, iteration terminates.

The actual thresholding is not performed, see theroutine "threshold".

 

RESTRICTIONS

 

RETURN VALUE

The threshold value. Pixel values up to, and including,the return value, is below the threshold.

 

AUTHOR

Tor L|nnestad, BLAB, ifi, UiO

 

ID

$Id: thresLloyd.c,v 1.17 1996/11/08 14:06:06 svein Exp $


 

Index

NAME
SYNTAX
DESCRIPTION
RESTRICTIONS
RETURN VALUE
AUTHOR
ID

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector