Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

GMImage.Segment

Segments the image.

Component Version macOS Windows Linux Server iOS SDK
GraphicsMagick 2.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "GMImage.Segment"; ImageRef; clusterThreshold; smoothingThreshold )   More

Parameters

Parameter Description Example
ImageRef The image reference number. 1
clusterThreshold the cluster threshold 1.0
smoothingThreshold the smoothing threshold 1.5

Result

Returns "OK" on success.

Description

Segments the image.
Segment (coalesce similar image components) by analyzing the histograms of the color components and identifying units that are homogeneous with the fuzzy c-means technique. Also uses QuantizeColorSpace and Verbose image attributes

See also

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


GMImage.Scaling - GMImage.SetAdjoin