Arxiv:1901.00381V1 [Eess.IV] 31 Dec 2018
Total Page:16
File Type:pdf, Size:1020Kb
Microscopic 3D measurement of shiny surfaces based on a multi-frequency phase-shifting scheme Yan Hu,a;b Qian Chen,a;y Yichao Liang,a;b Shijie Feng,a;b Tianyang Tao,a;b Chao Zuoa;b;∗ aJiangsu Key Laboratory of Spectral Imaging & Intelligent Sense, Nanjing University of Science and Technology, Nanjing, Jiangsu Province 210094, China bSmart Computational Imaging (SCI) Laboratory, Nanjing University of Science and Technology, Nanjing, Jiangsu Province 210094, China [email protected] ∗[email protected] Abstract Microscopic fringe projection profilometry is a powerful 3D measurement technique with a theoretical measurement accuracy better than one micron provided that the measured targets can be imaged with good fringe visibility. However, practically, the 3D shape of the measured surface can hardly be fully reconstructed due to the defocus of the dense fringes and complex surface reflexivity characteristics, which lead to low fringe quality and intensity saturation. To address this problem, we propose to calculate phases of these highlighted areas from a subset of the fringe sequence which is not subjected to the intensity saturation. By using the proposed multi-frequency phase-shifting scheme, the integrity of the 3D surface reconstruction can be significantly improved. The ultimate phase maps obtained from unsaturated intensities are used to achieve high-accuracy 3D recovering of shiny surfaces based on a phase stereo matching method. Experimental results on different metal surfaces show that our approach is able to retrieve the complete morphology of shiny surfaces with high accuracy and fidelity. Keywords: Three-dimensional sensing, Binocular and stereopsis, High dynamic range (HDR), Optical metrology 1. Introduction intensity cannot be transformed linearly because of the limited dynamic range of digital cameras. One of the state- The principle of structured light and triangulation has of-the-art techniques for this situation is called the high- been widely used in the range of 3D optical metrology dynamic range 3D shape measurement [10], which can applications [1]. Generally, periodic sinusoidal fringe pat- be classified into two categories: equipment-based tech- terns are projected onto an inspected object, and the fringe niques and algorithm-based techniques. For the group pattern is distorted by the modulation of the object. To of the equipment-based techniques, optimal parameters quantitatively calculate the amount of the modulation and of the equipment, e.g., the exposure time of the camera reconstruct the 3D result of the target, the phase value [11, 12, 13] or the projector [14, 15, 16, 17] are desired to coded in the fringe pattern needs to be accurately re- help capture visible fringe at both shiny and dark surfaces. trieved. For now, two commonly used phase retrieval al- Additional optical based methods, e.g., using a polarizer gorithms are Fourier transform based algorithms [2,3,4] to scan shiny objects have also been investigated [18, 19], and phase-shifting based algorithms [5,6,7,8]. Fourier based on which the polarized highlight intensity can be transform based algorithms are commonly used in dynamic effectively suppressed. Also, there are hybrid methods by measurement while phase-shifting based algorithms are more modifying camera exposure, but also taking into account arXiv:1901.00381v1 [eess.IV] 31 Dec 2018 suitable for high-accuracy measurement owning to its pixel strategies of introducing additional equipment, changing independently mathematical operational nature. Our re- the viewing position, or adjusting parameters of projec- cent work has shown that by the phase-based stereo match- tors to capture HDR images [20, 21, 22]. Based on the ing method, the essential nonlinear response function of maximum intensity modulation, a fast HDR solution em- the digital projector can be neglected because the phase ploying a high-speed projector to project intensity-varying errors in different views are automatically balanced out [9]. fringe images at 700 Hz is proposed [23]. However, the phase-based stereo matching method prone For shiny surfaces, however, the problem of saturation to fail when dealing with the objects with shiny surfaces. may not be readily handled by merely decreasing the ex- The integrity of the reconstructed model is affected by the posure time or the intensity of the projected light in some highlight regions because the phase in these areas cannot cases. Thus, algorithm-based techniques are also devel- be calculated by dense fringe images. oped, which mainly rely on well-designed algorithms to Shiny surfaces are highly reflective, and thus the light extract phase values from raw fringe images when free ad- Preprint submitted to Optics & Lasers in Engineering January 3, 2019 justment of the camera or the projector is not allowed, expressed by or additional equipment is not available. Yin et al. [24] suggested measuring shiny surfaces with a single color im- In(u; v) = I0(u; v)f1 + α(u; v) cos[Φ(u; v) + δn]; (1) age. Alternatively, Jiang et al. [25] proposed a real-time HDR 3-D scanning method by projecting additional in- where (u; v) is the pixel coordinate of the camera, I0 is the verted fringe patterns. Chen et al. [26] found that the average intensity, α is the fringe contrast, Φ is the phase phase-shifting methods can overcome the image satura- distribution to be measured. δn is the shifted reference tion if the number of the phase shift is high enough so phase (n = 1; :::; N). The phase distribution Φ can be cal- that at least three unsaturated fringe intensities can be culated independently over no less than three phase-shifted recorded successfully. Moreover, Chen et al. [27] proposed intensities as shown in Fig.1. Based on minimizing a cri- a technique, by which the phase is also calculated from terion concerning the difference between ideal intensities raw phase-shifting images but without considering whether and captured intensities [30], we can obtain the wrapped they are saturated or not. Hu et al. [28, 29] introduced phase φ corresponding to Φ as a phase-shifting based method by taking advantage of no α less than three unsaturated fringe image from standard φ = − arctan 2 ; (2) α N-step phase-shifting algorithm. 1 These related works have successfully addressed HDR with measurement problems by various means. But when it 8 N N N comes to microscopic imaging, those shiny parts illumi- P P P > α1 = c21 In + c22 In cos (δn) + c23 In sin (δn) nated by black stripes can no longer be imaged purely < n=1 n=1 n=1 N N N ; black but will be affected by the white stripes due to the > P P P :> α2 = c31 In + c32 In cos (δn) + c33 In sin (δn) short depth of field of the microscopic projection system. n=1 n=1 n=1 In this case, there will be more saturated areas when us- (3) ing higher frequency fringes. Inspired by the works pro- and the coefficients cij; i=2;3; j=1;2;3 in equation (3) can be posed by Hu et al. [28, 29], we propose an HDR mea- calculated though surement method which takes advantage of the general- 2 3 ized phase-shifting algorithm and considers the spatial fre- c11 c12 c13 −1 quency characteristic of multi-frequency fringe patterns in C = 4 c21 c22 c23 5 = A the microscopic measurement applications. Specifically, c31 c32 c33 2 N N 3−1 phase values in the regions without any saturation are P P N cos (δn) sin (δn) calculated directly using the standard phase-shifting algo- 6 n=1 n=1 7 rithm. In those partially saturated regions, the generalized 6 N N N 7 6 P P 2 P 7 phase-shifting algorithm is used to calculate the wrapped = 6 cos (δn) cos (δn) sin (δn) cos (δn) 7 : 6 n=1 n=1 n=1 7 phase. For those over-saturation areas with less than three 6 N N N 7 4 P P P 2 5 unsaturated intensities, the phases probably retrievable sin (δn) sin (δn) cos (δn) sin (δn) n=1 n=1 n=1 from lower frequency fringe images are used to fill up the (4) phase map in order to increase the measurement integrity. Since the phase step δn is strictly controlled, two-dimensional After phase unwrapping and stereo matching of the dual- wrapped phase distribution φ(u; v) can be obtained from view telecentric measurement system [9], high-accuracy 3D equations (2)-(4). Particularly, if δn is equally divided by reconstruction of shiny surfaces (HDR objects) can be suc- an integer NS in the range [0; 2π), equations (2)-(4) can cessfully achieved. The experiments demonstrate that the be simplified as the standard phase-shifting algorithm: proposed multi-frequency phase-shifting scheme accommo- " # dates the measurements of various kinds of shiny objects PNS I sin(δ ) φ = − arctan n=1 n n : (5) with the measurement high-accuracy within one micron. PNS n=1 In cos(δn) 2. Principals 2.2. Multi-frequency phase-shifting scheme for HDR sur- 2.1. Generalized phase-shifting algorithm face measurement Traditional approaches to generate fringe images of fringe The accuracy of the phase values depends on the phase- projection profilometry involve laser interferometry, phys- shifting step number and the fringe contrast. When the ical grating, or slide projector. However, with recent de- final absolute phase is scaled into the same range [0; 2π), velopments in the area of the digital display, digital pro- the phase error variance can be stated as [31]. jectors have been increasingly applied as the projection 2 units. Based on the controllable phase-shifting amount, 2 2σ σΦ = 2 2 : (6) the recorded fringe image with δn phase-shifting can be NSf B 2 Normalized intensity marked sub-region in Fig.2(b) is polluted by the nearby non-black light and thus saturation occurs, as presented Φ+δ Φ+δ Φ+δ ..