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

SEGMSPANNWILSON

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

 

NAME

segmSpannWilson - segmentation by the Spann and Wilson method

 

SYNTAX


 segmSpannWilson [-m <m>] [-mean] [-median] [-eq] [-s <s>]
                 <inimage> <outimage>

 

DESCRIPTION

Performs segmentation of every band in the inimageimage(separately) into the outimageimage. The algorithm hasthree steps:

Quad-tree smoothing

A quad-tree is created, and pixels are averaged 4 by 4up in the quad-tree. nquad-tree levels are created,including the bottom level, which is inband.

Local centriod clustering

The topmost quad-tree level is clustered by moving histogrammass to the centroid (mean or median) of a local window movedover the histogram. Applied iteratively, until stable. SeethresMlCentroid.

Boundary estimation

The classification result is copied down the quad-tree, but atevery level, all pixels close to a differently classified pixelare reclassified to determine the border more precisely.

 

OPTIONS

-n n
Quad-tree levels. Default = 4.

-m m
Use histogram window of size (2*m)+1.Default = 0, implying search for stable value.

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

-median
Move histogram mass to local median.

Use either -meanor -median(or none), not both.If no -moption 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

segmSpannWilson(3), thresMlCentroid(1), segmRandom(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

M. Spann and R. Wilson,
"A Quad-three Approach to Image Segmentation whichCombines Statistical and Spatial Information"Pattern Recognition, Vol 18, Nos 3/4, pp 257-269, 1985

 

AUTHOR

Tor Lønnestad, BLAB, Ifi, UiO

 

EXAMPLES


 segmSpannWilson -median mona.img monaseg.img
 segmSpannWilson -mean -n 3 mona.img monaseg.img
 segmSpannWilson -m 25 -verbose mona.img monaseg.img

 

ID

$Id: segmSpannWilson.c,v 1.25 1997/01/16 16:08:53 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