Mathematical Principles of Object 3D Reconstruction by Shape-from-Focus Methods
<p>Optical cut of fracture surface of hydrated cement paste acquired by confocal microscope Olympus LEXT 1000. Confocal mode (<b>a</b>), standard mode (<b>b</b>). Taken from [<a href="#B24-mathematics-09-02253" class="html-bibr">24</a>].</p> "> Figure 2
<p>Different scaling and different sharp and non-sharp regions in images acquired by the classic camera positioned at different distances from the 3D relief of the first (<b>a</b>) and the sixteenth (<b>b</b>) image of a series of sixteen images, blue marble, locality (Nedvedice, Czech Republic, photo Pavel Starha). Taken from [<a href="#B26-mathematics-09-02253" class="html-bibr">26</a>].</p> "> Figure 3
<p>Different scaling and different sharp and non-sharp regions in images acquired by the classic camera positioned at different distances from the 3D relief—the first (<b>a</b>) and the fourth (<b>b</b>) image of a series of eight images, limestone, locality Brno (Hady, Czech Republic, photo Tomas Ficker). Taken from [<a href="#B26-mathematics-09-02253" class="html-bibr">26</a>].</p> "> Figure 4
<p>The central projection of a large sample—ideal case (<b>a</b>) can be solved by elementary mathematics, real case (<b>b</b>) necessitates sophisticated mathematical tools. Taken from [<a href="#B26-mathematics-09-02253" class="html-bibr">26</a>].</p> "> Figure 5
<p>3D reconstruction of the data from <a href="#mathematics-09-02253-f003" class="html-fig">Figure 3</a> after elementary registration by <a href="#mathematics-09-02253-f004" class="html-fig">Figure 4</a>a. Reconstruction taken from [<a href="#B27-mathematics-09-02253" class="html-bibr">27</a>]. Software developed by the author.</p> "> Figure 6
<p>Fourier transforms of the fifth term of the series of expanding rectangular signals. The series <math display="inline"><semantics> <mrow> <msubsup> <mi>δ</mi> <mi>n</mi> <mo>*</mo> </msubsup> <mrow> <mo>(</mo> <mi>ξ</mi> <mo>)</mo> </mrow> </mrow> </semantics></math> converges to the <math display="inline"><semantics> <mi>δ</mi> </semantics></math>-distribution. Taken from [<a href="#B26-mathematics-09-02253" class="html-bibr">26</a>].</p> "> Figure 7
<p>Even extension of the <math display="inline"><semantics> <mrow> <mn>32</mn> <mo>×</mo> <mn>32</mn> </mrow> </semantics></math> neighborhood (framed) of the pixel processed (cross). Taken from [<a href="#B27-mathematics-09-02253" class="html-bibr">27</a>].</p> "> Figure 8
<p>Graphical representation of sharpness detectors <math display="inline"><semantics> <mrow> <mmultiscripts> <mi>P</mi> <none/> <none/> <mprescripts/> <mi>a</mi> <none/> </mmultiscripts> </mrow> </semantics></math> (<b>a</b>); <math display="inline"><semantics> <mrow> <mmultiscripts> <mi>P</mi> <none/> <none/> <mprescripts/> <mi>b</mi> <none/> </mmultiscripts> </mrow> </semantics></math> (<b>b</b>); <math display="inline"><semantics> <mrow> <mmultiscripts> <mi>P</mi> <none/> <none/> <mprescripts/> <mi>c</mi> <none/> </mmultiscripts> </mrow> </semantics></math> (<b>c</b>). Taken from [<a href="#B26-mathematics-09-02253" class="html-bibr">26</a>].</p> "> Figure 9
<p>The first (<b>a</b>) and the fifteenth (<b>b</b>) image of a series of fifteen images of blue marble (see <a href="#mathematics-09-02253-f003" class="html-fig">Figure 3</a>) displayed in supplementary pseudo-colours. The software used has been written by the author. Taken from [<a href="#B26-mathematics-09-02253" class="html-bibr">26</a>].</p> "> Figure 10
<p>The arithmetic mean of the images of <a href="#mathematics-09-02253-f010" class="html-fig">Figure 10</a>: before registration (<b>a</b>), after registration (<b>b</b>). The software used has been written by the author. Taken from [<a href="#B26-mathematics-09-02253" class="html-bibr">26</a>].</p> "> Figure 11
<p>Optical cuts detected on multifocal image of limestone (two images in the series—see <a href="#mathematics-09-02253-f003" class="html-fig">Figure 3</a>). The software was written by the first author of this paper. Taken from [<a href="#B45-mathematics-09-02253" class="html-bibr">45</a>].</p> "> Figure 12
<p>A 2D reconstruction of the limestone image by the optical cuts used in <a href="#mathematics-09-02253-f011" class="html-fig">Figure 11</a>. The software was written by the first author. Taken from [<a href="#B45-mathematics-09-02253" class="html-bibr">45</a>].</p> "> Figure 13
<p>A 3D echelon approximation of the limestone sample by the optical cuts used in <a href="#mathematics-09-02253-f011" class="html-fig">Figure 11</a>. The software was written by the first author. Taken from [<a href="#B45-mathematics-09-02253" class="html-bibr">45</a>].</p> "> Figure 14
<p>A 3D echelon approximation of the limestone sample by the optical cuts used in <a href="#mathematics-09-02253-f013" class="html-fig">Figure 13</a> smoothed by 3D low-pass filters. The software was written by the first author. Taken from [<a href="#B45-mathematics-09-02253" class="html-bibr">45</a>].</p> "> Figure 15
<p>A 3D reconstruction of the limestone sample by data registration according to <a href="#sec4-mathematics-09-02253" class="html-sec">Section 4</a>, with focusing criterion 28 and profile height calculations 29 and 30 (compare with <a href="#mathematics-09-02253-f005" class="html-fig">Figure 5</a>). The software was written by the first author. Taken from [<a href="#B45-mathematics-09-02253" class="html-bibr">45</a>].</p> "> Figure 16
<p>A 3D reconstruction of the blue marble sample by data registration according to <a href="#sec4-mathematics-09-02253" class="html-sec">Section 4</a>, with focusing criterion (28) and profile height calculations (29) and (30). The software was written by the first author. Taken from [<a href="#B45-mathematics-09-02253" class="html-bibr">45</a>].</p> "> Figure 17
<p>A confocal 3D relief of a single pore of hydrated Portland cement paste; 47 optical cuts with a vertical stepping of 1.2 μm. Olympus LEXT 1000, confocal mode, Olympus factory software. Taken from [<a href="#B27-mathematics-09-02253" class="html-bibr">27</a>].</p> "> Figure 18
<p>The same single pore of hydrated Portland cement paste as in <a href="#mathematics-09-02253-f017" class="html-fig">Figure 17</a>; 47 optical cuts with a vertical stepping of 1.2 μm. Olympus LEXT 1000 again. Non−confocal mode. A 3D reconstruction by data registration according to <a href="#sec4-mathematics-09-02253" class="html-sec">Section 4</a>, focusing criterion (28), and profile height calculations (29) and (30). The software was written by the first author. Taken from [<a href="#B27-mathematics-09-02253" class="html-bibr">27</a>].</p> ">
Abstract
:1. Introduction
2. Data Acquisition
2.1. Parallel Projection
2.2. Central Projection
2.3. Multifocal Image
3. Image Registration
3.1. Continuous Two-Dimensional Fourier Transform and Inverse Transform
3.2. Discrete Two-Dimensional Fourier Transform and Inverse Transform
3.3. δ-Distribution
3.4. Phase Correlation
3.5. Identical Images
3.6. Shifted Images
3.7. Rotated Images
3.8. Scaled Images
3.9. Multifocal Registration
4. Focusing Criteria
5. 2D and 3D Reconstructions
6. Results and Discussion
6.1. Data Acquisition
- A series of fifteen partially focused images of blue marble—Olympus camera;
- A series of eight partially focused limestone images—Canon camera;
- A series of thirty partially focused images of the surface of a hydrated cement paste —the Olympus confocal microscope in standard mode.
6.2. Image Registration
6.3. Focusing Criteria
6.4. 2D and 3D Reconstructions
7. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Halling, J. Introduction to Tribology; John Wiley & Sons: London, UK, 1976. [Google Scholar]
- Bennett, J.M.; Matton, L. Introduction to Surface Roughness and Scattering; Optical Society of America: Washington, DC, USA, 1999. [Google Scholar]
- Bowen, W.R. Atomic Force Microscopy in Process Engineering; Hilal, N., Ed.; Butterworth-Heinemann: Oxford, UK, 2009. [Google Scholar]
- Tolansky, S. A light-profile microscope for surface studies. Z. Elektrochem. 1952, 56, 263–267. [Google Scholar]
- Thiery, V.; Green, D.I. The multifocus imaging technique in petrology. CompGeosci 2012, 45, 131–138. [Google Scholar] [CrossRef]
- De Groot, P. Principles of interference microscopy for the measurement of surface topography. Adv. Opt. Photonics 2015, 7, 1–65. [Google Scholar] [CrossRef]
- Kaufmann, G.H. Advances in Speckle Metrology and Related Techniques; Wiley: Weinheim, Germany, 2011. [Google Scholar]
- Mettänen, M.; Hirn, U. A comparison of five optical surface topography measurement methods. TAPPI J. 2015, 14, 27–38. [Google Scholar] [CrossRef]
- Bertin, S.; Friedrich, H.; Dekmas, P.; Chan, E.; Gimel’farb, G. Digital stereo photogrammetry for grain-scale monitoring offluvialsurfaces: Error evaluation and work flow optimization. ISPRS J. 2015, 101, 193–208. [Google Scholar]
- Tang, S.; Zhang, X.; Tu, D. Micro-phase measuring profilometry: Its sensitivity analysis and phase unwrapping. Opt. Lasers Eng. 2015, 72, 47–57. [Google Scholar] [CrossRef]
- Feng, Q. Novel Methods for 3-D Semi-Automatic Mapping of Fracture Geometry at Exposed Rock Surfaces. Ph.D. Thesis, KTH, Stockholm, Sweden, 2001. [Google Scholar]
- Slob, S.; Hack, H.R.G.K.; Van Knapen, B.; Turner, K.; Kemeny, J. A method for automated discontinuity analysis of rock slopes with three-dimensional laser scanning. Transp. Res. Rec. J. Transp. Res. Board. 2005, 1913, 187–194. [Google Scholar] [CrossRef]
- Slob, S.; Hack, H.R.G.K. 3D terrestrial laser scanning as a new field measurement and monitoring technique. In Engineering Geology for Infrastructure Planning in Europe. A European Perspective; Azzam, R.H.R.a., Charlier, R., Eds.; Springer: Berlin/Heidelberg, Germany, 2004; pp. 179–190. [Google Scholar]
- Pawlus, P.; Wieczorowski, M.; Mathia, T. The Errors of Stylus Methods in Surface Topography Measurements; ZAPOL: Szczecin, Poland, 2014. [Google Scholar]
- Hoła, J.; Sadowski, Ł.; Reiner, J.; Stach, S. Usefulness of 3D surface roughness parameters for nondestructive evaluation of pull-off adhesion of concrete layers. Constr. Build. Mater. 2015, 84, 111–120. [Google Scholar] [CrossRef]
- Agard, D.A.; Hiraoka, Z.; Shaw, P.; Sedat, J. Fluorescence microscopy in three dimensions, in Methods in Cell Biology. In Fluorescence Microscopy of Living Cells in Culture: Part B: Quantitative Fluorescence Microcopy-Imaging and Spectroscopy; Taylor, D.L., Wang, Y., Eds.; Academic Press: San Diego, CA, USA, 1989; Volume 30, pp. 359–362. [Google Scholar]
- Wilson, T. (Ed.) Confocal Microscopy; Academic Press Limited: London, UK, 1990. [Google Scholar]
- Pawley, J.B. Handbook of Confocal Microscopy; Plenum Press: New York, NY, USA, 1990. [Google Scholar]
- Logali, N. Confocal Laser Microscopy-Principles, Applications in Medicine, Biology, and the Food Sciences; InTech-open access publisher: Rijeka, Croatia, 2013. [Google Scholar]
- Lange, D.; Jennings, H.M.; Shah, S.P. Analysis of surface roughness using confocal microscopy. J. Mater. Sci. 1993, 28, 3879–3884. [Google Scholar] [CrossRef]
- Ichikawa, Y.; Toriwaki, J.-I. Confocal Microscope 3d Visualizing Method for Fine Surface Characterization of Microstructures; International Society for Optics and Photonics: Denver, CO, USA, 1996. [Google Scholar]
- Nadolny, K. Confocal laser scanning microscopy for characterization of surface micro discontinuities of vitrified bonded abrasive tools. Int. J. Mech. Eng. Robot. Res. 2012, 1, 14–29. [Google Scholar]
- Martišek, D. The 2D and 3D processing of images provided by conventional microscopes. Scanning 2002, 24, 284–296. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Ficker, T.; Martišek, D. Digital fracture surfaces and their roughness analysis: Applications to cement-based materials. Cem. Concreate Res. 2012, 42, 827–833. [Google Scholar] [CrossRef]
- Ficker, T. Sectional techniques for 3D imaging of microscopic and macroscopic objects. Optik 2017, 144, 289–299. [Google Scholar] [CrossRef]
- Martišek, D. 3D Reconstruction of the Surface Using a Standard Camera. Math. Probl. Eng. 2017, 2017, 1–11. [Google Scholar] [CrossRef]
- Martišek, D. Fast Shape-From-Focus method for 3D object reconstruction. Optik 2018, 169, 16–26. [Google Scholar] [CrossRef]
- Sorensen, H.; Jones, D.; Heideman, M.; Burrus, C. Real-valued fast Fourier transform algorithms. In Proceedings of the IEEE Transactions on Acoustics, Speech, and Signal Processing; IEEE: Grenoble, France, 1987; Volume 35, pp. 849–863. [Google Scholar] [CrossRef] [Green Version]
- Darrell, T.; Wohn, K. Pyramid Based Depth from Focus. In Proceedings of the CVPR’88: The Computer Society Conference on Computer Vision and Pattern Recognition, Ann Arbor, MI, USA, 5–9 June 1988; Volume 2, pp. 504–509. [Google Scholar]
- Subbarao, M. Direct Recovery of Depth Map 2: A New Robust Approach Technical Report 87-03; State University of New York: Stony Brook, NY, USA, 1987. [Google Scholar]
- Ohta, T.; Sugihara, K.; Sugie, N. A Method for Image Composition Using Image Variance. Trans. IECE J66-D 2016, 66, 1245–1246. [Google Scholar]
- Druckmullerova, H. Phase-Correlation Based Image Registration. Master’s Thesis, Brno University of Technology, Brno-střed, Czech Republic, 2010. [Google Scholar]
- Gillespie, J.; King, R. The use of self-entropy as a focus measure in digital holography. Patt. Rec. Lett. 1989, 9, 19–25. [Google Scholar] [CrossRef]
- Brenner, J.F.; Dew, B.S.; Horton, J.B.; King, T.; Neurath, P.W.; Selles, W.D. An automated microscope for cytologic research a Preliminary evaluation. J. Histochem. Cytochem. 1976, 24, 100–111. [Google Scholar] [CrossRef]
- Pieper, R.J.; Korpel, A. Image processing for extended depth of field. Appl. Opt. 1983, 22, 1449–1453. [Google Scholar] [CrossRef] [PubMed]
- Sugimoto, S.A.; Ichioka, Y. Digital composition of images with increased depth of focus considering depth information. Appl. Opt. 1985, 24, 2076–2080. [Google Scholar] [CrossRef] [PubMed]
- Tenebaum, J.M. Accomodation in Computer Vision. Ph.D. Thesis, Stanford University, Stanford, CA, USA, 1970. [Google Scholar]
- Jarvis, R.A. Focus optimization criteria for computer image processing. Microscope 1976, 24, 163–180. [Google Scholar]
- Schlag, J.F.; Sanderson, A.C.; Neumann, C.P.; Wimberly, F.C. Implementation of Automatic Focusing Algorithms for a Computer Vision System with Camera Control; CMU-RI-TR-83-14; Carnegie Mellon University: Pittsburgh, PA, USA, 1983. [Google Scholar]
- Krotkov, E. Focusing. Int. J. Comput. Vis. 1987, 1, 223–237. [Google Scholar] [CrossRef]
- Krotkov, E. Exploratory Visual Sensing with an Agile Camera. Ph.D. Thesis, TR-87-29. University of Pennsylvania, Philadelphia, PA, USA, 1987. [Google Scholar]
- Pentland, A. A new sense for depth of field. IJCAI 1985, PAMI-9, 988–994. [Google Scholar] [CrossRef] [PubMed]
- Grossmann, P. Depth from focus. Pattern Recognit. Lett. 1987, 5, 63–69. [Google Scholar] [CrossRef]
- Kaneda, K.; Wakasu, Y.; Nakamae, E.; Tazawa, E. A method of pan-focused and stereoscopic display using a series of optical microscopic images. Proc. of Fourth Sym. 1988, 189–194. [Google Scholar]
- Martišek, D.; Procházková, J. The analysis of Rock Surface Asperities. Mendel 2018, 24, 135–142. [Google Scholar] [CrossRef]
Transforms Indicated | Transforms Applied | |||||||
---|---|---|---|---|---|---|---|---|
Image No. | Scale | Rotation | Shift Vector | Scale | Rotation | Shift Vector | ||
(Arcmin.) | x (Pixels) | y (Pixels) | (Arcmin.) | x (Pixels) | y (Pixels) | |||
2 | 1.01343 | −0.554 | −1.011 | 1.064 | 0.98675 | 0.554 | 1.011 | −1.064 |
3 | 1.02351 | −0.221 | −0.990 | 1.861 | 0.97703 | 0.221 | 0.990 | −1.861 |
4 | 1.03796 | −0.061 | −1.869 | 3.027 | 0.96343 | 0.061 | 1.869 | −3.027 |
5 | 1.04888 | 0.053 | −2.903 | 3.032 | 0.95340 | −0.053 | 2.903 | −3.032 |
6 | 1.06228 | −0.409 | −4.085 | 5.142 | 0.94137 | 0.409 | 4.085 | −5.142 |
7 | 1.07055 | −0.140 | −4.947 | 4.987 | 0.93410 | 0.140 | 4.947 | −4.987 |
8 | 1.08105 | −0.027 | −4.964 | 5.856 | 0.92503 | 0.027 | 4.964 | −5.856 |
9 | 1.09173 | 0.134 | −4.847 | 6.141 | 0.91598 | −0.134 | 4.847 | −6.141 |
10 | 1.10340 | 4.652 | −4.988 | 7.003 | 0.90629 | −4.652 | 4.988 | −7.003 |
11 | 1.11426 | 5.215 | −5.003 | 7.934 | 0.89746 | −5.215 | 5.003 | −7.934 |
12 | 1.12590 | 5.728 | −5.895 | 8.972 | 0.88818 | −5.728 | 5.895 | −8.972 |
13 | 1.13784 | 5.278 | −5.907 | 8.872 | 0.87886 | −5.278 | 5.907 | −8.872 |
14 | 1.14940 | 5.378 | −5.928 | 8.980 | 0.87002 | −5.378 | 5.928 | −8.980 |
15 | 1.16066 | 5.275 | −6.935 | 9.137 | 0.86158 | −5.275 | 6.935 | −9.137 |
16 | 1.17297 | 5.324 | −8.036 | 9.095 | 0.85254 | −5.324 | 8.036 | −9.095 |
RMSE | aC | bC | cC | AD | aC | bC | cC | ||
---|---|---|---|---|---|---|---|---|---|
PCC | DIE | ||||||||
aC | - | 0.34152 | 0.46420 | aC | - | 0.10172 | 0.20114 | ||
bC | 0.99320 | - | 0.37476 | bC | 0.00505 | - | 0.13145 | ||
cC | 0.98740 | 0.99158 | - | cC | 0.00812 | 0.00307 | - |
RMSE | aC | bC | cC | AD | aC | bC | cC | ||
---|---|---|---|---|---|---|---|---|---|
PCC | DIE | ||||||||
aC | - | 0.18500 | 0.25909 | aC | - | 0.10066 | 0.18512 | ||
bC | 0.99850 | - | 0.16511 | bC | 0.00464 | - | 0.12144 | ||
cC | 0.99627 | 0.99810 | - | cC | 0.00714 | 0.00250 | - |
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
Martišek, D.; Mikulášek, K. Mathematical Principles of Object 3D Reconstruction by Shape-from-Focus Methods. Mathematics 2021, 9, 2253. https://doi.org/10.3390/math9182253
Martišek D, Mikulášek K. Mathematical Principles of Object 3D Reconstruction by Shape-from-Focus Methods. Mathematics. 2021; 9(18):2253. https://doi.org/10.3390/math9182253
Chicago/Turabian StyleMartišek, Dalibor, and Karel Mikulášek. 2021. "Mathematical Principles of Object 3D Reconstruction by Shape-from-Focus Methods" Mathematics 9, no. 18: 2253. https://doi.org/10.3390/math9182253
APA StyleMartišek, D., & Mikulášek, K. (2021). Mathematical Principles of Object 3D Reconstruction by Shape-from-Focus Methods. Mathematics, 9(18), 2253. https://doi.org/10.3390/math9182253