Image segmentation through clustering is a widely used technique in computer vision that partitions an image into multiple segments by grouping pixels based on feature similarity. Although effective for certain applications, this approach often struggles with the complexity of real-world images, where noise and random variations can significantly affect feature homogeneity, leading to incorrect pixel classifications. To address these limitations, this paper introduces a novel hybrid image segmentation method that combines an agent-based model with a clustering technique to enhance segmentation accuracy and robustness. The method starts with an agent-based model as a preprocessing step aimed at homogenizing pixel intensities within each region. In this model, pixels adjust their intensities based on a consensus reached within their neighborhood, promoting a more uniform feature distribution. Subsequently, the Firefly metaheuristic clustering method is applied to segment the preprocessed image into distinct regions. Metaheuristic techniques, distinguished from classical clustering methods, possess the capability to adaptively navigate through a broad solution space to discover optimal clustering configurations. This adaptability makes them suitable for complex image datasets. The efficacy of the proposed hybrid segmentation method has been tested on various images, employing key quality indices for evaluation. Experimental outcomes demonstrate that this approach yields superior segmented images, showcasing enhanced quality and robustness compared to other segmentation methods.
Read full abstract