MAN page from RedHat Other XITE-3.3-3.i386.rpm
HISTOCENTROID
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
histoCentroid - move histogram mass to local centroid iteratively
SYNTAX
#include <
xite/thresMl.h>
int histoCentroid( histogram hin,
histogram hout, int m, int method );
DESCRIPTION
Iteratively, histogram mass is moved to local centroid.The centroid is the MEAN inside a histogram window ifmethod=0, the MEDIAN inside the window if method=1.The size of the histogram window is (2*m)+1. This procedureis repeated until no changes, or at most 100 iterations.The "clustered" histogram result is returned in
hout.
RESTRICTIONS
1 <= m <= 127
method = 0 OR method = 1
SEE ALSO
thresMl(1),
thresMlAppScale(3),
thresMlAppMean(3),
thresMlAppMedian(3),
thresMlApply(3),
thresMlCentroid(3),
thresMlCentroid(1),
mkComCur(3),
thresMlComCur(3),
thresMlComCur(1),
thresMlReddi(3),
thresMlReddi(1),
thresMlWaHa(3),
thresMlWaHa(1)
RETURN VALUE
0 => ok
1 => Warning: The procedure didn't converge in
100 iterations
2 => Error: Bad m argument
3 => Error: Bad method argument
REFERENCE
- R. Wilson
- "A Class of local centroid algorithms forclassification and quantization in spaces of arbitrarydimension"Linkoping Univ, Internal Report LiTH-ISY-I-0610(1983).
AUTHOR
Tor Lønnestad, BLAB, Ifi, UiO
ID
$Id: thresMlCentroid.c,v 1.25 1997/01/14 13:06:21 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- SEE ALSO
- RETURN VALUE
- REFERENCE
- AUTHOR
- ID
This document was created byman2html,using the manual pages.