../../index.html
[ImageMagick]
http://www.imagemagick.org/
[sponsor]
../../index.html
../../index.html
#main
Skip to page contents
[
../../index.html
About ImageMagick
../../www/command-line-tools.html
Command-line Tools
../../www/api.html
Program Interfaces
]
[
../../www/install-source.html
Install from Source
../../www/binary-releases.html
Binary Releases
../../www/resources.html
Resources
]
[
../../www/download.html
Downloads
]
[
../../www/links.html
Links
]
[
../../www/sponsors.html
Sponsors
http://www.desktopexchange.com/
Desktop Wallpaper
]
[
#SegmentImage
SegmentImage
]
SegmentImage
SegmentImage() segment an image by analyzing the histograms of the color components and identifying units that are homogeneous with the fuzzy C-means technique.
The format of the SegmentImage method is:
MagickBooleanType SegmentImage(Image *image,
const ColorspaceType colorspace,const MagickBooleanType verbose,
const double cluster_threshold,const double smooth_threshold)
A description of each parameter follows.
image
The image.
colorspace
Indicate the colorspace.
verbose
A value greater than zero prints detailed information about the identified classes.
cluster_threshold
This MagickRealType represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).
smooth_threshold
the smoothing threshold eliminates noise in the second derivative of the histogram.  As the value is increased, you can expect a smoother second derivative.
http://redux.imagemagick.org/discussion-server
Discourse Server
|
../../www/mailing-list.html
Mailing Lists
|
http://redux.imagemagick.org/gallery
Image Gallery
|
http://net11.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi
ImageMagick Studio
© 1999-2005 ImageMagick Studio LLC
