Abstract
A novel initialization method in the fuzzy c-means (FCM) algorithm is proposed for the color clustering problem. Given a set of color points, the proposed initialization extracts dominant colors that are the most vivid and distinguishable colors. Color points closest to the dominant colors are selected as initial centroids in the FCM. To obtain the dominant colors and their closest color points, we introduce reference colors and define a fuzzy membership model between a color point and a reference color.
Introduction
Color clustering is a fundamental task in image segmentation, aimed at grouping similar colors to simplify image representation. However, color boundaries in real-world images are often ambiguous due to lighting variations, shadows, and sensor noise. Fuzzy C-Means (FCM) clustering is particularly well-suited for this domain as it allows for "soft" boundaries where pixels can belong to multiple clusters with varying degrees of membership.
Despite its strengths, FCM is highly sensitive to its initial conditions. Standard implementations often rely on random or uniform initialization of cluster centroids. Because FCM is an iterative optimization process, a poor starting configuration can lead the algorithm to converge on local optima, resulting in inconsistent or perceptually illogical color segments. This paper proposes a deterministic initialization method that leverages human-centric color perception to provide a robust starting point for FCM.
Methodology
The proposed method introduces a pre-processing stage to identify optimal "seeds" for clustering. This approach is built on three pillars:
CIELAB Color Space
The algorithm operates in the CIELAB color space rather than RGB. CIELAB is designed to be perceptually uniform, meaning the Euclidean distance between two points in this space corresponds closely to the perceived difference between those colors by the human eye.
Reference Colors and Membership Model
The authors utilize a set of 14 standard reference colors derived from the Munsell ColorChecker chart (e.g., Red, Green, Blue, Yellow, etc.). These colors serve as fixed anchors in the CIELAB space.
For every color point $x_j$ in a dataset, the algorithm calculates a fuzzy membership value relative to each reference color $R_i$. This membership model quantifies how closely a data point resembles a "pure" reference color.
Dominant Color Selection
The algorithm identifies "dominant colors" within the dataset—those reference colors that are most strongly represented by the actual data points. If $c$ clusters are required, the top $c$ reference colors with the highest aggregate membership values are selected. The specific data points in the image that are closest to these dominant reference colors are then assigned as the initial centroids ($V_0$).
Case Study and Results
To validate the framework, the authors applied the method to a sample set of 10 color points. The goal was to initialize $c=3$ clusters. By calculating the membership of these 10 points against the 14 reference colors, the algorithm identified the most representative "dominant" colors for the set.
In this example, the algorithm successfully identified Black ($R_{13}$), Red ($R_1$), and Yellow ($R_4$) as the dominant colors, with their respective representative points $x_{10}$, $x_5$, and $x_6$ serving as the initial centroids. These centroids are widely distributed in the CIELAB space, providing an ideal configuration that avoids the common pitfall of starting with overlapping or redundant clusters.
Discussion
The primary advantage of this method is its deterministic nature; unlike random initialization, it produces consistent results for the same input. By incorporating human-centric logic via the Munsell chart, the algorithm ensures that the resulting clusters align with human perception of "vividness."
However, some limitations remain. The reliance on a fixed set of 14 reference colors may be less effective for monochromatic images where all dominant colors fall within a single reference category. Additionally, the pre-processing step of calculating memberships for every pixel adds computational overhead, which may be significant for high-resolution imagery. Future work could explore adaptive reference sets or optimized membership calculations to enhance scalability.
Summary updated