Abstract
3D modeling of transmission towers from hand-drawn sketches is occasionally needed in the exploration stage, construction stage, or operation of transmission lines. To achieve automatic 3D modeling, extracting standard vectors from the sketches is very important, however, this is still lacking for real applications. In this article, we propose a method for automatically converting the hand-drawn design drawings of a tower into standard vector diagrams. The network ControlNet is introduced to control the image generation model Stable Diffusion, to convert hand-drawn sketches into standard line-structural diagrams. Then, a vectorization network is used to vectorize the line structure, and some designed optimization modules are proposed to refine the vector extraction results. Experiments prove that our method can output the most accurate and robust vectorization results compared with some state-of-the-art methods. The proposed method is automatic and does not need manual operations, which can bring convenience for the intelligent design and modeling of transmission towers. Furthermore, it can also provide technical support for developing relevant digital products for the smart grid.
Introduction
In the development of power grid infrastructure, the journey from a field engineer’s hand-drawn sketch to a formal 3D model is often a manual, bottlenecked process. Whether during initial site exploration or planning drone flight paths for inspections, these sketches are vital but inherently "noisy." Traditional vectorization methods—which attempt to convert pixels into mathematical lines and points—frequently struggle with hand-drawn input due to varying line weights, shaky strokes, and overlapping elements that confuse standard algorithms like Canny edge detection. If the vectorization is imprecise, the resulting 3D model will be structurally flawed.
To address this, researchers have developed a two-stage deep learning pipeline that transforms messy, hand-drawn transmission tower sketches into clean, 3D-ready vector diagrams. By pairing the generative power of Stable Diffusion with a refined wireframe parsing network, the system achieves high precision, significantly outperforming traditional computer vision methods.
Methodology
The proposed method utilizes a clever two-stage strategy to bridge the gap between human imperfection and algorithmic precision.
Stage 1: Image Standardization
Instead of vectorizing the messy sketch directly, the system first uses Stable Diffusion controlled by ControlNet to "clean up" the image. By providing the sketch as a spatial guide and using the prompt "transfer the sketch into straight lines," the model generates a clean, high-contrast image where every stroke is a perfect straight line. This leverages the generative model's "prior knowledge" of what a clean architectural drawing should look like, effectively acting as a sophisticated denoiser.
Stage 2: Vector Extraction and Optimization
The cleaned image is then fed into a vectorization network based on Holistically-Attracted Wireframe Parsing (HAWP). To make this work for complex tower structures, the authors introduced two custom optimization modules:
- Line-Thinning Module: Uses morphological operations (erosion and dilation) to ensure lines are exactly one pixel wide, preventing the network from detecting redundant "double" lines.
- Postprocessing Module: Employs a hierarchical clustering algorithm (single-link) to merge redundant nodes that are too close together, ensuring the final topology is structurally coherent.
Experimental Results
Because no public dataset for hand-drawn transmission towers exists, the researchers built the Tower Sketch Dataset, containing 1,157 drawings based on 20 different types of real-world tower designs. The proposed method was tested against several state-of-the-art (SOTA) models, including L-CNN and DeepLSD.
- Image Quality: In the standardization phase, the model achieved a Structural Similarity Index (SSIM) of 0.828, far higher than Canny-based (0.688) or Scribble-based (0.499) approaches.
- Vector Precision: Using the Structural Average Precision (sAP) metric with a strict threshold (sAP10), the method scored 92.1, compared to L-CNN’s 75.0 and HAWP’s 64.7.
- Robustness: Qualitatively, the system successfully ignored background noise and "shaky" hand movements that caused other models to produce fragmented or redundant vectors.
Conclusion
The proposed method provides an automatic and robust solution for the intelligent design and modeling of transmission towers, requiring no manual operations. While powerful, the system faces challenges with severe sketch distortion and currently lacks a sense of global scale (e.g., enforcing strict 1:1 aspect ratios). Future work suggests developing a lightweight classification network to verify individual strokes and creating a more robust "prompt table" to guide the AI toward even more standardized architectural shapes. This research provides critical technical support for developing digital products for the smart grid.
Publication Details * Journal: Revista Internacional Métodos numéricos para cálculo y diseño en ingeniería (RIMNI) * Received: 31/10/2024 * Accepted: 13/02/2025 * Published: 30/05/2025
Summary updated