Effects of Different Parameter Settings for 3D Data Smoothing and Mesh Simplification on Near Real-Time 3D Reconstruction of High Resolution Bioceramic Bone Void Filling Medical Images
Abstract
:1. Introduction
- To compare Marching Cubes and Marching Tetrahedra in terms of reconstruction accuracy for large image dataset;
- To optimize the better surface rendering technique towards near real-time rendering and higher reconstruction accuracy, lower reconstruction and rendering time, and a lower number of vertices and faces by experimenting on different parameter value combinations;
- To study the effects of the improvements’ different parameter values on the reconstruction accuracy, reconstruction time, rendering time, and the number of vertices and faces.
2. Materials and Methods
3. Results
3.1. Marching Cubes vs. Marching Tetrahedra
3.2. Proposed Improved Marching Cubes with Different Parameter Value Combinations
3.2.1. Effect of Convolution Kernel Size and Reduction Factor on Reconstruction Accuracy
3.2.2. Effect of Convolution Kernel Size and Reduction Factor on Reconstruction Time
3.2.3. Effect of Convolution Kernel Size and Reduction Factor on Rendering Time
3.2.4. Effect of Convolution Kernel Size and Reduction Factor on Number of Vertices and Faces
3.3. Marching Cubes vs. Wang et al. vs. Wi et al. vs. Proposed Enhancement
4. Discussion
- Image downsampling or downsizing before reconstruction;
- Stronger GPU and CPU with more cores;
- Experimenting with more convolution kernel sizes;
- Different mesh simplification approaches;
- Testing with more medical image datasets that can be processed at the same time;
- Implementing with languages like C++;
- Different metrics to evaluate the reconstruction accuracy;
- Different code optimization approaches;
- Support different GPU products like GPU from AMD.
5. Conclusions
- The larger the convolution kernel size, the higher the reconstruction accuracy;
- The reduction factor does not affect the reconstruction accuracy;
- The larger the convolution kernel size, the higher the reconstruction time;
- The reduction factor has an effect on the reconstruction time but no specific growth pattern can be deduced from the graphs; thus, the effect is random;
- The larger the convolution kernel size, the lower the rendering time;
- The higher the reduction factor, the higher the rendering time, up until the reduction factor of 0.7 where it stopped increasing;
- The larger the convolution kernel size, the lower the number of vertices and faces;
- The higher the reduction factor, the higher the number of vertices and faces, up until the reduction factor of 0.7 where it stopped increasing;
- Different convolution kernels do not affect the result of the reconstruction qualitatively and quantitatively, except for the reconstruction time.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Appendix A
Reconstruction Method | SSIM (%) | MS-SSIM (%) | Reconstruction Time (s) | Rendering Time (s) | Vertices | Faces |
---|---|---|---|---|---|---|
MC | 87.68 | 82.32 | 373.62 | 20.87 | 2,550,055 | 5,108,402 |
MC Box S 3 RF 0.1 | 87.67 | 82.32 | 117.14 | 2.05 | 369,786 | 740,229 |
MC Box S 5 RF 0.1 | 87.69 | 82.35 | 120.43 | 1.64 | 342,443 | 683,804 |
MC Box S 11 RF 0.1 | 87.77 | 82.48 | 159.81 | 1.52 | 315,490 | 629,003 |
MC Gaussian S 3 RF 0.1 | 87.67 | 82.32 | 115.37 | 1.82 | 369,786 | 740,229 |
MC Gaussian S 5 RF 0.1 | 87.69 | 82.35 | 117.45 | 1.66 | 342,443 | 683,804 |
MC Gaussian S 11 RF 0.1 | 87.77 | 82.48 | 146.73 | 1.53 | 315,490 | 629,003 |
MC Box S 3 RF 0.2 | 87.66 | 82.31 | 114.69 | 3.76 | 738,421 | 1,480,457 |
MC Box S 5 RF 0.2 | 87.69 | 82.34 | 114.72 | 3.34 | 683,832 | 1,367,611 |
MC Box S 11 RF 0.2 | 87.77 | 82.47 | 144.22 | 3.07 | 630,077 | 1,258,006 |
MC Gaussian S 3 RF 0.2 | 87.66 | 82.31 | 115.91 | 3.68 | 738,421 | 1,480,457 |
MC Gaussian S 5 RF 0.2 | 87.69 | 82.34 | 125.07 | 3.45 | 683,832 | 1,367,611 |
MC Gaussian S 11 RF 0.2 | 87.77 | 82.47 | 149.84 | 3.06 | 630,077 | 1,258,006 |
MC Box S 3 RF 0.3 | 87.66 | 82.31 | 114.37 | 5.63 | 1,108,621 | 2,220,687 |
MC Gaussian S 5 RF 0.3 | 87.69 | 82.33 | 127.39 | 5.05 | 1,025,215 | 2,051,416 |
MC Gaussian S 11 RF 0.3 | 87.77 | 82.47 | 147.25 | 4.58 | 944,575 | 1,887,008 |
MC Box S 3 RF 0.4 | 87.66 | 82.31 | 111.94 | 7.56 | 1,478,169 | 2,960,916 |
MC Box S 5 RF 0.4 | 87.69 | 82.34 | 116.59 | 6.96 | 1,366,705 | 2,735,223 |
MC Box S 11 RF 0.4 | 87.77 | 82.47 | 150.07 | 6.2 | 1,259,023 | 2,516,012 |
MC Gaussian S 3 RF 0.4 | 87.66 | 82.31 | 124.41 | 7.39 | 1,478,169 | 2,960,916 |
MC Gaussian S 5 RF 0.4 | 87.69 | 82.34 | 121.19 | 6.83 | 1,366,705 | 2,735,223 |
MC Gaussian S 11 RF 0.4 | 87.77 | 82.47 | 147.41 | 6.11 | 1,259,023 | 2,516,012 |
MC Box S 3 RF 0.5 | 87.67 | 81.31 | 109.07 | 9.29 | 1,847,830 | 3,701,144 |
MC Box S 5 RF 0.5 | 87.69 | 82.34 | 118.32 | 8.36 | 1,708,398 | 3,419,029 |
MC Box S 11 RF 0.5 | 87.77 | 82.47 | 148.62 | 7.63 | 1,573,546 | 3,145,015 |
MC Gaussian S 3 RF 0.5 | 87.67 | 81.31 | 117.18 | 9.28 | 1,847,830 | 3,701,144 |
MC Gaussian S 5 RF 0.5 | 87.69 | 82.34 | 122.75 | 8.54 | 1,708,398 | 3,419,029 |
MC Gaussian S 11 RF 0.5 | 87.77 | 82.47 | 149.38 | 7.67 | 1,573,546 | 3,145,015 |
MC Box S 3 RF 0.6 | 87.67 | 81.31 | 99.41 | 11.13 | 2,217,200 | 4,441,374 |
MC Box S 5 RF 0.6 | 87.69 | 82.34 | 108.28 | 10.14 | 2,049,797 | 4,102,833 |
MC Box S 11 RF 0.6 | 87.77 | 82.47 | 128.75 | 9.29 | 1,887,987 | 3,774,019 |
MC Gaussian S 3 RF 0.6 | 87.67 | 81.31 | 111.83 | 10.98 | 2,217,200 | 4,441,374 |
MC Gaussian S 5 RF 0.6 | 87.69 | 82.34 | 116.61 | 9.95 | 2,049,797 | 4,102,833 |
MC Gaussian S 11 RF 0.6 | 87.77 | 82.47 | 136.32 | 9.21 | 1,887,987 | 3,774,019 |
MC Box S 3 RF 0.7 | 87.67 | 81.31 | 108.81 | 11.94 | 2,394,652 | 4,798,599 |
MC Box S 5 RF 0.7 | 87.69 | 82.34 | 120.53 | 11.08 | 2,275,927 | 4,556,820 |
MC Box S 11 RF 0.7 | 87.77 | 82.47 | 126.8 | 10.32 | 2,154,966 | 4,308,705 |
MC Gaussian S 3 RF 0.7 | 87.67 | 81.31 | 115.68 | 11.78 | 2,394,652 | 4,798,599 |
MC Gaussian S 5 RF 0.7 | 87.69 | 82.34 | 116.06 | 11.04 | 2,275,927 | 4,556,820 |
MC Gaussian S 11 RF 0.7 | 87.77 | 82.47 | 138.83 | 10.5 | 2,154,966 | 4,308,705 |
MC Box S 3 RF 0.8 | 87.67 | 81.31 | 99.71 | 11.8 | 2,394,652 | 4,798,599 |
MC Box S 5 RF 0.8 | 87.69 | 82.34 | 106.33 | 11.11 | 2,275,927 | 4,556,820 |
MC Box S 11 RF 0.8 | 87.77 | 82.47 | 128.9 | 10.57 | 2,154,966 | 4,308,705 |
MC Gaussian S 3 RF 0.8 | 87.67 | 81.31 | 111.12 | 11.99 | 2,394,652 | 4,798,599 |
MC Gaussian S 5 RF 0.8 | 87.69 | 82.34 | 128.52 | 11.11 | 2,275,927 | 4,556,820 |
MC Gaussian S 11 RF 0.8 | 87.77 | 82.47 | 148.97 | 10.47 | 2,154,966 | 4,308,705 |
MC Box S 3 RF 0.9 | 87.67 | 81.31 | 99.59 | 11.97 | 2,394,652 | 4,798,599 |
MC Box S 5 RF 0.9 | 87.69 | 82.34 | 107.82 | 11.01 | 2,275,927 | 4,556,820 |
MC Box S 11 RF 0.9 | 87.77 | 82.47 | 131.88 | 10.41 | 2,154,966 | 4,308,705 |
MC Gaussian S 3 RF 0.9 | 87.67 | 81.31 | 116.47 | 12.08 | 2,394,652 | 4,798,599 |
MC Gaussian S 5 RF 0.9 | 87.69 | 82.34 | 120.75 | 11.25 | 2,275,927 | 4,556,820 |
MC Gaussian S 11 RF 0.9 | 87.77 | 82.47 | 148.69 | 10.38 | 2,154,966 | 4,308,705 |
Appendix B
Reduction Factor | Box Size 3 | Box Size 5 | Box Size 11 | Gaussian Size 3 | Gaussian Size 5 | Gaussian Size 11 |
---|---|---|---|---|---|---|
0.1 | −0.0051 | 0.2939 | 0.2659 | −0.0036 | 0.2962 | 0.2758 |
0.2 | −0.3190 | 0.2835 | 0.2642 | −0.3199 | 0.2756 | 0.2599 |
0.3 | −0.3347 | 0.2624 | 0.2482 | −0.3434 | 0.2592 | 0.2484 |
0.4 | −0.3488 | 0.2526 | 0.2327 | −0.3582 | 0.2492 | 0.2348 |
0.5 | −0.3625 | 0.2368 | 0.2204 | −0.3686 | 0.2333 | 0.2198 |
0.6 | −0.3710 | 0.2297 | 0.2219 | −0.3803 | 0.2235 | 0.2162 |
0.7 | −0.3857 | 0.2108 | 0.2122 | −0.3909 | 0.2142 | 0.2029 |
0.8 | −0.3787 | 0.2216 | 0.2104 | −0.3875 | 0.2047 | 0.1952 |
0.9 | −0.3788 | 0.2205 | 0.2082 | −0.3917 | 0.2105 | 0.1955 |
References
- Alasal, S.A.; Alsmirat, M.; Al-Mnayyis, A.; Baker, Q.B.; Al-Ayyoub, M. Improving radiologists’ and orthopedists’ QoE in diagnosing lumbar disk herniation using 3D modeling. Int. J. Electr. Comput. Eng. 2021, 11, 4336–4344. [Google Scholar] [CrossRef]
- Al-Mnayyis, A.; Alasal, S.A.; Alsmirat, M.; Baker, Q.B.; AlZu’bi, S. Lumbar disk 3D modeling from limited number of MRI axial slices. Int. J. Electr. Comput. Eng. 2020, 10, 4101–4108. [Google Scholar] [CrossRef]
- Stein, D.; Assaf, Y.; Dar, G.; Cohen, H.; Slon, V.; Kedar, E.; Medlej, B.; Abbas, J.; Hay, O.; Barazany, D.; et al. 3D virtual reconstruction and quantitative assessment of the human intervertebral disc’s annulus fibrosus: A DTI tractography study. Sci. Rep. 2021, 11, 6815. [Google Scholar] [CrossRef] [PubMed]
- Bao, L.; Rong, S.; Shi, Z.; Wang, J.; Zhang, Y. Measurement of femoral posterior condylar offset and posterior tibial slope in normal knees based on 3D reconstruction. BMC Musculoskelet. Disord. 2021, 22, 486. [Google Scholar] [CrossRef] [PubMed]
- Tuecking, L.-R.; Ettinger, M.; Nebel, D.; Welke, B.; Schwarze, M.; Windhagen, H.; Savov, P. 3D-surface scan based validated new measurement technique of femoral joint line reconstruction in total knee arthroplasty. J. Exp. Orthop. 2021, 8, 16. [Google Scholar] [CrossRef]
- Wu, W.; Wu, Y.; Shen, G.; Zhang, G. Preoperative virtual simulation for synchronous multiple primary lung cancers using three-dimensional computed tomography lung reconstruction: A case report. J. Cardiothorac. Surg. 2021, 16, 10. [Google Scholar] [CrossRef]
- Bosc, R.; Tortolano, L.; Hersant, B.; Oudjhani, M.; Leplay, C.; Woerther, P.L.; Aguilar, P.; Leguen, R.; Meningaud, J.-P. Bacteriological and mechanical impact of the Sterrad sterilization method on personalized 3D printed guides for mandibular reconstruction. Sci. Rep. 2021, 11, 581. [Google Scholar] [CrossRef]
- Wang, S.; Leng, H.; Tian, Y.; Xu, N.; Liu, Z. A novel 3D-printed locking cage for anterior atlantoaxial fixation and fusion: Case report and in vitro biomechanical evaluation. BMC Musculoskelet. Disord. 2021, 22, 121. [Google Scholar] [CrossRef] [PubMed]
- van Ooijen, P.M.A.; van Geuns, R.J.M.; Rensing, B.J.W.M.; Bongaerts, A.H.H.; de Feyter, P.J.; Oudkerk, M. Noninvasive coronary imaging using electron beam CT: Surface rendering versus volume rendering. AJR Am. J. Roentgenol. 2003, 180, 223–226. [Google Scholar] [CrossRef] [Green Version]
- Udupa, J.K.; Hung, H.-M.; Chuang, K.-S. Surface and volume rendering in three-dimensional imaging: A comparison. J. Digit. Imaging 1991, 4, 159. [Google Scholar] [CrossRef] [Green Version]
- Lorensen, W.E.; Cline, H.E. Marching cubes: A high resolution 3D surface construction algorithm. Comput. Graph. 1987, 21, 163–169. [Google Scholar] [CrossRef]
- Kim, S.; Sohn, D.; Im, S. Construction of polyhedral finite element meshes based upon marching cube algorithm. Adv. Eng. Softw. 2019, 128, 98–112. [Google Scholar] [CrossRef]
- Wang, J.; Huang, Z.; Yang, X.; Jia, W.; Zhou, T. Three-dimensional Reconstruction of Jaw and Dentition CBCT Images Based on Improved Marching Cubes Algorithm. Procedia CIRP 2020, 89, 239–244. [Google Scholar] [CrossRef]
- Garland, M.; Heckbert, P.S. Surface simplification using quadric error metrics. In Proceedings of the 24th Annual Conference on Computer Graphics and Interactive Techniques (SIGGRAPH’97), Anaheim, LA, USA, 3–8 August 1997; ACM Press/Addison-Wesley Publishing Co.: New York, NY, USA, 1997; pp. 209–216. [Google Scholar]
- Chernyaev, E.V. Marching Cubes 33: Construction of Topologically Correct Isosurfaces. In Proceedings of the GRAPHICON’95, St. Petersburg, Russia, 3–7 July 1995. [Google Scholar]
- Custodio, L.; Pesco, S.; Silva, C. An extended triangulation to the Marching Cubes 33 algorithm. J. Braz. Comput. Soc. 2019, 25, 6. [Google Scholar] [CrossRef] [Green Version]
- Wi, W.; Park, S.M.; Shin, B.S. Computed Tomography-Based Preoperative Simulation System for Pedicle Screw Fixation in Spinal Surgery. J. Korean Med. Sci. 2020, 35, e125. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Masala, G.L.; Golosio, B.; Oliva, P. An improved Marching Cube algorithm for 3D data segmentation. Comput. Phys. Commun. 2013, 184, 777–782. [Google Scholar] [CrossRef]
- Wang, M.; Luo, H.; Cui, Q. Three-Dimensional Reconstruction Based On Improved Marching Cubes Algorithm. J. Mech. Med. Biol. 2020, 20, 2040002. [Google Scholar] [CrossRef]
- Doi, A.; Koide, A. An Efficient Method of Triangulating Equi-Valued Surfaces by Using Tetrahedral Cells. IEICE Trans. Inf. Syst. 1991, E74-D, 214–224. [Google Scholar]
- Lu, T.; Chen, F. Quantitative analysis of molecular surface based on improved Marching Tetrahedra algorithm. J. Mol. Graph. 2012, 38, 314–323. [Google Scholar] [CrossRef] [PubMed]
- Bagley, B.; Sastry, S.P.; Whitaker, R.T. A Marching-tetrahedra Algorithm for Feature-preserving Meshing of Piecewise-smooth Implicit Surfaces. Procedia Eng. 2016, 163, 162–174. [Google Scholar] [CrossRef] [Green Version]
- Guo, D.; Li, C.; Wu, L.; Yang, J. Improved marching tetrahedra algorithm based on hierarchical signed distance field and multi-scale depth map fusion for 3D reconstruction. J. Vis. Commun. Image Represent. 2017, 48, 491–501. [Google Scholar] [CrossRef]
- Ren, P.; Wang, H.; Zhou, G.; Li, J.; Cai, Q.; Yu, J.; Yuan, Y. Solid rocket motor propellant grain burnback simulation based on fast minimum distance function calculation and improved marching tetrahedron method. Chin. J. Aeronaut. 2021, 34, 208–224. [Google Scholar] [CrossRef]
- Marching Cubes–File Exchange–MATLAB Central. Available online: https://www.mathworks.com/matlabcentral/fileexchange/32506-marching-cubes (accessed on 27 September 2021).
- stlwrite–Write ASCII or Binary STL Files–File Exchange–MATLAB Central. Available online: https://www.mathworks.com/matlabcentral/fileexchange/20922-stlwrite-write-ascii-or-binary-stl-files (accessed on 30 September 2021).
- Polygonising a Scalar Field (Marching Cubes). Available online: http://paulbourke.net/geometry/polygonise/ (accessed on 29 September 2021).
- Wang, Z.; Simoncelli, E.P.; Bovik, A.C. Multiscale structural similarity for image quality assessment. In Proceedings of the Thrity-Seventh Asilomar Conference on Signals, Systems & Computers, Pacific Grove, CA, USA, 9–12 November 2003; IEEE: Piscataway, NJ, USA; pp. 1398–1402. [Google Scholar]
- Smooth 3-D Data—MATLAB Smooth3. Available online: https://www.mathworks.com/help/matlab/ref/smooth3.html (accessed on 1 October 2021).
- Reduce Number of Patch Faces—MATLAB Reducepatch. Available online: https://www.mathworks.com/help/matlab/ref/reducepatch.html (accessed on 1 October 2021).
- Array Stored on GPU—MATLAB. Available online: https://www.mathworks.com/help/parallel-computing/gpuarray.html (accessed on 4 October 2021).
- Execute For-Loop Iterations in Parallel on Workers—MATLAB Parfor. Available online: https://www.mathworks.com/help/parallel-computing/parfor.html (accessed on 5 October 2021).
- Vectorization–MATLAB & Simulink. Available online: https://www.mathworks.com/help/matlab/matlab_prog/vectorization.html (accessed on 10 October 2021).
Reconstruction Method | SSIM (%) | MS-SSIM (%) |
---|---|---|
Marching Cubes | 87.68 | 82.32 |
Marching Tetrahedra | 87.66 | 82.27 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chin, D.J.Y.; Mohamed, A.S.A.; Shariff, K.A.; Ab Wahab, M.N.; Ishikawa, K. Effects of Different Parameter Settings for 3D Data Smoothing and Mesh Simplification on Near Real-Time 3D Reconstruction of High Resolution Bioceramic Bone Void Filling Medical Images. Sensors 2021, 21, 7955. https://doi.org/10.3390/s21237955
Chin DJY, Mohamed ASA, Shariff KA, Ab Wahab MN, Ishikawa K. Effects of Different Parameter Settings for 3D Data Smoothing and Mesh Simplification on Near Real-Time 3D Reconstruction of High Resolution Bioceramic Bone Void Filling Medical Images. Sensors. 2021; 21(23):7955. https://doi.org/10.3390/s21237955
Chicago/Turabian StyleChin, Daniel Jie Yuan, Ahmad Sufril Azlan Mohamed, Khairul Anuar Shariff, Mohd Nadhir Ab Wahab, and Kunio Ishikawa. 2021. "Effects of Different Parameter Settings for 3D Data Smoothing and Mesh Simplification on Near Real-Time 3D Reconstruction of High Resolution Bioceramic Bone Void Filling Medical Images" Sensors 21, no. 23: 7955. https://doi.org/10.3390/s21237955
APA StyleChin, D. J. Y., Mohamed, A. S. A., Shariff, K. A., Ab Wahab, M. N., & Ishikawa, K. (2021). Effects of Different Parameter Settings for 3D Data Smoothing and Mesh Simplification on Near Real-Time 3D Reconstruction of High Resolution Bioceramic Bone Void Filling Medical Images. Sensors, 21(23), 7955. https://doi.org/10.3390/s21237955