[Paper Review] k-Means Clustering and Ensemble of Regressions: An Algorithm for the ISIC 2017 Skin Lesion Segmentation Challenge
This paper presents a k-means clustering and ensemble regression approach for skin lesion segmentation in dermoscopic images, achieving high Jaccard similarity to clinician-annotated ground truth. The method preprocesses images to remove reflections, hair, and color bias, segments using iterative k-means clustering, extracts 10 region-specific features, and applies a weighted average of random forest and epsilon-SVR models to predict lesion likelihood, with postprocessing enhancing mask accuracy.
This abstract briefly describes a segmentation algorithm developed for the ISIC 2017 Skin Lesion Detection Competition hosted at [ref]. The objective of the competition is to perform a segmentation (in the form of a binary mask image) of skin lesions in dermoscopic images as close as possible to a segmentation performed by trained clinicians, which is taken as ground truth. This project only takes part in the segmentation phase of the challenge. The other phases of the competition (feature extraction and lesion identification) are not considered. The proposed algorithm consists of 4 steps: (1) lesion image preprocessing, (2) image segmentation using k-means clustering of pixel colors, (3) calculation of a set of features describing the properties of each segmented region, and (4) calculation of a final score for each region, representing the likelihood of corresponding to a suitable lesion segmentation. The scores in step (4) are obtained by averaging the results of 2 different regression models using the scores of each region as input. Before using the algorithm these regression models must be trained using the training set of images and ground truth masks provided by the Competition. Steps 2 to 4 are repeated with an increasing number of clusters (and therefore the image is segmented into more regions) until there is no further improvement of the calculated scores.
Motivation & Objective
- To develop an automated segmentation algorithm for skin lesions in dermoscopic images that closely matches clinician-annotated ground truth.
- To address challenges such as reflections, hair, and color variation in dermoscopic images through targeted preprocessing.
- To improve segmentation accuracy by combining k-means clustering with regression-based region scoring using multiple models.
- To optimize the number of clusters dynamically to maximize segmentation performance.
- To enhance final mask quality through morphological postprocessing that fills holes and smooths borders.
Proposed method
- Images are preprocessed by resizing to 1024×1024 pixels using zero-padding to maintain aspect ratio, followed by reflection removal via brightness thresholding (98th percentile of 99th percentile brightness).
- Hair is removed using morphological closing with a 5-pixel disk followed by 3×3 median filtering on each color channel.
- White balance is applied using the Gray World assumption, adjusting red and blue channels based on relative intensity ratios to balance color distribution.
- Iterative k-means clustering is applied starting from 3 clusters, increasing the number of clusters until no further improvement in region scores is observed.
- For each cluster, 10 features are extracted: region area (histogram-based frequency), position (2D Gaussian centered on image), circularity, solidity, mean color (Gaussian-based similarity), and central color similarity (Gaussian-based comparison to image center).
- A final score for each region is computed as the average of predictions from two regression models: a random forest with 50 trees and an epsilon-SVR with C=100, γ=0.5, ε=0.2, both trained on feature vectors and corresponding Jaccard indices from the training set.
Experimental results
Research questions
- RQ1Can k-means clustering with iterative refinement of cluster count improve skin lesion segmentation accuracy in dermoscopic images?
- RQ2How effective are handcrafted region features—such as area, position, circularity, and color similarity—in predicting segmentation quality?
- RQ3Does combining multiple regression models (random forest and SVR) yield better Jaccard index predictions than single models?
- RQ4To what extent do preprocessing steps like reflection and hair removal enhance segmentation performance?
- RQ5What is the optimal postprocessing strategy to correct for underestimation of lesion margins and improve final mask quality?
Key findings
- The algorithm achieved improved segmentation performance by dynamically increasing the number of k-means clusters until no further score improvement was observed.
- The use of a 10-feature representation, including spatial, shape, and color-based features, enabled effective region scoring.
- The ensemble of random forest and epsilon-SVR models outperformed other regression models such as linear regression and k-nearest neighbors on the validation set.
- Postprocessing with morphological closing (radius 30) and dilation (radius 14) significantly reduced underestimation of lesion margins compared to ground truth.
- The final segmentation masks showed enhanced smoothness and completeness after hole-filling and border smoothing operations.
- The training data for regression models was synthesized by assigning naive scores (sum of features) to regions, paired with actual Jaccard indices, enabling effective model learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.