Freehand Sketch Generation from Mechanical Components

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Liao, Zhichao, Huang, Di, Fang, Heming, Ma, Yue, Piao, Fengyuan, Li, Xinghui, Zeng, Long, Feng, Pingfa
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916363743789056
author Liao, Zhichao
Huang, Di
Fang, Heming
Ma, Yue
Piao, Fengyuan
Li, Xinghui
Zeng, Long
Feng, Pingfa
author_facet Liao, Zhichao
Huang, Di
Fang, Heming
Ma, Yue
Piao, Fengyuan
Li, Xinghui
Zeng, Long
Feng, Pingfa
contents 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 .
format Preprint
id arxiv_https___arxiv_org_abs_2408_05966
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Freehand Sketch Generation from Mechanical Components
Liao, Zhichao
Huang, Di
Fang, Heming
Ma, Yue
Piao, Fengyuan
Li, Xinghui
Zeng, Long
Feng, Pingfa
Computer Vision and Pattern Recognition
Artificial Intelligence
Graphics
Multimedia
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 .
title Freehand Sketch Generation from Mechanical Components
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Graphics
Multimedia
url https://arxiv.org/abs/2408.05966