Title: Introduction to Vectorization of Engineering Drawings
1Introduction to Vectorization of Engineering
Drawings
2Concept
- Vectorization the conversion from a raster image
to its vector-form file.
3Why do vectorization?
- A lot of old drawings to be reused, and CAD files
are more editable than images. - Preprocess of automatic drawing understanding
systems (information statistic, 3D
reconstruction). - Save the storage space.
4History
- Begin research on vectorization at late 70s
- Begin that for engineering drawings at late 80s
- Related organizations publications
- IAPR TC-10, IEEE
- IEEE T.PAMI, PR, PRL, CVIU, CVGIP, etc.
- ICPR, ICDAR, IEEE CVPR, etc.
5State of arts
- K. Tombre (LNCS vol.1389, 1998)
- None of these methods works. Actually, the
methods do work, but none of them is perfect. - CADALYSTperforms the annual evaluation on
commercial vectorization systems.
6Review of existing methods
- Thinning based
- CT(Contour Tracking) based
- RLE(Run Length Encoding) based
- SPT(Sparse Pixel Tracking) based
7Thinning-based methods
8CT-based methods
9RLE-based methods
10SPT-based methods
11Existing difficulties
- Lines with intersections ? broken into pieces.
- Texts touch lines ? misrecognition.
- The interference of recognized objects ?
repetitive detection, false detection.
12Our research
- Analysis the vectorization model of existing
methods. - Propose an efficient vectorization model for
engineering drawings. - Propose a group of new graphical object
recognition algorithms.
13Common model of existing methods(2PV - 2 Phase
Vectorization)
14Motivation of 2PV
- Internal memory (RAM)
- Used to be high price limit capacity
- High pixel access frequency cause swap
- Pixel tracking algorithm
- No guide direction
- Repetitive tracking
15Object-Oriented Progressive-Simplification based
Vectorization Model
- 1 phase model
- Imitate the way that humans read drawings
- Recognize a graphical object in its entirety
- Object-oriented feature
- Simplify the image data as the recognition goes
on - Progressive-simplification feature
16Workflow of OOPSV
17Graphical object recognition
- Get the intrinsic characteristic of individual
type of graphical object. - Use the characteristic as a guide to track the
graphic object in complex environment.
18Straight line recognition
19Straight line recognition
- Direction guided tracking
- based on the Bresenham algorithm
20Straight line recognition
- Dynamic adjustment to tracking direction
21Line net recognition
- A line net is a group of intersecting lines.
- Take advantage of the intersecting relationship
to accelerate recognition. - Example
22Circle/Arc recognition
- Arc segment detection
- get initial arc center, radius, thickness
- Circular tracking
- based on the Bresenham algorithm for circle
23Circular tracking
24Curve tracking
- Tracking result a sequence of polyline.
25Image simplification
- Intersection-preserving pixel deletion
- Based on the contour detection of the
intersecting branches
26Symbol recognition
- Common symbols
- Cartography-based recognition
- Domain-specific symbols
- Template-based recognition
27Cartography
28Symbol template
29Text recognition
- Text segmentation
- Difficulties text touches line, similar size
- Character recognition
- Stroke-based recognition algorithm
30Image before the line recognition
31Image after the line recognition
32Suspension-Release mechanism
Condition 1 Size( ?Box(li) ) lt Tl Condition 2
?p, p?l ? C(p,L) gtgt C( FP(l,L), L)
33Stroke-based character template
- Stroke definition
- Black position
- White position
- Aspect ratio scope
- Complexity level
34Character recognition
35Separate connected characters
- Base on the analysis of the rightmost stroke and
the vertical projection.
36Experimental result
- Implemented a complete vectorization system
running on Windows platform using VC6.0. - Automatic vectorization of an A0-size drawing
(15M) takes about 5 minutes. (PIII500/128M) - Line vectorization takes less than 1 minute (1600
lines), faster than performing a thinning
operation (3.5 mins).
37CDI evaluation
- This protocol was proposed in Machine Vision
Application, (1997)
38Manual editing cost evaluation
- This protocol was proposed in LNCS V.1389, (1998)
39Comparison of editing cost with VPStudio
- Conclusion Object-oriented recognition
algorithms produce less misrecognition, therefore
the editing cost has decreased.
40Conclusion
- Progressive simplification decreases both the
complexity and workload of vectorization. - The object-oriented recognition algorithms
recognize graphical objects fast and entirely.
41Related papers
- 7 journal papers 4 conference papers
- IEEE Trans. PAMI reviewers comment
- An efficient model is very important to
recognize engineering drawings . - This paper suggested an object-oriented
progressive-simplification based vectorization
system for engineering drawings. - It would bring an impact in this area.