Journal of Textile Research ›› 2021, Vol. 42 ›› Issue (09): 120-125.doi: 10.13475/j.fzxb.20201102806

• Dyeing and Finishing & Chemicals • Previous Articles     Next Articles

Primary color extraction method for brocade

MIAO Peiyuan1, FANG Zhouqian1, SUN Ting1, JIN Xiaoke1, ZHU Chengyan1,2, TIAN Wei1,2()   

  1. 1. College of Textile Science and Engineering(International Institute of Silk), Zhejiang Sci-Tech University, Hangzhou, Zhejiang 310018, China
    2. Key Laboratory of Advanced Textile Materials and Manufacturing Technology, Ministry of Education, Zhejiang Sci-Tech University, Hangzhou, Zhejiang 310018, China
  • Received:2020-11-12 Revised:2021-06-04 Online:2021-09-15 Published:2021-09-27
  • Contact: TIAN Wei E-mail:tianwei_zstu@126.com

Abstract:

Traditional ethnic brocades are rich in colors, and their unique color collocation is an outstanding source for design inspiration to designers. Aiming to find a suitable method to extract the primary colors of ethnic brocade, different methods were used to extract and analyze them. We used the K-means optimization algorithm, color layering method based on HLS color space, and Photoshop software to extract the primary colors of ethnic brocade. 8-color or 10-color primary color cards were constructed, based on which the brocade pictures with the extracted primary colors were reconstructed. Following that, a comparative analysis of the primary color card sof ethnic brocades from the perspective of Lab value and RGB value shows that Photoshop software is more suitable for the primary color extraction for ethnic brocades. Finally, the corresponding primary color cards of Zhuang, Li, and Tujia brocade were established. Zhuang, Li, and Tujia ethnic groups have certain regional commonness in the use of color collocation, which is related to the traditional "five elements of positive colors". Through analysis, it is concluded that the use of Photoshop to extract the primary colors of ethnic brocades can provide a reference for designers in the process of color extraction.

Key words: ethnic brocade, primary color extraction, K-means optimization algorithm, HLS color space, Photoshop software extraction of main color

CLC Number: 

  • TS101.8

Fig.1

Examples of three ethnic brocades. (a) Zhuang brocade; (b) Li brocade; (c) Tujia brocade"

Fig.2

K-means (a) and HLS (b) algorithm flow"

Fig.3

Part of the Zhuang Brocade"

Fig.4

HLS reconstruction image (a) and primary colors card (b)"

Fig.5

K-means reconstruction image (a) and primary color card (b)"

Fig.6

Photoshop reconstruction image (a) and primary color card (b)"

Fig.7

Three methods of primary color extraction and color proportion. (a) Photoshop primary color extraction; (b) K-means primary color extraction; (c) HLS primary color extraction"

Fig.8

Preprocessing of Li brocade photos. (a)Original and segmented images of Li Brocade 1; (b)Original and segmented images of Li Brocade 2; (c)Original and processed images of Li Brocade 3"

Fig.9

Li brocade primary color histogram"

Fig.10

Li brocade proportional color card"

Fig.11

Proportional color card of three ethnic brocades"

Tab.1

Three Ethnic Brocade Proportional Color Card and R、G、B Value Range"

