Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

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


GMImage.Scaling - GMImage.SetAdjoin

Feedback: Report problem or ask question.