arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.05966cs.CVcs.AIcs.GRcs.MM
收藏

机械部件的徒手草图生成

Freehand Sketch Generation from Mechanical Components

Tsinghua University(清华大学);Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);Zhejiang University(浙江大学)

Zhichao Liao, Di Huang, Heming Fang, Yue Ma, Fengyuan Piao, Xinghui Li, Long Zeng, Pingfa Feng

AI总结:

提出MSFormer两阶段框架,模拟人类素描行为,首次为机械部件生成类人徒手草图,采用视图选择与边约束笔画初始化,达到最先进性能。

摘要:

在多媒体设备上绘制机械部件的徒手草图以进行基于AI的工程建模已成为一种新趋势。然而,其发展受到阻碍,因为现有工作无法为数据驱动研究生成合适的草图。这些工作要么生成缺乏徒手风格的草图,要么使用并非为此任务设计的生成模型,导致效果不佳。为解决此问题,我们设计了一个模拟人类素描行为模式的两阶段生成框架,称为MSFormer,这是首次为机械部件定制生成类人徒手草图。第一阶段采用Open CASCADE技术从机械部件获取多视角轮廓草图,过滤干扰信号以利于后续生成过程。同时,我们设计了一个视图选择器来模拟人类素描中的视点选择任务,以挑选信息丰富的草图。第二阶段通过基于变换器的生成器将轮廓草图转换为徒手草图。为了尽可能保留关键建模特征并合理化笔画分布,我们引入了一种新颖的边约束笔画初始化方法。此外,我们利用CLIP视觉编码器和包含Hausdorff距离的新损失函数来增强模型的泛化性和鲁棒性。大量实验表明,我们的方法在机械领域生成徒手草图方面达到了最先进的性能。项目页面:https://mcfreeskegen.github.io 。

英文摘要:

Drawing freehand sketches of mechanical components on multimedia devices for AI-based engineering modeling has become a new trend. However, its development is being impeded because existing works cannot produce suitable sketches for data-driven research. These works either generate sketches lacking a freehand style or utilize generative models not originally designed for this task resulting in poor effectiveness. To address this issue, we design a two-stage generative framework mimicking the human sketching behavior pattern, called MSFormer, which is the first time to produce humanoid freehand sketches tailored for mechanical components. The first stage employs Open CASCADE technology to obtain multi-view contour sketches from mechanical components, filtering perturbing signals for the ensuing generation process. Meanwhile, we design a view selector to simulate viewpoint selection tasks during human sketching for picking out information-rich sketches. The second stage translates contour sketches into freehand sketches by a transformer-based generator. To retain essential modeling features as much as possible and rationalize stroke distribution, we introduce a novel edge-constraint stroke initialization. Furthermore, we utilize a CLIP vision encoder and a new loss function incorporating the Hausdorff distance to enhance the generalizability and robustness of the model. Extensive experiments demonstrate that our approach achieves state-of-the-art performance for generating freehand sketches in the mechanical domain. Project page: https://mcfreeskegen.github.io .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