1. Introduction
For glass or quartz optical fiber products, such as a fiber image inverter and micro-channel plate, micro-nano-scale deformation will seriously affect their key performances and bring a potential risk of security [
1,
2]. Therefore, deformation detection of these materials is always an important research topic in industrial production, and the key to detection is the three-dimensional (i.e., in-plane and out-of-plane) displacement measurement. For instance, the in-plane displacement generated during deformation carries a lot of information related to the physical properties of materials, which can characterize the parameters such as uniformity and density. It is of great significance for the evaluation of material properties; the out-of-plane displacement is directly related to the surface shape, which is the focus of many researchers and users. Hence, enterprises and research institutes have to invest a lot of time and money for the three-dimensional displacement measurement of material [
3,
4], whereas microscopic observation is the major detection technique.
Currently, microscopic fringe projection profilometry [
5,
6], digital holographic microscopy [
7,
8], white light interference microscopy [
9,
10] and three-dimensional digital image correlation (3D-DIC) [
11,
12] are the main three-dimensional displacement measurement techniques for a microscopic imaging system. Nevertheless, the experimental arrangements of microscopic fringe projection profilometry and digital holographic microscopy are too complicated and expensive to realize batch inspection. Further, the inevitable phase unwrapping process of these methods will cause more errors and increase computation time during the detection. Although the experimental arrangement of white light interference microscopy is simple, it will take several minutes to capture multiple images, which cannot satisfy the requirement of rapid industrial measurement. Digital image correlation (DIC) is a mature and robust in-plane displacement measurement technique [
13]. With the development of research in recent years, many 3D-DIC methods have been proposed by researchers and have been applied in the real-time dynamic measurement field. However, these methods always need a 3CCD camera (a camera with three chips) or two cameras to complete detection [
12]. The inevitable disturbance and oscillation in an industrial environment will increase the detection error of the binocular or beam splitting technique. On the other hand, since the monocular microscopic imaging system (i.e., an optical microscope with a normal industrial camera) is the most popular device in the industrial production of glass or quartz optical fiber products, considering the practicability and cost, researchers in enterprise are more interested in the monocular microscopy technique for three-dimensional displacement measurement. To meet these requirements, Jia et.al. presented correlation-based and optical-flow-based algorithms to extract the out-of-plane displacement from the images taken by the optical microscope and they obtained good experimental results [
3,
4]. However, since the models used in these methods are the simplest slope model, they need several minutes or even an hour to complete the direction calibration and image processing before measurement. Although these schemes simplified the optical arrangement, they cannot realize rapid three-dimensional displacement measurement and the detection efficiency still needs to be improved in practical application.
Image spherizing algorithm is a machine vision technique put forward by Zhao et.al. [
14]. By using this algorithm, the research group has successfully explained the image twisting phenomenon of the microchannel plate (MCP) in 2019. Because the image spherizing algorithm can simulate the reflection pattern of a deformed object, it offers a novel approach for microscopic three-dimensional displacement detection. In this paper, an image spherizing-based three-dimensional displacement measurement technique for a monocular microscopic imaging system is proposed. First of all, an ordinary slope model is proposed by the idea of image spherizing and differential theory, which reveals the mathematical relation between in-plane displacement and out-of-plane displacement in the deformed images captured by an optical microscope. Subsequently, the images of the sample before and after deformation are captured by the microscopic imaging system, and the in-plane displacement field between the images is estimated. Finally, the out-of-plane displacement field can be extracted from the in-plane displacement field by the ordinary slope model, which indicates that the out-of-plane displacement information carried by the in-plane displacement is fully utilized. It can be seen from the whole process that the key to achieve three-dimensional displacement extraction is the in-plane displacement estimation. Because DIC method [
13] and optical flow (OF) method [
15] are mature and robust in-plane displacement measurement techniques, in order to ensure the accuracy of three-dimensional displacement measurement, we utilize these two methods to estimate in-plane displacement in computer simulation experiments and application experiments, respectively. The absolute errors of out-of-plane displacement measurement results in all experiments are smaller than 0.2 μm, which proves the effectiveness of the new method. It is noteworthy that this is a microscopic three-dimensional displacement measurement method without phase unwrapping or beam splitting. Only one industrial camera and two images are required to complete a measurement, which is appropriate for industrial detection of glass or quartz optical fiber products.
3. Simulation Results and Analysis
In general, the images of glass or quartz optical fiber products viewed by optical microscope can be treated as a Gaussian function array [
3,
16]. Two computer-generated Gaussian array images are illustrated in
Figure 5a,b to simulate the initial and deformed images, where the deformation is added by image spherizing algorithm (slope angle
θ = 0.2 rad ≈ 11.46°, rotation angle
δ = 45°). It should be emphasized that the adjacent of the slope is parallel to the diagonal lines of
Figure 5a,b since the angle between
and the
x axis is 45°. For this reason, all the points in
Figure 5a will move along the diagonal direction after deformation and the nadir and the vertex of the diagonal line should be the positions with the minimum and maximum resultant in-plane displacement, respectively. The sizes of
Figure 5a,b are 400 pixels × 400 pixels and the thickness ratio of core-cladding glass is set as 5:1.
Figure 5c displays the intensity distributions of
Figure 5a,b along the diagonal direction. In accord with the ordinary slope model, we can see from
Figure 5c that there is an intensity shift along the diagonal direction after deformation and the shift reach minimum and maximum at the nadir and vertex of the diagonal line.
In order to obtain more reliable results, we utilize gradient-based DIC method [
13] and Brox OF method [
15] to extract the in-plane displacement field between
Figure 5a,b. Subsequently, the out-of-plane displacement can be calculated by Equations (1)–(5). Because of the inherent boundary effects of DIC method and OF method, the valid area of data is 340 pixels × 340 pixels around the center of the picture. That is to say, there are 115,600 valid data points in the image and the length of the diagonal line of the valid area is 480.8 pixels.
Figure 6a–d show the simulated results of in-plane displacement fields measured by DIC method and OF method. It is necessary to point out that the horizontal and vertical components of in-plane displacement fields
u(
xi,
yi) and
v(
xi,
yi) should be equal due to
δ = 45°. The theoretical values of vertexes and the nadirs in
Figure 6a–d are 7.355 pixel and 0.598 pixel, whereas the measurement results are 7.375 pixels, 0.586 pixel, 7.461 pixel, 0.588 pixel, 7.335 pixel, 0.599 pixel, 7.336 pixel and 0.598 pixel, respectively. Simultaneously, based on the data in
Figure 6a–d and the equation
, the rotation angle
δ(
xi,
yi) for the points in the valid area can be calculated and the mean values of the results for DIC method and OF method are 45.01° and 45.02°, respectively. All these in-plane displacement measurement results can prove the accuracy of DIC method and OF method.
Since the out-of-plane displacement is extracted from the in-plane displacement field, the measurement accuracy of in-plane displacement has a significant influence on the measurement results of out-of-plane displacement. On the other hand, that is, the accuracy of out-of-plane displacement measurement can also prove the accuracy of in-plane displacement measurement. Hence, the next step of analysis will focus on the out-of-plane displacement results measured by DIC method, OF method and the corresponding theoretical values, as shown in
Figure 7a–c. To further illustrate the validity of the proposed technique,
Figure 7d displays the data comparison of
Figure 7a–c along the diagonal direction and
Table 1 shows the data of the nadir and vertex in
Figure 7d. It is worth mentioning that since the angle of the slope can be calculated by the in-plane displacement and out-of-plane displacement, the angle
θ is a suitable parameter to evaluate the accuracy of three-dimensional displacement measurement. If the absolute error and relative error are defined as:
The data in
Figure 7d show that the absolute errors of DIC method and OF method at all the points on the diagonal line are smaller than 1 pixel and the means of relative error of these two methods are 2.1% and 1.3%. It can also be seen from
Table 1 that the absolute errors of out-of-plane displacement measured by DIC method and OF method are smaller than 0.7 pixel at the nadir and vertex of diagonal line, whereas the relative errors of slope angles measured by these two methods are only 0.5% and 0.7%. Hence, as mentioned above, all these data are sufficient to prove the accuracy of the out-of-plane and in-plane measurement. Besides, the data in
Figure 5c and
Figure 7d show that OF method has better stability in small displacement measurement (displacement less than 3 pixels), whereas the DIC method is more suitable for larger displacement measurement (the displacement larger than 3 pixels). The sensitivity of the DIC method and OF method has been discussed in Ref. [
17]. According to the analysis in reference, it is easy to know that the optimum measurement range of this method is [0°, 12°]. It can also be seen from
Table 1 that the error at the vertex by the OF method and the error at the nadir by the DIC method have a slight increase, which is consistent with the analysis in Ref. [
17].
4. Application Experiment Results and Analysis
A fiber image inverter with a diameter of 20 mm is chosen as the test sample in the application experiment. As illustrated in
Figure 8a, the fiber image inverter is clamped by a holder, and a graduated handwheel on the holder is rotated to tilt the sample. The relationship between screw extension and loaded angle
θ is shown in
Figure 8b, where
s is the screw elongation, the diameter of fiber image inverter
S1 = 20 mm, the length of holder
S2 = 5 mm. Screw pitch of the handwheel is 200μm, which means the screw will move along the
z axis (upward or downward) 200 μm when the handwheel is rotated one revolution. Hence, we can obtain the expression of loaded angle
θ:
. The experimental apparatus are shown in
Figure 8c,d. The main parameters of the experimental setup are listed as:
Optical Microscope: 50×, Mitutoyo, NA = 0.55, objective lens: PLAN APO L, WD/20.5 mm.
Industrial Camera: Andor, CMOS sensor chip, C-Mount, chip size 13.3 mm × 13.3 mm, diagonal line 18.8 mm, pixel size 6.5 μm × 6.5 μm, maximum resolution 4632 pixels × 3488 pixels (the observation range of the microscopy system with 50× magnification is 370 μm × 279 μm, i.e., 1 pixel = 80 nm).
Rotate the handwheel to load the slope deformation with slope angle
θ = 8°. In order to be consistent with the simulation experiment, the rotation angle of the slope
δ is set as 45° by using the protractor on the platform (note that the ordinary slope model presented in this paper is suitable for any rotation angle
δ ∈ (0°, 90°) after calibration). The sizes of the original and deformed images are limited to 400 pixels × 400 pixels, where 1 pixel = 80 nm, as shown in
Figure 9a,b.
Figure 9c displays the intensity distributions of
Figure 9a,b along the diagonal direction. It can be seen from
Figure 9c that there is an intensity shift along the diagonal direction after deformation and the shift reach minimum and maximum at the nadir and vertex of the diagonal line, which is consistent with the simulation experiment.
The in-plane displacement results measured by DIC method and OF method in the application experiment are displayed in
Figure 10a–d. Likewise, because of the inherent boundary effects of the DIC method and OF method, the valid area of data is 340 pixels × 340 pixels around the center of the picture and the length of the diagonal line of the valid area is 480.8 pixels. The theoretical values of vertexes and the nadirs in
Figure 6a–d are 0.2872 μm and 0.0233 μm, whereas the measurement results are 0.2820 μm, 0.0491 μm, 0.2818 μm, 0.0445 μm, 0.2786 μm, 0.0294 μm, 0.2777 μm and 0.0288 μm, respectively. The mean values of the rotation angle
δ(
xi,
yi) measured by DIC method and OF method in the valid area are 45.09° and 45.13°, respectively.
The out-of-plane displacement results measured by DIC method, OF method and the corresponding theoretical values are shown in
Figure 11a–c and the computing times of these two methods are 24.36 s and 19.55 s (Intel i5-7400 CPU @3.0 GHz, Matlab software). For the convenience of comparison,
Figure 11d displays the data comparison of
Figure 11a–c along the diagonal direction, and
Table 2 shows the data of the nadir and vertex in
Figure 11d. The mean values of the relative errors of the data in
Figure 11d are 4.3% (DIC method) and 2.9% (OF method). It is worth noting that, as shown in
Table 2, although the absolute error of the DIC method at the nadir is less than 0.1 μm, the relative error reaches 11.35% due to the small displacement measurement (as shown in
Figure 10, the in-plane displacement at the nadir smaller than 80 nm, i.e., 1 pixel), whereas the relative error of the OF method at the nadir is only 3.73%; since the in-plane displacement at the vertex is larger than 0.24 μm (i.e., 3 pixels), the absolute error of the OF method at the vertex is larger than 0.1 μm, whereas the absolute error of the DIC method at the vertex is less than 0.05 μm. Overall, the accuracies of the DIC method and OF method will decrease for small and larger displacement measurement, respectively, which is the main reason for the increase in the data error. Fortunately, note in
Figure 11 and
Table 2 that all the absolute errors of the data measured by the DIC method and OF method are less than 0.2 μm, which can meet the industrial detection standard of glass or quartz optical fiber products and proves the effectiveness of the proposed method [
18]. Hence, this method has been applied to the industrial detection of glass or quartz optical fiber products.