A Fast Hole-Filling Method for Triangular Mesh in Additive Repair
Abstract
:1. Introduction
- 1
- A robust and efficient hole-filling method is proposed. In most cases, each hole occurring in one mesh can be automatically assigned a proper hole-filling algorithm based on hole size, which can not only produce satisfactory hole-filling results but also achieve a good balance between the efficiency and filling quality.
- 2
- A fast and shape-recovery hole-filling algorithm for large-sized holes is developed. It can not only directly close large-sized holes without any further refinement and fairing steps, but also ensure that the filling patches are compatible with surrounding meshes well.
2. Related Work
2.1. Additive Manufacturing Repair
2.2. Hole-Filling
3. Overview
4. Preliminaries
4.1. Basic Concepts
4.2. Hole Detection
4.3. Boundary Cleaning
5. Hole Filling Based on Hole Size
5.1. Small-Sized Hole Filling by Centriod-Based Method
Algorithm 1 Small-sized hole filling |
Input: () Output:
|
5.2. Middle-Sized Hole Filling by Projection-Based Method
Algorithm 2 Middle-sized hole filling |
Input:() Output:
|
- 1
- Triangle splitting. Triangle splitting is to partition the big triangle into three sub-triangles. As shown in Figure 6, bule dots and red lines represent the hole boundary vertices and edges respectively. Faces are the initial filling triangles. First, all interior edges of the patching mesh, i.e., (), are collected as an edge set S for later edge swapping. For each hole boundary vertex , a scale factor is defined as the average length of the edges that connect to except for the hole boundary edges. Then, in case of each initial filling triangle , its centroid vertex and the corresponding scale factor can be calculated. If and , triangle is replaced with three smaller ones , , and . In the same way, the splitting operation terminates until no new triangles created. After completing the splitting operation, all newly created interior edges, such as , etc, are also added to the edge set S.
- 2
- Edge swapping. To maintain a Delaunay-like triangulation, edge swapping is necessary after the triangle splitting. The swapping process is: for the two triangles adjacent to one edge, each of the two-mutual vertices of these triangles is checked. Then, the edge needs to be swapped if the vertex lies outside of the circum-sphere of its opposing triangle. As shown in Figure 7b, since lies inside the circumcircle of the triangle adjacent to the edge , both and are swapped. After edge swapping, the triangles and become more regular.
5.3. Large-Sized Hole Filling by Improved Advancing Front Method
Algorithm 3 Large-sized hole filling |
Input: () Output:
|
6. Experimental Results and Discussion
6.1. Quantitative Evaluation
6.2. Other Examples
6.3. Advantages and Disadvantages
7. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Matsumoto, M.; Yang, S.; Martinsen, K.; Kainuma, Y. Trends and research challenges in remanufacturing. Int. J. Precis. Eng. Manuf.-Green Technol. 2016, 3, 129–142. [Google Scholar] [CrossRef]
- Huang, H.; Zhou, L.; Chen, X.; Gong, Z. SMART Robotic System for 3D Profile Turbine Vane Airfoil Repair. Int. J. Adv. Manuf. Technol. 2003, 21, 275–283. [Google Scholar] [CrossRef]
- Guo, X.; Xiao, J.; Wang, Y. A survey on algorithms of hole filling in 3D surface reconstruction. Vis. Comput. 2018, 34, 93–103. [Google Scholar] [CrossRef]
- Pérez, E.; Salamanca, S.; Merchán, P.; Adán, A. A comparison of hole-filling methods in 3D. Int. J. Appl. Math. Comput. Sci. 2016, 26, 885–903. [Google Scholar] [CrossRef] [Green Version]
- Sheng, B.; Zhao, F.; Yin, X.; Zhang, C.; Wang, H.; Huang, P. A Lightweight Surface Reconstruction Method for Online 3D Scanning Point Cloud Data Oriented toward 3D Printing. Math. Probl. Eng. 2018, 2018, 1–16. [Google Scholar] [CrossRef] [Green Version]
- Liepa, P.; Kobbelt, L.; Schroeder, P.; Hoppe, H. Filling Holes in Meshes. In Eurographics Symposium on Geometry Processing; The Eurographics Association: Geneve Switzerland, 2003; pp. 200–205. [Google Scholar]
- Gao, W.; Zhang, Y.; Ramanujan, D.; Ramani, K.; Chen, Y.; Williams, C.B.; Wang, C.C.; Shin, Y.C.; Zhang, S.; Zavattieri, P.D. The status, challenges, and future of additive manufacturing in engineering. Comput.-Aided Des. 2015, 69, 65–89. [Google Scholar] [CrossRef]
- Ngo, T.D.; Kashani, A.; Imbalzano, G.; Nguyen, K.T.; Hui, D. Additive manufacturing (3D printing): A review of materials, methods, applications and challenges. Compos. Part B Eng. 2018, 143, 172–196. [Google Scholar] [CrossRef]
- Wilson, J.M.; Piya, C.; Shin, Y.C.; Zhao, F.; Ramani, K. Remanufacturing of turbine blades by laser direct deposition with its energy and environmental impact analysis. J. Clean. Prod. 2014, 80, 170–178. [Google Scholar] [CrossRef]
- Feng, C.; Liang, J.; Gong, C.; Pai, W.; Liu, S. Repair volume extraction method for damaged parts in remanufacturing repair. Int. J. Adv. Manuf. Technol. 2018, 98, 1523–1536. [Google Scholar] [CrossRef]
- Ding, D.; Pan, Z.; Cuiuri, D.; Li, H.; Larkin, N.; Van Duin, S. Automatic multi-direction slicing algorithms for wire based additive manufacturing. Robot. Comput.-Integr. Manuf. 2016, 37, 139–150. [Google Scholar] [CrossRef]
- Li, L.; Li, C.; Tang, Y.; Du, Y. An integrated approach of reverse engineering aided remanufacturing process for worn components. Robot. Comput.-Integr. Manuf. 2017, 48, 39–50. [Google Scholar] [CrossRef]
- Um, J.; Rauch, M.; Hascoët, J.Y.; Stroud, I. STEP-NC compliant process planning of additive manufacturing: Remanufacturing. Int. J. Adv. Manuf. Technol. 2017, 88, 1215–1230. [Google Scholar] [CrossRef]
- Feng, Y.; Ren, J.; Liang, Y. Prediction and reconstruction of edge shape in adaptive machining of precision forged blade. Int. J. Adv. Manuf. Technol. 2018, 96, 2355–2366. [Google Scholar] [CrossRef]
- Zheng, Y.; Qureshi, A.; Ahmad, R. Algorithm for remanufacturing of damaged parts with hybrid 3D printing and machining process. Manuf. Lett. 2018, 15, 38–41. [Google Scholar] [CrossRef]
- Ju, T. Fixing geometric errors on polygonal models: A survey. J. Comput. Sci. Technol. 2009, 24, 19–29. [Google Scholar] [CrossRef] [Green Version]
- Harary, G.; Tal, A.; Grinspun, E. Context-based coherent surface completion. ACM Trans. Graph. (TOG) 2014, 33, 5. [Google Scholar] [CrossRef]
- Wei, Z.; Gao, S.; Lin, H. A robust hole-filling algorithm for triangular mesh. Vis. Comput. 2007, 23, 987–997. [Google Scholar]
- Wang, X.; Hu, J.; Zhang, D.; Guo, L.; Qin, H.; Hao, A. Multi-scale geometry detail recovery on surfaces via empirical mode decomposition. Comput. Graph. 2018, 70, 118–127. [Google Scholar] [CrossRef]
- Ngo, H.T.M.; Lee, W.S. Feature-first hole filling strategy for 3D meshes. In International Conference on Computer Vision, Imaging and Computer Graphics; Springer: Berlin/Heidelberg, Germany, 2011; pp. 53–68. [Google Scholar]
- tae Jun, Y. A piecewise hole filling algorithm in reverse engineering. Comput.-Aided Des. 2005, 37, 263–270. [Google Scholar] [CrossRef]
- Altantsetseg, E.; Khorloo, O.; Matsuyama, K.; Konno, K. Complex hole-filling algorithm for 3D models. In Proceedings of the Computer Graphics International Conference, Yokohama, Japan, 27–30 June 2017; p. 10. [Google Scholar]
- Branch, J.; Prieto, F.; Boulanger, P. Automatic hole-filling of triangular meshes using local radial basis function. In Proceedings of the Third International Symposium on 3D Data Processing, Visualization, and Transmission (3DPVT’06), Chapel Hill, NC, USA, 14–16 June 2006; pp. 727–734. [Google Scholar]
- Wang, J.; Oliveira, M.M. Filling holes on locally smooth surfaces reconstructed from point clouds. Image Vis. Comput. 2007, 25, 103–113. [Google Scholar] [CrossRef]
- Li, Z.; Meek, D.S.; Walton, D.J. Polynomial blending in a mesh hole-filling application. Comput.-Aided Des. 2010, 42, 340–349. [Google Scholar] [CrossRef]
- Nguyen, M.X.; Yuan, X.; Chen, B. Geometry completion and detail generation by texture synthesis. Vis. Comput. 2005, 21, 669–678. [Google Scholar] [CrossRef] [Green Version]
- Breckon, T.P.; Fisher, R.B. Three-dimensional surface relief completion via nonparametric techniques. IEEE Trans. Pattern Anal. Mach. Intell. 2008, 30, 2249–2255. [Google Scholar] [CrossRef] [PubMed]
- Anguelov, D.; Srinivasan, P.; Koller, D.; Thrun, S.; Rodgers, J.; Davis, J. SCAPE: Shape completion and animation of people. ACM Trans. Graph. (TOG) 2005, 24, 408–416. [Google Scholar] [CrossRef]
- Sung, M.; Kim, V.G.; Angst, R.; Guibas, L. Data-driven structural priors for shape completion. ACM Trans. Graph. (TOG) 2015, 34, 175. [Google Scholar] [CrossRef]
- Sharf, A.; Alexa, M.; Cohen-Or, D. Context-based surface completion. ACM Trans. Graph. (TOG) 2004, 23, 878–887. [Google Scholar] [CrossRef] [Green Version]
- Davis, J.; Marschner, S.R.; Garr, M.; Levoy, M. Filling holes in complex surfaces using volumetric diffusion. In Proceedings of the First International Symposium on 3D Data Processing Visualization and Transmission, Padova, Italy, 19–21 June 2002; pp. 428–441. [Google Scholar]
- Ju, T. Robust repair of polygonal models. ACM Trans. Graph. (TOG) 2004, 23, 888–895. [Google Scholar] [CrossRef] [Green Version]
- Nooruddin, F.S.; Turk, G. Simplification and repair of polygonal models using volumetric techniques. IEEE Trans. Vis. Comput. Graph. 2003, 9, 191–205. [Google Scholar] [CrossRef] [Green Version]
- Guo, T.Q.; Li, J.J.; Weng, J.G.; Zhuang, Y.T. Filling holes in complex surfaces using oriented voxel diffusion. In Proceedings of the 2006 International Conference on Machine Learning and Cybernetics, Dalian, China, 13–16 August 2006; pp. 4370–4375. [Google Scholar]
- Centin, M.; Pezzotti, N.; Signoroni, A. Poisson-driven seamless completion of triangular meshes. Comput. Aided Geom. Des. 2015, 35, 42–55. [Google Scholar] [CrossRef]
- Argudo, O.; Brunet, P.; Chica, A.; Vinacua, À. Biharmonic fields and mesh completion. Graph. Models 2015, 82, 137–148. [Google Scholar] [CrossRef] [Green Version]
- Alexa, M.; Wardetzky, M. Discrete Laplacians on general polygonal meshes. ACM Trans. Graph. (TOG) 2011, 30, 102. [Google Scholar] [CrossRef] [Green Version]
- Taubin, G. Estimating the tensor of curvature of a surface from a polyhedral approximation. In Proceedings of the IEEE International Conference on Computer Vision, Cambridge, MA, USA, 20–23 June 1995; pp. 902–907. [Google Scholar]
Model | Incomplete Model | Hole Number | Hole Size | Filling Patch by Ours | Filling Time () | Triangle Quality Evaluation (%) | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Polymender | Liepa | Our | Polymender | Liepa | Our | |||||||
Tube | 5025 | 9992 | 1 | 54 | 345 | 634 | 103 | 28.92 | 4 | / | 46.43 | 91.01 |
Sphere | 6202 | 12,257 | 1 | 130 | 1573 | 3014 | 158 | 102.73 | 19.00 | / | 48.69 | 86.86 |
Model | Incomplete Model | Hole Number | Large-Sized Hole Size | Total Filling Time () | Triangle Quality Evaluation (%) | |||
---|---|---|---|---|---|---|---|---|
Small-Sized | Middle-Sized | Large-Sized | ||||||
Dog | 12,800 | 25,508 | 0 | 1 | 1 | 61 | 15.97 | 76.89 |
Bunny | 28,559 | 57,007 | 2 | 2 | 1 | 79 | 40.88 | 86.24 |
Statue | 19,293 | 38,435 | 4 | 1 | 1 | 107 | 40.93 | 89.99 |
Head | 21,755 | 43,254 | 2 | 4 | 1 | 160 | 91.83 | 81.29 |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Feng, C.; Liang, J.; Ren, M.; Qiao, G.; Lu, W.; Liu, S. A Fast Hole-Filling Method for Triangular Mesh in Additive Repair. Appl. Sci. 2020, 10, 969. https://doi.org/10.3390/app10030969
Feng C, Liang J, Ren M, Qiao G, Lu W, Liu S. A Fast Hole-Filling Method for Triangular Mesh in Additive Repair. Applied Sciences. 2020; 10(3):969. https://doi.org/10.3390/app10030969
Chicago/Turabian StyleFeng, Chao, Jin Liang, Maodong Ren, Gen Qiao, Wang Lu, and Shifan Liu. 2020. "A Fast Hole-Filling Method for Triangular Mesh in Additive Repair" Applied Sciences 10, no. 3: 969. https://doi.org/10.3390/app10030969
APA StyleFeng, C., Liang, J., Ren, M., Qiao, G., Lu, W., & Liu, S. (2020). A Fast Hole-Filling Method for Triangular Mesh in Additive Repair. Applied Sciences, 10(3), 969. https://doi.org/10.3390/app10030969