织锦类别 R G B
色值 差值 色值 差值 色值 差值
壮锦 13~244 231 9~243 234 6~241 235
黎锦 9~237 228 11~223 212 9~196 234
土家锦 15~244 229 13~237 224 7~241 187
[1] 朱培恺, 刘敬浩. 基于改进K-means的图片主色提取方法[J]. 南开大学学报(自然科学版), 2019, 52(6):12-18.
ZHU Peikai, LIU Jinghao. Image color extraction algorithm based on improved K-means[J]. Journal of Nankai University (Natural Science Edition), 2019, 52(6):12-18.
[2] 张鲁燕, 孙婷, 孙艺博, 等. 提取主色彩的特性及其在纹样的应用[J]. 艺术与设计(理论), 2019, 2(6):37-38.
ZHANG Luyan, SUN Ting, SUN Yibo, et al. Characteristics of extracting main color and its application in pattern[J]. Art and Design, 2019, 2(6):37-38.
[3] 杨慧炯. 面向自然图像的自适应主色提取方法研究[J]. 微电子学与计算机, 2018, 35(9):99-102,107.
YANG Huijiong. Research on adaptive main colors extraction algorithm for natural images[J]. Microelectronics Computer, 2018, 35(9):99-102,107.
[4] 曹愉静. 基于大数据技术的中国传统色彩特征的研究[D]. 杭州:浙江工业大学, 2015:22-23.
CAO Yujing. The study of Chinese traditional color characteristics based on big data technology[D]. Hangzhou:Zhejiang University of Technology, 2015:22-23.
[5] 张旻爽, 祝成炎, 李启正, 等. 基于蜂鸟羽毛的色彩提取及应用[J]. 丝绸, 2017, 54(12):59-66.
ZHANG Minshuang, ZHU Chengyan, LI Qizheng, et al. Color extraction and application based on hummingbirds' feathers[J]. Journal of Silk, 2017, 54(12):59-66.
[6] PRIMOŽ Weingerl, ALEŠ Hladnik, DEJANA Javoršek. Development of a machine learning model for extracting image prominent colors[J]. Color Research & Application, 2020, 45(3):1-18.
[7] 周玉萍, 冯杰, 胡小蕾, 等. 基于Photoshop的海南黎锦图案元素提取技术研究[J]. 电脑知识与技术, 2016, 12(12):222-224.
ZHOU Yuping, FENG Jie, HU Xiaolei, et al. Research on the extraction technology of Hainan Lijin pattern elements based on photoshop[J]. Computer Knowledge and Technology, 2016, 12(12):222-224.
[8] 梁韵. 壮侗民族织锦比较分析[J]. 丝绸, 2020, 57(2):66-71.
LIANG Yun. A comparative analysis of Zhuang brocade and Dong brocade[J]. Journal of Silk, 2020, 57(2):66-71.
[9] 杨诗, 肖红. 土家族织锦色彩色号提取研究[J]. 轻工科技, 2016, 32(12):95-96.
YANG Shi, XIAO Hong. Study on the extraction of Tujia brocade color number[J]. Guangxi Journal of Light Industry, 2016, 32(12):95-96.
[10] 徐丽君. 土家织锦图案及色彩探析[D]. 武汉:中南民族大学, 2016:53-66.
XU Lijun. Tujia brocade pattern and color analysis[D]. Wuhan:South-Central Minzu University, 2016:53-66.
[11] 赵露唏. 中国传统文化色彩网络的大数据分析技术研究[D]. 杭州:浙江工业大学, 2016:43-44.
ZHAO Luxi. Big data analysis technology of Chinese traditional culture network research[D]. Hangzhou:Zhejiang University of Technology, 2016:43-44.
[12] 苟双晓, 果霖, 李刚, 等. 花腰傣服饰色彩研究[J]. 浙江纺织服装职业技术学院学报, 2020, 19(3):26-31.
GOU Shuangxiao, GUO Lin, LI Gang, et al. Research on the color of huayao Dai clothing[J]. Journal of Zhejiang Fashion Institute of Technology, 2020, 19(3):26-31.
[1] LU Jun, WANG Fujun, LAO Jihong, WANG Lu, LIN Jing. Finite element analysis of braided artificial ligaments of different structures under combined loading [J]. Journal of Textile Research, 2021, 42(08): 84-89.
[2] ZHANG Siyu, YU Li, JIA He, LIU Xin. Free form deformation modeling method and inflation mechanism of folded canopy fabrics [J]. Journal of Textile Research, 2021, 42(07): 108-114.
[3] ZHANG Jianxin, HUANG Gang, HU Xudong. Fuzzy comprehensive evaluation of fabric gloss based on spectral imaging technology [J]. Journal of Textile Research, 2021, 42(06): 106-113.
[4] LUO Xiaolei, LI Ziyan, MA Ya'nan, LIU Lin, KRUCINSKA Izabella, YAO Juming. Progress in ecological flame retardant technology for textiles [J]. Journal of Textile Research, 2021, 42(05): 193-202.
[5] WANG Lu, HAN Xue, LOU Lin, HE Linghua, ZHOU Xiaohong. Development of electric-heating protective gloves and ergonomic experiments under extreme cold environment [J]. Journal of Textile Research, 2021, 42(05): 150-154.
[6] YIN Shiyong, BAO Jinsong, TANG Shixi, YANG Yun. Modeling method of cyber physical production system for ring spinning [J]. Journal of Textile Research, 2021, 42(02): 65-73.
[7] SUN Yabo, LI Lijun, MA Chongqi, WU Zhaonan, QIN Yu. Simulation on tensile properties of tubular weft knitted fabrics based on ABAQUS [J]. Journal of Textile Research, 2021, 42(02): 107-112.
[8] SHENG Mingfei, WANG Wanning, ZHANG Liping, FU Shaohai. Preparation and properties of continuously produced electric-responsive liquid crystal fibers [J]. Journal of Textile Research, 2021, 42(02): 27-33.
[9] WANG He, WANG Hongjie, RUAN Fangtao, FENG Quan. Preparation and properties of carbon nanofiber electrode made from electrospun polyacrylonitrile/linear phenolic resin [J]. Journal of Textile Research, 2021, 42(01): 22-29.
[10] HU Xiaorui, SUN Fengxin, XIAO Caiqin, GAO Weidong. Characterization of wrinkle recovery of fabrics based on in-situ mechanical testing [J]. Journal of Textile Research, 2020, 41(10): 41-45.
[11] SHENG Mingfei, ZHANG Liping, FU Shaohai. Preparation and property of dye-doped liquid crystal microcapsules for electro-stimulated responsive smart textiles [J]. Journal of Textile Research, 2020, 41(08): 63-68.
[12] XIAO Zhitao, GUO Yongmin, GENG Lei, WU Jun, ZHANG Fang, WANG Wen, LIU Yanbei. Internal defect detection method for thin test pieces of woven laminated composites based on ultrasonic phased array [J]. Journal of Textile Research, 2019, 40(11): 81-87.
[13] JIA Gaopeng, SONG Xiaohong, LI Ying, LIU Xiaodan, PAN Xueru. Current response in stretching process of Cu-Ni metal-coated woven fabric [J]. Journal of Textile Research, 2019, 40(10): 68-72.
[14] ZOU Lihua, XU Zhenzhen, SUN Yanyan, WANG Tairan, QIU Yiping. Influence of graphene oxide/polyaniline functional film on electromagnetic shielding property of cotton fabrics [J]. Journal of Textile Research, 2019, 40(08): 109-116.
[15] LIU Qiannan, ZHANG Han, LIU Xinjin, SU Xuzhong. Simulation on tensile mechanical properties of three-elementary weave woven fabrics based on ABAQUS [J]. Journal of Textile Research, 2019, 40(04): 44-50.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!