首页 | 本学科首页   官方微博 | 高级检索  
     

基于OpenCV的蜡染图案快速定制系统
引用本文:刘婷婷,潘伟杰,吕健,梁焕超,付淑君.基于OpenCV的蜡染图案快速定制系统[J].计算机系统应用,2022,31(6):65-74.
作者姓名:刘婷婷  潘伟杰  吕健  梁焕超  付淑君
作者单位:贵州大学 现代制造技术教育部重点实验室, 贵阳 550025
基金项目:国家自然科学基金;贵州省科技厅自然科学基金
摘    要:为实现蜡染图案的快速定制, 提高蜡染图案创新设计效率, 研究一种基于OpenCV计算机视觉库相关函数和Python语言的蜡染图案快速定制系统. 该方法通过对蜡染图像进行形态学预处理, 然后使用canny算子实现蜡染图案轮廓提取; 随后用户手动选取子图案进行编码提取构型; 通过Hu矩匹配自动获取纹样空间位置, 结合拓扑学中的邻接图方法建立蜡染图案构型规则; 提出构型规则重用方法, 在已提取的构型规则上进行纹样嵌入, 使用基于标识矩阵法的图案嵌入法避免轮廓重叠. 该方法能够使设计结果更加丰富, 有效提高了设计效率. 最后通过蜡染图案设计原型系统进行蜡染图案创新设计, 验证该方法的可行性.

关 键 词:OpenCV  快速定制  构型规则  Hu矩匹配  蜡染图案
收稿时间:2021/8/13 0:00:00
修稿时间:2021/9/26 0:00:00

Rapid Customization System of Batik Pattern Based on OpenCV
LIU Ting-Ting,PAN Wei-Jie,LYU Jian,LIANG Huan-Chao,FU Shu-Jun.Rapid Customization System of Batik Pattern Based on OpenCV[J].Computer Systems& Applications,2022,31(6):65-74.
Authors:LIU Ting-Ting  PAN Wei-Jie  LYU Jian  LIANG Huan-Chao  FU Shu-Jun
Affiliation:Key Laboratory of Advanced Manufacturing Technology of the Ministry of Education, Guizhou University, Guiyang 550025, China
Abstract:To achieve rapid customization of batik patterns and improve the efficiency in innovative design of such patterns, this study studied a rapid customization system based on the related functions of the OpenCV computer vision library and the Python language. In this method, batik images were morphologically preprocessed, and the contours of batik patterns were extracted by the Canny operator. Then, the subpatterns were selected manually to encode and extract the configuration. The spatial positions of batik patterns were obtained automatically through Hu moment matching, and the configuration rules for the batik patterns were established by the adjacent graph method in topology. A reuse method of configuration rules was proposed. Patterns were embedded onto the extracted configuration rules, and the pattern embedding method based on the identity matrix method was used to avoid contour overlap. This method could enrich the design results and effectively improve design efficiency. Finally, innovative design of batik patterns was carried out through the prototype system of batik pattern design to verify the feasibility of the method.
Keywords:OpenCV  rapid customization  configuration rule  Hu moment matching  wax printing design
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号