纺织学报 ›› 2021, Vol. 42 ›› Issue (09): 120-125.doi: 10.13475/j.fzxb.20201102806

• 染整与化学品 • 上一篇    下一篇

民族织锦的主色提取方法

苗沛源1, 方周倩1, 孙婷1, 金肖克1, 祝成炎1,2, 田伟1,2()   

  1. 1.浙江理工大学 纺织科学与工程学院(国际丝绸学院), 浙江 杭州 310018
    2.浙江理工大学 先进纺织材料与制备技术教育部重点实验室, 浙江 杭州 310018
  • 收稿日期:2020-11-12 修回日期:2021-06-04 出版日期:2021-09-15 发布日期:2021-09-27
  • 通讯作者: 田伟
  • 作者简介:苗沛源(1995—),女,硕士生。主要研究方向为纺织图像处理。

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 Published:2021-09-15 Online:2021-09-27
  • Contact: TIAN Wei

摘要:

传统民族织锦色彩丰富,其独特的色彩搭配是设计师重要的设计灵感来源。为找到适合民族织锦的主色提取方法,使用不同方法提取民族织锦主色并进行分析。首先采用优化K-means算法、基于HLS色彩空间的色彩分层及使用Photoshop软件对民族织锦进行主色提取,构建8色或10色的主色卡,用提取的主色重构织锦图片;其次,对民族织锦主色卡从CIELAB、RGB色彩空间的角度对比分析;最后建立壮、黎、土家族织锦相应的主色卡。研究结果表明:Photoshop软件更适合用于民族织锦的主色提取;壮、黎、土家族在色彩的搭配使用上存在着一定的地域共性,均与我国传统的“五行正色”有关;Photoshop软件主色提取法可为设计师在色彩提取过程中提供参考与借鉴。

关键词: 民族织锦, 主色彩提取, 优化K-means算法, HLS色彩空间, Photoshop软件主色提取

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

中图分类号: 

  • TS101.8

图1

3种民族织锦示例图"

图2

K-means算法及HLS色彩空间的色彩分层方法流程图"

图3

壮锦局部图"

图4

HLS主色恢复图及主色卡"

图5

K-means主色恢复图及主色卡"

图6

Photoshop及主色重构图"

图7

3种主色提取方法及色彩占比"

图8

黎锦照片预处理示意图"

图9

黎锦主色图"

图10

黎锦比例色卡"

图11

3种民族织锦比例色卡图"

表1

3种民族织锦色卡R、G、B值的范围"

织锦类别 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] 卢俊, 王富军, 劳继红, 王璐, 林婧. 复合载荷下不同结构编织人工韧带的有限元分析[J]. 纺织学报, 2021, 42(08): 84-89.
[2] 张思宇, 余莉, 贾贺, 刘鑫. 柔性伞衣织物的自由变形折叠建模及其充气机制研究[J]. 纺织学报, 2021, 42(07): 108-114.
[3] 张建新, 黄钢, 胡旭东. 基于光谱成像技术的织物光泽模糊综合评价[J]. 纺织学报, 2021, 42(06): 106-113.
[4] 骆晓蕾, 李紫嫣, 马亚男, 刘琳, KRUCINSKAIzabella, 姚菊明. 纺织品生态阻燃技术研究进展[J]. 纺织学报, 2021, 42(05): 193-202.
[5] 王璐, 韩雪, 娄琳, 何令华, 周小红. 电热防护手套研制及其在极端寒冷环境下的工效实验[J]. 纺织学报, 2021, 42(05): 150-154.
[6] 殷士勇, 鲍劲松, 唐仕喜, 杨芸. 环锭纺纱信息物理生产系统建模方法[J]. 纺织学报, 2021, 42(02): 65-73.
[7] 孙亚博, 李立军, 马崇启, 吴兆南, 秦愈. 基于ABAQUS的筒状纬编针织物拉伸力学性能模拟[J]. 纺织学报, 2021, 42(02): 107-112.
[8] 盛明非, 王婉宁, 张丽平, 付少海. 可连续化生产的电刺激响应型液晶纤维制备及其性能[J]. 纺织学报, 2021, 42(02): 27-33.
[9] 王赫, 王洪杰, 阮芳涛, 凤权. 静电纺聚丙烯腈/线性酚醛树脂碳纳米纤维电极的制备及其性能[J]. 纺织学报, 2021, 42(01): 22-29.
[10] 胡霄睿, 孙丰鑫, 肖彩勤, 高卫东. 基于原位力学测试的织物折皱回复性表征[J]. 纺织学报, 2020, 41(10): 41-45.
[11] 盛明非, 张丽平, 付少海. 基于染料掺杂型液晶微胶囊的电刺激响应智能纺织品的制备及其性能[J]. 纺织学报, 2020, 41(08): 63-68.
[12] 肖志涛, 郭永敏, 耿磊, 吴骏, 张芳, 王雯, 刘彦北. 基于超声相控阵的机织层合复合薄板试件内部缺陷检测方法[J]. 纺织学报, 2019, 40(11): 81-87.
[13] 贾高鹏, 宋小红, 李莹, 刘晓丹, 潘雪茹. 铜镍金属涂层机织物拉伸过程中电流的响应[J]. 纺织学报, 2019, 40(10): 68-72.
[14] 邹梨花, 徐珍珍, 孙妍妍, 王太冉, 邱夷平. 氧化石墨烯/聚苯胺功能膜对棉织物电磁屏蔽性能的影响[J]. 纺织学报, 2019, 40(08): 109-116.
[15] 刘倩楠, 张涵, 刘新金, 苏旭中. 基于ABAQUS的三原组织机织物拉伸力学性能模拟[J]. 纺织学报, 2019, 40(04): 44-50.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!