Lacquerware Color and Pattern Design Method Based on Improved Clustering and Edge Detection
Downloads
To realize accurate extraction and digital design of lacquerware color and decorative patterns for traditional craft inheritance and innovation, this study proposes an improved technical method. The improved K-means++ clustering algorithm is used for color extraction. First, singular value decomposition (SVD) reduces the dimensionality of compressed images to retain core color information. Then, a quadratic clustering strategy optimizes the initial centers. For pattern detection, hybrid adaptive median filtering and bootstrap filtering denoise images, combined with adaptive linear interpolation suppression, improve edge positioning accuracy. Experiments on typical lacquerware images showed that when extracting 16 feature colors, the improved K-means++ had a mean peak signal-to-noise ratio (PSNR) of 31.47 dB and a structural similarity index (SSIM) of 0.95. When extracting 8 colors, it still maintained a PSNR of 28.83 dB. The improved Canny algorithm achieved a PSNR of 24.43 dB at 1.0% noise level, with 64.88% sensitivity and 93.04% specificity. It accurately restored color proportions of crafts like needle carving with a pulling knife and generates patterns with clear edges. This method synergistically optimizes color and edge extraction, enhances digital design precision and efficiency, and provides reliable support for traditional craft digital preservation.
Downloads
[1] Xinying, H., Yufan, Z., Xin, W., & Tong, T. (2023). Micro - destructive detection of a Southern Song lacquerware fragment and study of its lacquering techniques. Sciences of Conservation and Archaeology, 35(2), 116–124. doi:10.16334/j.cnki.cn31-1652/k.20210902243.
[2] Zhang, G., Wang, Z., Xia, J., & Wang, N. (2025). Species identification of the cores of wooden lacquerwares excavated from the lower reaches of Yangtze River and research on the development of their fabrication processes. Sciences of Conservation and Archaeology, 37(2), 167–178. doi:10.16334/j.cnki.cn31-1652/k.20231103102.
[3] Zhang, X., & Dolah, J. (2024). Research on Animal and Plant Patterns of Pingyao Lacquerware in the Ming and Qing Dynasties. Herança, 7(3), 157–164. doi:10.52152/heranca.v7i3.767.
[4] Zhang, T., & Deng, C. (2024). Technical Repair Method of Poyang Bodiless Lacquerware Based on Scale-Invariant Feature Transform Algorithm for Healthcare Vision. Journal of Testing and Evaluation, 52(1), 315–326. doi:10.1520/JTE20210460.
[5] Habiban, M., Hamade, F. R., & Mohsin, N. A. (2024). Hybrid Edge Detection Methods in Image Steganography for High Embedding Capacity. Cybernetics and Information Technologies, 24(1), 157–170. doi:10.2478/cait-2024-0009.
[6] Bhagat, S., Budhiraja, S., & Agrawal, S. (2024). Pattern-based feature set for efficient segmentation of color images using modified FCM clustering. Signal, Image and Video Processing, 18(11), 7671–7687. doi:10.1007/s11760-024-03419-3.
[7] Ning, X., Wu, N., Zhang, R., Chen, T., Jiang, Y., & Jiang, H. (2024). Tenglong Yuan blue and white texture extraction method based on adaptive gamma correction and K-means clustering segmentation coupled algorithm. Journal of the Australian Ceramic Society, 60(1), 1–11. doi:10.1007/s41779-023-00981-w.
[8] Qian, Q., Zheng, Z., Liang, Z., Wu, P., & Du, P. (2023). Application of Semi-Supervised Clustering Algorithm Based on Color Feature to Corrosion Level Identification for Copper. Corrosion and Protection, 44(5), 34–40. doi:10.11973/fsyfh-202305007.
[9] Hasanlou, E., Shams Nateri, A., & Izadan, H. (2024). Fabric colour measurement in the small region of CIELab colour space using a scanner-based subtractive clustering fuzzy inference system. Coloration Technology, 140(5), 782–792. doi:10.1111/cote.12739.
[10] Zhang, Y., Zhang, J., & Qi, L. (2024). Research on the extraction method of woven and embroidered artifacts’ patterns based on genetic algorithm optimization of Canny operator. Journal of Silk, 61(6), 1–12. doi:10.3969/j.issn.1001-7003.2024.06.001.
[11] Tuo, W., Du, C., Chen, Q., Wu, C., Wei, X., Zhang, X., & Liu, S. (2024). Clothing pattern contour extraction based on computer vision and Canny algorithm. Fangzhi Xuebao/Journal of Textile Research, 45(5), 174–182. doi:10.13475/j.fzxb.20230502901.
[12] Shi, X., Xu, Z., Cui, L., Zhao, X., & Zhang, W. (2025). ViCo: Human visual perception-based contour extraction of Chinese Tang dynasty textile patterns. Textile Research Journal, 95(9–10), 1169–1183. doi:10.1177/00405175241268771.
[13] Yadav, N., Singh, V., Rani, A., & Goyal, S. (2023). Local Diagonal Maxima-Minima Pattern-based Edge Detection Technique for Ultrasound and Digital Radiography Images. IETE Journal of Research, 69(6), 3211–3221. doi:10.1080/03772063.2021.1912652.
[14] Sabha, M., & Saffarini, M. (2024). Selecting optimal k for K-means in image segmentation using GLCM. Multimedia Tools and Applications, 83(18), 55587–55603. doi:10.1007/s11042-023-17615-9.
[15] Dhal, K. G., Das, A., Sasmal, B., Ray, S., Rai, R., & Garai, A. (2024). Fuzzy C-Means for image segmentation: challenges and solutions. Multimedia Tools and Applications, 83(9), 27935–27971. doi:10.1007/s11042-023-16569-2.
[16] Rahman, M. M., Islam, M. R., Afjal, M. I., Marjan, M. A., Uddin, M. P., & Islam, M. M. (2025). Segmentation-based truncated-SVD for effective feature extraction in hyperspectral image classification. International Journal of Remote Sensing, 46(2), 538–574. doi:10.1080/01431161.2024.2421934.
[17] Niu, P., Wang, F., & Wang, X. (2024). SVD-UDWT Difference Domain Statistical Image Watermarking Using Vector Alpha Skew Gaussian Distribution. Circuits, Systems, and Signal Processing, 43(1), 224–263. doi:10.1007/s00034-023-02460-w.
[18] Li, N., Qi, W., Jiao, J., Li, A., Li, L., & Xu, W. (2024). SPCC: A superpixel and color clustering based camouflage assessment. Multimedia Tools and Applications, 83(9), 26255–26279. doi:10.1007/s11042-023-16425-3.
[19] Gijsenij, A., Vazirian, M., Spiers, P., Westland, S., & Koeckhoven, P. (2023). Determining key colors from a design perspective using dE-means color clustering. Color Research and Application, 48(1), 69–87. doi:10.1002/col.22817.
[20] Purohit, J., & Dave, R. (2023). Leveraging Deep Learning Techniques to Obtain Efficacious Segmentation Results. Archives of Advanced Engineering Science, 1(1), 11–26. doi:10.47852/bonviewaaes32021220.
[21] Lu, H., Mao, H., Zhou, H., Zhen, B., Zhong, Y., & Yang, B. (2025). Applying Canny edge detection and Hough transform algorithms to identify irrigation channel boundaries in irrigation districts. Journal of Irrigation and Drainage, 44(5), 47–56. doi:10.13522/j.cnki.ggps.2024375.
[22] Liu, L., Liu, Z., Hou, A., Qian, X., & Wang, H. (2024). Adaptive edge detection of rebar thread head image based on improved Canny operator. IET Image Processing, 18(5), 1145–1160. doi:10.1049/ipr2.13015.
[23] Wang, H., Peng, H., Tang, Y., Guan, Y., Liang, Y., Wang, L., Zhao, Y., Wang, X., Gao, R., & Huang, H. (2024). Portable Structure Surface Crack Detection System Based on Android Platform. Wuhan University Journal of Natural Sciences, 29(2), 154–164. doi:10.1051/wujns/2024292154.
[24] Ranjan, R., & Avasthi, V. (2023). Edge Detection Using Guided Sobel Image Filtering. Wireless Personal Communications, 132(1), 651–677. doi:10.1007/s11277-023-10628-5.
[25] He, L., Xie, Y., Xie, S., Jiang, Z., & Chen, Z. (2024). Iterative Self-Guided Image Filtering. IEEE Transactions on Circuits and Systems for Video Technology, 34(8), 7537–7549. doi:10.1109/TCSVT.2024.3374758.
[26] Zhou, W. (2023). Image Dehazing Enhancement Algorithm Based on Mean Guided Filtering. Journal of Information Processing Systems, 19(4), 417–426. doi:10.3745/JIPS.02.0195.
[27] Riyono, J., Pujiastuti, C. E., Puspa, S. D., Supriyadi, & Putri, F. N. R. (2024). Enchancing Lung Disease Classification through K-Means Clustering, Chan-Vese Segmentation, and Canny Edge Detection on X-Ray Segmented Images. Jurnal Online Informatika, 9(1), 89–99. doi:10.15575/join.v9i1.1178.
[28] Ravendran, A., & Rianmora, S. (2021). Application of image-based acquisition techniques for additive manufacturing using canny edge detection. Journal of Computational and Applied Research in Mechanical Engineering, 10(2), 391–404. doi:10.22061/jcarme.2019.4355.1524.
[29] Salunke, D., Tekade, P., Ranjan, N., Ujalambkar, D., Sangve, S., & Mane, D. (2023). Real-Time Dimension Detection using Customized Canny Edge Detection Algorithm. International Journal of Engineering Trends and Technology, 71(9), 375–384. doi:10.14445/22315381/IJETT-V71I9P233.
[30] Wang, W., Liu, Y., Xiao, L., Fang, J., Wang, J., & Wang, J. (2023). Research on digitalization of ancient Shu Brocade patterns based on improved generative adversal network and vector rendering technology. Journal of Silk, 60(11), 18–27. doi:10.3969/j.issn.1001-7003.2023.11.003.
- This work (including HTML and PDF Files) is licensed under a Creative Commons Attribution 4.0 International License.





















