thresMlReddi

[ XITE Reference Manual | XITE home ]

Name

thresMlReddi - multi-level thresholding by Reddi et al.

Syntax

 thresMlReddi [-nt <no_of_thresholds>] [-eq] [-s <scale>]
              <inimage> [<outimage>]

Description

thresMlReddi performs multi-level thresholding according to the method of Reddi et al. (see ref).

By default, the different areas are labeled from 0 up to no_of_thresholds. If outimage is supplied, thresholding is performed. Otherwise the threshold values are written to stdout.

Options

-nt no_of_thresholds
Desired number of thresholds.

-eq
Spread output values equidistantly.

-s scale
Spread output values with scale.

The -eq and -s options only have meaning if outimage is given.

Reference

S. S. Reddi, S. F. Rudin and H. R. Keshavan
"An Optimal Multiple Threshold Scheme for Image Segmentation" IEEE Transactions on Systems, Man and Cybernetics, Vol SMC-14, pp 661-665, 1984.

See also

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

Restrictions

inimage must have bands with pixel type unsigned byte. 1 <= thresholds <= 255.

Author

Martin Torpe Lie, BLAB, Ifi, UiO

Examples

thresMlReddi -nt 4 -s 10 mona.img

Id

$Id: thresMlReddi.c,v 1.22 1997/01/14 13:07:48 svein Exp $