Next Article in Journal
An Image Histogram Equalization Acceleration Method for Field-Programmable Gate Arrays Based on a Two-Dimensional Configurable Pipeline
Next Article in Special Issue
Mask-Pyramid Network: A Novel Panoptic Segmentation Method
Previous Article in Journal
Large Range of a High-Precision, Independent, Sub-Mirror Three-Dimensional Co-Phase Error Sensing and Correction Method via a Mask and Population Algorithm
Previous Article in Special Issue
Underwater Target Detection Based on Parallel High-Resolution Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fast Automatic Fuzzy C-Means Knitting Pattern Color-Separation Algorithm Based on Superpixels

College of Mechanical Engineering, Zhejiang Sci-Tech University, Hangzhou 310018, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(1), 281; https://doi.org/10.3390/s24010281
Submission received: 4 December 2023 / Revised: 29 December 2023 / Accepted: 29 December 2023 / Published: 3 January 2024
(This article belongs to the Special Issue Image/Video Segmentation Based on Sensor Fusion)

Abstract

Patterns entered into knitting CAD have thousands or tens of thousands of different colors, which need to be merged by color-separation algorithms. However, for degraded patterns, the current color-separation algorithms cannot achieve the desired results, and the clustering quantity parameter needs to be managed manually. In this paper, we propose a fast and automatic FCM color-separation algorithm based on superpixels, which first uses the Real-ESRGAN blind super-resolution network to clarify the degraded patterns and obtain high-resolution images with clear boundaries. Then, it uses the improved MMGR-WT superpixel algorithm to pre-separate the high-resolution images and obtain superpixel images with smooth and accurate edges. Subsequently, the number of superpixel clusters is automatically calculated by the improved density peak clustering (DPC) algorithm. Finally, the superpixels are clustered using fast fuzzy c-means (FCM) based on a color histogram. The experimental results show that not only is the algorithm able to automatically determine the number of colors in the pattern and achieve the accurate color separation of degraded patterns, but it also has lower running time. The color-separation results for 30 degraded patterns show that the segmentation accuracy of the color-separation algorithm proposed in this paper reaches 95.78%.
Keywords: knitting CAD; color-separation algorithm; blind super-resolution network; superpixel algorithm; density peak clustering (DPC); fast fuzzy c-means (FCM) knitting CAD; color-separation algorithm; blind super-resolution network; superpixel algorithm; density peak clustering (DPC); fast fuzzy c-means (FCM)

Share and Cite

MDPI and ACS Style

Ru, X.; Chen, R.; Peng, L.; Shi, W. Fast Automatic Fuzzy C-Means Knitting Pattern Color-Separation Algorithm Based on Superpixels. Sensors 2024, 24, 281. https://doi.org/10.3390/s24010281

AMA Style

Ru X, Chen R, Peng L, Shi W. Fast Automatic Fuzzy C-Means Knitting Pattern Color-Separation Algorithm Based on Superpixels. Sensors. 2024; 24(1):281. https://doi.org/10.3390/s24010281

Chicago/Turabian Style

Ru, Xin, Ran Chen, Laihu Peng, and Weimin Shi. 2024. "Fast Automatic Fuzzy C-Means Knitting Pattern Color-Separation Algorithm Based on Superpixels" Sensors 24, no. 1: 281. https://doi.org/10.3390/s24010281

APA Style

Ru, X., Chen, R., Peng, L., & Shi, W. (2024). Fast Automatic Fuzzy C-Means Knitting Pattern Color-Separation Algorithm Based on Superpixels. Sensors, 24(1), 281. https://doi.org/10.3390/s24010281

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop