thresMlComCur
[ XITE Reference Manual | XITE home ]
Name
thresMlComCur - multi-level threshold using complexity curve
Syntax
#include <xite/thresMl.h>
int thresMlComCur( IBAND band, int* thresholds,
int nt );
Description
thresMlComCur performs multi-level thresholding of
the input band. The result is a vector of thresholds,
with useful values in 0..nt-1. The algorithm is based
on Complexity Curves, see mkComCur(3). The complexity
curve is created, and then thresholded by means of the
algorithm or Reddi, see thresMlReddi(3).
nt is the desired number of thresholds.
Restrictions
band must have pixel type unsigned byte.
Return value
0 => ok
2 => Bad pixel type
See also
thresMl(1), thresMlAppScale(3), thresMlAppMean(3),
thresMlAppMedian(3), thresMlApply(3), histoCentroid(3),
thresMlCentroid(3), thresMlCentroid(3), mkComCur(3),
thresMlComCur(1), thresMlReddi(3), thresMlReddi(1),
thresMlWaHa(3), thresMlWaHa(1)
Reference
-
Sei-ichiro Kamata, Richard O. Eason and Eiji Kawaguchi
- "Complexity Curves Versus Histograms and Their Application
to Image Segmentation", 1070-1077
Author
Hung Buu Huynh, BLAB, Ifi, UiO
Id
$Id: thresMlComCur.c,v 1.17 1997/01/14 13:07:08 svein Exp $