All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

GMImage.Segment

Component: GraphicsMagick
Mac OS X: Works
Windows: Works

MBS( "GMImage.Segment"; ImageRef; clusterThreshold; smoothingThreshold )

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 1
clusterThreshold the cluster threshold 1.0
smoothingThreshold the smoothing threshold 1.5

Result

Returns "OK" on success.

Description

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

Feedback: Report problem or ask question.