作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2024, Vol. 50 ›› Issue (9): 356-366. doi: 10.19678/j.issn.1000-3428.0068313

• 开发研究与工程应用 • 上一篇    下一篇

基于凹凸性和转向角的古陶瓷碎片二次匹配算法

刘鹏欢1, 周强1,*(), 王莹2,3, 朱建锋2,3, 罗宏杰4, 王露1, 王甜2,3   

  1. 1. 陕西科技大学电气与控制工程学院, 陕西 西安 710021
    2. 陕西科技大学材料科学与工程学院, 陕西 西安 710021
    3. 地下文物保护材料与技术教育部重点实验室, 陕西 西安 710021
    4. 上海大学文化遗产保护基础科学研究院, 上海 200444
  • 收稿日期:2023-08-30 出版日期:2024-09-15 发布日期:2024-03-19
  • 通讯作者: 周强
  • 基金资助:
    国家自然科学基金(62205191); 陕西省地下文物保护利用协同创新中心项目(22JY008)

Quadratic Matching Algorithm of Ancient Ceramic Fragments Based on Concavity-Convexity and Steering Angle

LIU Penghuan1, ZHOU Qiang1,*(), WANG Ying2,3, ZHU Jianfeng2,3, LUO Hongjie4, WANG Lu1, WANG Tian2,3   

  1. 1. School of Electrical and Control Engineering, Shaanxi University of Science and Technology, Xi'an 710021, Shaanxi, China
    2. School of Materials Science and Engineering, Shaanxi University of Science and Technology, Xi'an 710021, Shaanxi, China
    3. Key Laboratory of Materials and Technology for Underground Cultural Heritage Conservation, Ministry of Education, Xi'an 710021, Shaanxi, China
    4. Institute for the Conservation of Cultural Heritage, Shanghai University, Shanghai 200444, China
  • Received:2023-08-30 Online:2024-09-15 Published:2024-03-19
  • Contact: ZHOU Qiang

摘要:

碎片拼接是古陶瓷修复的关键工作, 针对古陶瓷碎片形状随机、数量大、表面纹理弱且存在局部缺损而导致算法的精度较低、匹配时间较长等问题, 提出一种基于凹凸性和转向角的古陶瓷碎片二次配算法。在提取古陶瓷碎片轮廓曲线的基础上, 通过先后使用粗匹配和细匹配的二次匹配组合实现碎片的两两精确匹配。一次粗匹配先通过多边形逼近碎片轮廓曲线, 以降低轮廓的复杂性, 再提取多边形的顶点凹凸性和顶点转向角构建一次轮廓特征集合, 最后利用凹凸互补性和遍历顶点对齐的双模态特征初次匹配算法来寻找大致匹配段, 并得到粗匹配点集。二次细匹配先随机选取粗匹配点集中的任意相邻两点点对来提取碎片轮廓片段, 以减少轮廓点数量并提高算法效率, 再计算轮廓片段的轮廓转向角以提取二次轮廓特征集合, 最后利用基于粒子群优化的二次匹配来搜索精确匹配段, 并得到细匹配点集。实验结果表明, 该算法对二维古陶瓷碎片的拼接效果较好, 且具有较强的鲁棒性, 拼接误差不超过2%, 运行时间效率相比已有算法提高了8%~20%。

关键词: 碎片拼接, 二次匹配算法, 轮廓提取, 凹凸性, 转向角, 粒子群优化

Abstract:

Fragment splicing is the key work in ancient ceramic repair. To address the problems of the random shapes, large number, weak surface textures, and local defects of ancient ceramic fragments (which result in a low accuracy and long matching time of the algorithm), this paper proposes a quadratic matching algorithm of ancient ceramic fragments based on concavity-convexity and steering angle. On the basis of extracting the contour curves of ancient ceramic fragments, the algorithm realizes the two-pair matching of fragments by combining coarse matching and fine matching. First coarse matching: The algorithm approximates the fragment profile curve through the polygon first to reduce the complexity of the profile. Then, it extracts the vertex concavity-convexity and vertex steering angle of the polygon to construct the first contour feature set. Finally, it uses the initial matching algorithm of the dual-modal features of concave-convex complementarity and traversal vertex alignment to determine the approximate matching segment, and the coarse matching point set is obtained. Quadratic fine matching: First, the algorithm selects any two adjacent points in the coarse matching points selected randomly to extract the fragment contour fragment. This reduces the number of contour points and improves the efficiency of the algorithm. Then, it calculates the contour steering angle of the contour fragment to extract the secondary profile feature set. Finally, it uses the quadratic matching based on Particle Swarm Optimization (PSO) to search for the exact matching segment and obtain the fine matching point set. The experimental results reveal that the algorithm displays a good stitching effect and strong robustness for the splicing of two-dimensional ancient ceramic fragments. The splicing error is less than 2%, and the running time efficiency is high(8%-20% higher than that of the existing algorithm).

Key words: fragment splicing, quadratic matching algorithm, contour extraction, concavity-convexity, steering angle, Particle Swarm Optimization(PSO)