mkComCur

[ XITE Reference Manual | XITE home ]

Name

mkComCur - make complexity curve for a band

Syntax

 #include <xite/thresMl.h>

 int mkComCur( IBAND band, histogram cc );

Description

mkComCur produces the complexity curve of an N-bit image band by calculating the lengths of black and white boundaries for every possible threshold.

cc is the returned complexity curve, indexable on 0..255.

Restrictions

band must have pixel type unsigned byte.

Return value

 0 => ok
 2 => Bad pixel type

Reference

Sei-ichiro Kamata, Richard O. Eason and Eiji Kawaguchi
"Complexity Curves Versus Histograms and Their Application to Image Segmentation", 1070-1077

See also

thresMl(1), thresMlAppScale(3), thresMlAppMean(3), thresMlAppMedian(3), thresMlApply(3), histoCentroid(3), thresMlCentroid(3), thresMlCentroid(3), thresMlComCur(3), thresMlComCur(1), thresMlReddi(3), thresMlReddi(1), thresMlWaHa(3), thresMlWaHa(1)

Author

Hung Buu Huynh, BLAB, Ifi, UiO

Id

$Id: thresMlComCur.c,v 1.17 1997/01/14 13:07:08 svein Exp $