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

THRESMLCENTROID

Section: User Commands (1)
Updated: 16 Mar 1998
Index

 

NAME

thresMlCentroid - multi level thresholding by local centroidmethod

 

SYNTAX


 thresMlCentroid [-m <m>] [-mean] [-median] [-eq] [-s <s>]
                 <inimage> [<output>]

 

DESCRIPTION

For every band, the histogram is calculated. Then thehistogram is modified by moving histogram mass to thelocal centroid of a histogram window of size (2*m)+1.The mapping from old to new histogram is analyzed,corresponding thresholds are calculated, and if anoutput image is specified, the input image is thresholded.If no output image is specified, the obtained thresholdsare written to standard output.

 

OPTIONS

-m m
Use histogram window of size (2*m)+1.

-mean
Move histogram mass to local mean (default).

-median
Move histogram mass to local median.

-eq
If outimageis given, distriibute output pixel values.

-s s
If outimageis given, scale pixel values with s.

Use either -meanor -median(or none), not both.If no margument is given, a loop over the m-values5, 10, 15, 20, 25, 30, 35, 40, 45 and 50 is performed,exiting if two consecutive runs give the same thresholdingresult.

 

SEE ALSO

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

 

DIAGNOSTICS


 Warning: Bad pixel type in band ..
 Warning: Clustering never stable
 Error  : Bad m value: ..
 Error  : Bad number of arguments

 

RESTRICTIONS

inimagemust have bands with pixel type unsigned byte.Bands are handled one at a time, not multi-dimensionally.

 

REFERENCE

[1]
R. Wilson. H Knutsson and G.H. Granlund"The operational definition of the position of lineand edge" Proc. ICPR-82, Munich 1982.

[2]
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

 

EXAMPLES


 thresMlCentroid -median mona.img
 thresMlCentroid -mean -eq mona.img res.img
 thresMlCentroid  -s 2 -m 25 mona.img res.img
 thresMlCentroid  -verbose mona.img

 

ID

$Id: thresMlCentroid.c,v 1.25 1997/01/14 13:06:21 svein Exp $


 

Index

NAME
SYNTAX
DESCRIPTION
OPTIONS
SEE ALSO
DIAGNOSTICS
RESTRICTIONS
REFERENCE
AUTHOR
EXAMPLES
ID

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