Journal of Textile Research ›› 2021, Vol. 42 ›› Issue (05): 103-108.doi: 10.13475/j.fzxb.20200808506

• Dyeing and Finishing & Chemicals • Previous Articles     Next Articles

Butterfly color analysis and application based on clustering algorithm and color network

REN Yanbo1, JIANG Chao1(), WANG Jiaoqing1, YU Lin1,2, WANG Yuanyuan1   

  1. 1. Apparel and Art Design College, Xi'an Polytechnic University, Xi'an, Shaanxi 710048, China
    2. Key Laboratory of Modern Design and Integrated Manufacturing Technology, Ministry of Education, Northwestern Polytechnical University,Xi'an, Shaanxi 710072, China
  • Received:2020-08-21 Revised:2020-12-31 Online:2021-05-15 Published:2021-05-20
  • Contact: JIANG Chao E-mail:99708744@qq.com

Abstract:

The colorful butterfly with unique natural beauty is not only a common design theme, but also an important source of design inspiration. In order to clarify the color of butterfly as well as its matching rules and help designers better reuse the color of butterfly, the color of butterfly was studied and analyzed by clustering algorithm and color network. The color images of eight different angles of a single butterfly were firstly clustered twice using the K-means clustering algorithm, the main colors of butterfly were extracted, and the standard color cards of 110 butterflies were constructed. Then, the butterfly standard color cards were clustered for the third time, and the butterfly color network model including 20 network nodes was established, combined with the actual matching relationship of butterfly color. The reliability of the color network model was verified by six butterfly samples. Finally, the feasibility and application value of standard color card and color network model as color matching assistant tools were verified by the example of silk scarf pattern color matching design. Research and application cases show that butterfly standard color card and color network model can provide effective assistance and support for designers in the process of color design.

Key words: K-means clustering algorithm, color extraction, color network model, butterfly color, color design

CLC Number: 

  • TS941.26

Fig.1

Comparison of effect before (a) and after (b) image preprocessing of Papilio polytes"

Fig.2

Main colors extraction result and proportion of single Papilio polytes image"

Fig.3

Papilio polytes color datebase (48 colors)"

Fig.4

Papilio polytes standard color card"

Fig.5

Standard color card for some butterflies"

Tab.1

RGB value and normalized proportion of color node"

色彩
编号
色值 占比 色彩
编号
色值 占比
R G B R G B
C1 186 138 18 1.00 C11 161 155 161 0.48
C2 232 134 14 0.60 C12 233 238 245 0.49
C3 214 167 107 0.62 C13 130 146 186 0.37
C4 166 154 114 0.63 C14 84 86 168 0.46
C5 82 79 29 0.84 C15 104 160 176 0.34
C6 125 96 29 0.78 C16 89 130 55 0.25
C7 181 13 11 0.58 C17 151 194 156 0.51
C8 227 20 27 0.54 C18 241 229 177 0.60
C9 250 85 121 0.37 C19 219 210 48 0.44
C10 2 2 8 0.87 C20 217 195 113 0.83

Fig.6

Butterfly color network model"

Fig.7

4 butterfly images. (a) Papilio polytes; (b) Morpho polyphemus; (c) Ornithoptera goliath; (d) Colias fieldii Ménétriēs"

Fig.8

Verification results of 4 images"

Fig.9

Silk scarf pattern line draft (a) and color analysis (b)"

Fig.10

Partial design schemes"

Fig.11

Silk scarf pattern color design D20"

