基于OpenCV的蜡染图案快速定制系统
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金(52065010); 贵州省科技厅自然科学基金(黔科合基础[2018]1049)


Rapid Customization System of Batik Pattern Based on OpenCV
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为实现蜡染图案的快速定制, 提高蜡染图案创新设计效率, 研究一种基于OpenCV计算机视觉库相关函数和Python语言的蜡染图案快速定制系统. 该方法通过对蜡染图像进行形态学预处理, 然后使用canny算子实现蜡染图案轮廓提取; 随后用户手动选取子图案进行编码提取构型; 通过Hu矩匹配自动获取纹样空间位置, 结合拓扑学中的邻接图方法建立蜡染图案构型规则; 提出构型规则重用方法, 在已提取的构型规则上进行纹样嵌入, 使用基于标识矩阵法的图案嵌入法避免轮廓重叠. 该方法能够使设计结果更加丰富, 有效提高了设计效率. 最后通过蜡染图案设计原型系统进行蜡染图案创新设计, 验证该方法的可行性.

    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.

    参考文献
    相似文献
    引证文献
引用本文

刘婷婷,潘伟杰,吕健,梁焕超,付淑君.基于OpenCV的蜡染图案快速定制系统.计算机系统应用,2022,31(6):65-74

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2021-08-13
  • 最后修改日期:2021-09-26
  • 录用日期:
  • 在线发布日期: 2022-02-21
  • 出版日期:
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号