From pixels to knitted fabrics: A multialgorithm error diffusion system for knitting design
Source abstract
Abstract
This study proposes a perceptually guided workflow for transforming digital images into knit-compatible outputs constrained by predefined yarn palettes. The workflow incorporates multiple error diffusion-based color quantization methods and evaluates each result using seven perceptual and statistical quality metrics (Color Difference formula 2000, Structural Similarity Index Measure, Mean Squared Error, Peak Signal-to-Noise Ratio, Visual Information Fidelity, Feature Similarity Index Measure, Gradient Magnitude Similarity Deviation). These metrics are normalized, perceptually weighted, and aggregated into a composite score to support method comparison. Designers can predefine target yarn colors and compare alternative reductions both visually and quantitatively. The selected image is automatically converted into a bitmap format, with each color linked to predefined knitting codes. Experimental results show that the workflow preserves visual fidelity while respecting material constraints such as yarn availability and machine resolution. By combining color reduction, quality assessment, and code generation in a unified process, the system enables efficient and reproducible translation of digital visuals into textile-ready formats.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Textile materials and evaluations · Dyeing and Modifying Textile Fibers · Music Technology and Sound Studies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Van Yuzuncu Yil University, Computer Science Research and Application Center, Van, Turkey
Firat University, Faculty of Engineering, Computer Engineering Department, Elazig, Turkey
References (38)
Show source-provided references
1. 10.1080/00404969.2024.239322910.1080/00404969.2024.2393229 ↗
2. 10.36253/fh-260510.36253/fh-2605 ↗
3. Adamova Y, Dmitrienko N. The importance of using knitwear in modern fashion. Institute of Service and Entrepreneurship (branch) of DSTU. Shakhty: Russia, 2024.
4. Xing Y. Pattern design of knit and purl based on cad system of automatic knitting machine based on computer vision integration. In: Third international conference on smart systems and inventive technology, Tirunelveli, India, 20–22 August 2020, pp.783–786. IEEE.
5. Kaspar A, Makatura L, Matusik W. Knitting skeletons: A computer-aided design tool for shaping and patterning of knitted garments. In: Proceedings of the 32nd Annual ACM Symposium on User Interface Software and Technology, New York, NY: Association for Computing Machinery (ACM), 20–23 October 2019, pp. 53–65.
6. 10.1016/j.cad.2022.10321410.1016/j.cad.2022.103214 ↗
7. 10.1145/3306346.332299510.1145/3306346.3322995 ↗
8. Yu TC, McCann J. Coupling programs and visualization for machine knitting. In: Proceedings of the 5th Annual ACM Symposium on Computational Fabrication 2020: 1–10.
9. Conti GM, Didero R. Method for manufacturing a knitted fabric reproducing an adversarial image. International Patent Application No. PCT/IB2022/051036. WO 2022/168014 A1. Filed 2022 Feb 7 (priority 2021 Feb 8, IT 102021000002729). World Intellectual Property Organization (WIPO): Geneva, Switzerland.
10. 10.1145/318626510.1145/3186265 ↗
11. 10.1145/3450626.345975210.1145/3450626.3459752 ↗
12. 10.1145/365823110.1145/3658231 ↗
13. 10.1109/TVCG.2021.305610110.1109/TVCG.2021.3056101 ↗
14. 10.1177/0040517524124945710.1177/00405175241249457 ↗
15. 10.1108/IJCST-09-2021-012210.1108/IJCST-09-2021-0122 ↗
16. 10.5850/JKSCT.2009.33.10.163310.5850/JKSCT.2009.33.10.1633 ↗
17. 10.1145/348800610.1145/3488006 ↗
18. 10.1145/2023607.202365810.1145/2023607.2023658 ↗
19. 10.1080/17543266.2021.188117010.1080/17543266.2021.1881170 ↗
20. 10.1080/00405000.2021.195373010.1080/00405000.2021.1953730 ↗
21. Holderied P, Mutschler T, Tresp S, et al. Development of a new yarn supply for weft knitting machines to produce innovative knitwear. Commun Dev Assemb Text Prod 2023; 4(1): 51–60.
22. Baozhu K, ZWeiyuan Z. The optimal design of threelayer plated fabrics. Fibres Text East Eur 2007; 15(1): 59.
23. 10.1111/cgf.1469410.1111/cgf.14694 ↗
24. Conti G, Motta M, Lo Scocco G, et al. The digitalization of knitwear: towards a redefinition of the conventional design boundaries. In: Intelligent Human Systems Integration (IHSI 2022): Integrating People and Intelligent Systems. Los Angeles, CA, USA: AHFE, 2022, pp.1–10.
25. Hassan M, Bhagvati C. Evaluation of image quality assessment metrics: Color quantization noise. Evaluation 2015; 9(1): 1–8.
26. Shi X, Li X. An improved error diffusion algorithm based on visual difference. In: IEEE International Conference on Image Processing (ICIP 2014); Paris, France, 27–30 October 2014, pp. 2619–2623. Piscataway, NJ: IEEE.
27. Hocevar S, Niger G. Retracted chapter: Reinstating Floyd–Steinberg: Improved metrics for quality assessment of error diffusion algorithms. In: Elmoataz A, Lezoray O, Nouboud F, Mammass D (eds) Image and Signal Processing: 3rd International Conference, ICISP 2008; Berlin, Heidelberg: Springer-Verlag, 1–3 July 2008, pp. 38–45.
28. 10.1109/TNN.2004.83654310.1109/TNN.2004.836543 ↗
29. Floyd RW, Steinberg L. An adaptive algorithm for spatial grey scale. Proc Soc Inf Display 1976; 17(2): 75–77.
30. Zhou Y, Chen C, Wang Q, et al. Block-based threshold modulation error diffusion. In 16th IEEE International Conference on Image Processing (ICIP 2009); Cairo, Egypt, 7–10 November 2009, pp. 2033–2036. Piscataway, NJ: IEEE.
31. 10.1109/83.50239710.1109/83.502397 ↗
32. 10.1016/j.eswa.2010.07.07910.1016/j.eswa.2010.07.079 ↗
33. 10.1109/ACCESS.2018.284867110.1109/ACCESS.2018.2848671 ↗
34. 10.1109/TIP.2011.210973010.1109/TIP.2011.2109730 ↗
35. 10.1109/TIP.2003.81986110.1109/TIP.2003.819861 ↗
36. Yang Y, Ming J, Yu N. Color image quality assessment based on CIEDE2000. Adv Multimedia 2012; 2012(1): 273723.
37. 10.1109/TIP.2013.229342310.1109/TIP.2013.2293423 ↗
38. Sheikh HR, Bovik AC. A visual information fidelity approach to video quality assessment. In: First International Workshop on Video Processing and Quality Metrics for Consumer Electronics, 2005; vol. 7, pp. 2117–2128.