[1] 马云芳, 宋明黎, 卜佳俊. 床上用品色彩风格辅助设计[J]. 纺织学报, 2015,36(6):84-91.
MA Yunfang, SONG Mingli, BU Jiajun. Aided design of harmony color style of bed clothes[J]. Journal of Textile Research, 2015,36(6):84-91.
[2] 李文柱, 崔俊芝. 浅谈色彩在昆虫绘画中的应用[J]. 昆虫知识, 2007,44(6):931-933.
LI Wenzhu, CUI Junzhi. Application of colour in insect illustrations[J]. Chinese Bulletin of Entomology, 2007,44(6):931-933.
[3] 罗炳金. 棉织锦3种色彩组织模型设计与应用[J]. 纺织学报, 2012,33(7):37-42.
LUO Bingjin. Design and application of three models of color figured patterns for woven cotton brocade[J]. Journal of Textile Research, 2012,33(7):37-42.
[4] 何皙健. 景观文化中的色彩提取与塑造[J]. 价值工程, 2012,31(6):53.
HE Xijian. Color extraction and shape in landscape culture[J]. Value Engineering, 2012,31(6):53.
[5] 王晓昕. 仿生色彩设计初探[J]. 艺术与设计(理论), 2007(7):35-37.
WANG Xiaoxin. The initial exploration of the bionic color design[J]. Art And Design, 2007(7):35-37.
[6] 张旻爽, 祝成炎, 李启正, 等. 基于蜂鸟羽毛的色彩提取及应用[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.
[7] 刘肖健, 曹愉静, 赵露唏. 传统纹样的色彩网络模型及配色设计辅助技术[J]. 计算机集成制造系统, 2016,22(4):899-907.
LIU Xiaojian, CAO Yujing, ZHAO Luxi. Color networks of traditional cultural patterns and color design aiding technology[J]. Computer Integrated Manufacturing Systems, 2016,22(4):899-907.
[8] 陈登凯, 王瑶. 基于MCCQ的民间布老虎色彩特征提取及设计实践[J]. 包装工程, 2019,40(24):45-49.
CHEN Dengkai, WANG Yao. Color feature extraction of folk cloth tigers and design practice based on MCCQ algorithm[J]. Packaging Engineering, 2019,40(24):45-49.
[9] 王艳敏. 农民画色彩特征在地域农产品包装设计中的应用[J]. 包装工程, 2020,41(10):267-273.
WANG Yanmin. Application of color features of peasant paintings to the packaging design of regional agricultural products[J]. Packaging Engineering, 2020,41(10):267-273.
[10] 赵叶峰, 胡桃成, 彭韧, 等. 利用色彩和谐模式辅助提取油画主题色[J]. 计算机辅助设计与图形学学报, 2014,26(10):1576-1582.
ZHAO Yefeng, HU Taocheng, PENG Ren, et al. Extraction of theme colors from oil paintings aided by color harmony modules[J]. Journal of Computer-Aided Design & Computer Graphics, 2014,26(10):1576-1582.
[11] CYR D, HEAD M, LARIOS H. Colour appeal in website design within and across cultures: a multi-method evaluation[J]. Human-Computer Studies, 2010,68(1):1-z1.
doi: 10.1016/j.ijhcs.2009.08.005
[12] O'DONOVAN P, AGARWALA A, HERTZMANN A. Color compatibility from large datasets[C]// Computer Graphics Proceedings,Annual Conference Series,ACM SIGGRAPH. New York: ACM Press, 2011: 63.
[13] DAVID P, HOFMEYR. Degrees of freedom and model selection for k-means clustering[J]. Computational Statistics and Data Analysis, 2020,149. DOI: 10.1016/j.csda.2020.106974.
doi: 10.1016/j.csda.2020.106974
[14] 孙红艳. 用遗传算法优化初始聚类中心的K-means算法研究[J]. 电声技术, 2019,43(11):32-33,47.
SUN Hongyan. K-means algorithm for optimizing initial clustering centers by genetic algorithm[J]. Audio Engineering, 2019,43(11):32-33,47.
[15] 杨俊闯, 赵超. K-Means聚类算法研究综述[J]. 计算机工程与应用, 2019,55(23):7-14,63.
YANG Junchuang, ZHAO Chao. Survey on K-means clustering algorithm[J]. Computer Engineering and Applications, 2019,55(23):7-14,63.
[16] ZHANG Yong, WU Wenjian. Camouflage color selection based on improved K-means clustering[J]. Computer Engineering & Applications, 2006,45(6):210-212.
[1] . Aesthetics featres and evolution of Kesi art  in Song Dynasty [J]. JOURNAL OF TEXTILE RESEARCH, 2016, 37(06): 59-65.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!