[
About ImageMagick
Command-line Tools
Processing
Options
Program Interfaces
MagickWand
MagickCore
PerlMagick
Architecture
] [ Install from Source Unix Windows Binary Releases Unix Windows Resources ] [ Download ] [ Links ] [ Sponsors Solutions for e- and m-commerce ] |
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. imageThe image. colorspaceIndicate the colorspace. verboseSet to MagickTrue to print detailed information about the identified classes. cluster_thresholdThis represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage). smooth_thresholdthe smoothing threshold eliminates noise in the second derivative of the histogram. As the value is increased, you can expect a smoother second derivative. |