Open Access Paper
8 October 2024 Application of super-resolution camera calibration method in DIC measurements
Haoyu Wang, Xu Wang, Weiqing Sun, Ziwei Wang, Guihua Li
Author Affiliations +
Proceedings Volume 13260, Fourth International Conference on Advanced Optics and Photonics Research in Engineering (AOPR 2024); 132600S (2024) https://doi.org/10.1117/12.3045173
Event: International Conference on Advanced Optics and Photonics Research in Engineering, 2024, Wuhan, China
Abstract
Camera calibration is an important component of stereo digital image correlation (DIC) measurements. However, traditional calibration images suffer from insufficient information and blurriness during corner detection at low resolutions, which limit the precision of calibration and measurement. To address this issue, a super-resolution corner detection method based on attention mechanism is proposed in this paper. The proposed method enhances the focus on the high-frequency information of calibration corners using attention mechanism, thereby enabling the reconstruction of low-resolution images to improve the accuracy of corner detection during calibration, thus enhancing the quality of camera calibration. Experimental results on DIC camera calibration reveal that the proposed corner detection method exhibits smaller reprojection errors. Furthermore, the calibration results using this method can improve the geometric reconstruction accuracy of DIC.

1.

INTRODUCTION

Stereo-digital image correlation (Stereo-DIC) technology is a noncontact optical measurement method that measures an object’s displacement or deformation by analyzing the markers on its surface in continuous images. Due to its high precision and flexibility, this technology is widely used in the measurement of material deformation. Stereo-DIC, as an optical method rooted in binocular stereo vision and image processing, encompasses two fundamental technologies: binocular camera calibration [1] and stereo digital image correlation [2]. In Stereo-DIC, binocular camera calibration is not only important for the applicability of this technique but also has a significant impact on the final measurement’s accuracy [3]. Therefore, relevant research on binocular camera calibration is of great significance for improving the measurement precision of Stereo-DIC.

In 1999, Zhang proposed a two-dimensional (2D) planar calibration board for obtaining the internal and external parameters of a camera, as well as its distortion coefficients, based on the known dimensions of the calibration board [4]. This method has been widely used due to its simplicity and high precision. Zhang’s calibration method involves positioning 2D calibration targets with distinct characteristics, such as squares [4], checkerboards [5], and circles, in various orientations, then capturing them using two cameras. Achieving a precise match between the control points (corner points or center points) on the calibration targets in the captured images is crucial. Utilizing these control points for alignment enables accurate calibration and computation of the parameters in the stereo vision system. However, these 2D targets with specific features also have some limitations [6]. In particular, the calibration method requires a high-precision feature point detection method. To address this issue, increasing the resolution of the calibration image can be considered, referring to the technique of constructing a high-resolution (HR) image from one or more low-resolution images that already exist in the same scene (i.e., image super-resolution reconstruction) [7]. Enhancing corner detection accuracy involves focusing on high-frequency details surrounding the corner during super-resolution reconstruction. The Harris corner detection method requires the calculation of the local structure matrix and eigenvalues of pixels, thus leading to high computational cost on large-scale images. Additionally, the use of a higher pixel camera to increase the resolution of the calibrated image inevitably increases the cost.

The present paper introduces an attention-based super-resolution corner detection method. Through super-resolution reconstruction using a specialized network, high-frequency details and low-frequency background are effectively processed using an attention mechanism. By calculating gradients and eigenvalues of HR image pixels, corner point detection accuracy and camera calibration are improved. This is then applied to the static reconstruction of DIC.

2.

PRINCIPLE OF CALIBRATION

To ensure accurate DIC measurements, it’s crucial to establish the relationship between image pixels and scene positions. This involves determining camera model parameters by matching feature points in image coordinates with their counterparts in world coordinates, as outlined in the imaging model. Zhang’s calibration method [4] employs a chessboard pattern for calibration, allowing the extraction of internal and external camera parameters by identifying corner points and measuring their positions on the image plane. Hence, the precision of corner detection algorithms significantly impacts camera calibration. The attention-based super-resolution corner detection algorithm proposed here utilizes attention mechanisms to detect high-frequency information from the alternating edges of the chessboard pattern, enhancing calibration accuracy by reconstructing high-resolution images with richer corner features. The process is depicted in Figure 1.

Figure 1.

The calibration process.

00049_PSISDG13260_132600S_page_2_1.jpg

2.1

Super-resolution model

The super-resolution network, incorporating an attention mechanism [8], comprises three core components: a feature extraction module, an information extraction module, and a reconstruction module. The feature extraction module discerns features from the initial low-resolution image, while the information extraction module dynamically adjusts feature expressiveness using a mapping attention mechanism to enhance the retrieval of finer details like contour textures. Following this, the reconstruction module executes element-wise addition operations on the gathered high-resolution information, facilitating the transformation from low-resolution (LR) input images to high-resolution (HR) output images. The model’s structure is depicted in Figure 2.

Figure 2.

Super-resolution reconstruction model.

00049_PSISDG13260_132600S_page_2_2.jpg

The information extraction block used in this paper consists of two 3 × 3 convolutions, both with feature dimensions of 64. The processing involved is described as:

00049_PSISDG13260_132600S_page_3_1.jpg

where ILR represents the input low-resolution image, HFE denotes the function used for feature extraction, and F0 represents the extracted features that will be utilized in the subsequent stage of processing. The feature extraction block employs a feature map attention mechanism to prioritize global information, enhancing the model’s focus and feature representation. This integration of local and global features results in more effective and comprehensive feature extraction.

The information extraction block [8] is comprised of three subunits sharing a similar architecture, each employing the feature map attention mechanism. The comprehensive structure of the information extraction unit can be segmented into an information enhancement unit and a compression unit, illustrated in Figure 3. The processing procedure can be described as follows:

Figure 3.

Information extraction block.

00049_PSISDG13260_132600S_page_3_3.jpg
00049_PSISDG13260_132600S_page_3_2.jpg

where Hi denotes the function that performs the feature extraction, and Fi is both the output of the current information extraction block and the input of the next information extraction block.

The attention module identifies and prioritizes features crucial for the task at hand, enhancing the network’s discriminative ability. In chessboard pattern image calibration, high-frequency corner point information is vital. Therefore, an attention mechanism is introduced to emphasize high-frequency channel details while minimizing redundant information from low-frequency areas, such as edges and textures.

For HR image reconstruction, the module uses features from prior convolutional layers and applies them to the low-resolution image scale. ESPCN [9], known for its efficiency in super-resolution, ensures superior results with faster computation and fewer parameters. It’s ideal for scenarios with limited computational resources. Its network is depicted as:

00049_PSISDG13260_132600S_page_3_4.jpg

where HREC and U denote the reconstruction module and the bicubic interpolation operation, respectively, and ISR denotes the final output.

2.2

Corner detection

Corner point detection is required for the super-resolution reconstructed calibration images to achieve high-precision camera calibration. Compared with the Harris corner point detection algorithm, the Shi-Tomasi algorithm [10] shows an improved performance in terms of computational efficiency and stability. In particular, the Shi-Tomasi corner detection algorithm defines a pixel point as a corner point by calculating the response function R = min (λ1, λ2), when the value of R is greater than a set threshold. In addition, λ1 and λ2 are the eigenvalues of the autocorrelation matrix M with local gray scale variation. Here, M is denoted as:

00049_PSISDG13260_132600S_page_4_1.jpg

where w(x, y) is a window function to weigh the gray-scale changes in the local region, ∇I is the gradient vector of the image at pixel point (x,y), and ∇IT is its transpose.

3.

EXPERIMENTAL ANALYSIS

In order to verify the calibration accuracy of the proposed method and the application accuracy in the actual test of DIC, this paper uses calibration experiments and DIC measurement experiments to verify it. To achieve better image reconstruction results, the magnification factor should not be too large or too small. In this case, it is necessary to consider both computational complexity and the goal of preserving sufficient image details. Therefore, the image was upscaled by a factor of 2×2 for super-resolution to strike a balance between these factors.

3.1

Camera calibration experiment

Reprojection error evaluates camera calibration quality; smaller errors indicate closer calibration to real data. Here, the reprojection errors under the two methods were compared by using the calibration methods based on the Harris corner detection approach and on super-resolution corner detection proposed in this paper to calibrate the calibration plate images captured under the same position. Super-resolution increased image resolution from 1624×1234 to 3248×2468 pixels, as depicted in Figure 4. Table 1 compares parameters calculated by both methods.

Figure 4.

Images before and after super-resolution reconstruction. (a) Original image; (b) Super-resolution reconstructed image; (c) Original image corner detection; (d) Corner detection based on super-resolution reconstruction.

00049_PSISDG13260_132600S_page_4_2.jpg

Table 1.

Calibration parameters calculated by Harris corner detection and the proposed method.

Binocular camera parameterLeft camera parameterRight camera parameter
HarrisThis paperHarrisThis paperHarrisThis paper
Rx=0.0017Rx=0k1=-0.19k1=-0.21k1=-0.21k1=-0.21
Ry=-0.3596Ry=-0.3598k2=1.83k2=1.96k2=2.91k2=2.89
Rz=0.0001Rz=0.0002fx=2892.51fx=5788.09fx=2899.77fx=5795.97
Tx=94.3598Tx=94.3789fy=2892.87fy=5788.94fy=2900.99fy=5798.31
Ty=-0.3254Ty=-0.3949Cx=825.05Cx=1648.63Cx=799.11Cx=1596.33
Tz=16.3666Tz=15.9746Cy=621.09Cy=1241.43Cy=619.99Cy=1238.92

Referring to the corresponding values of the optimal calibration data, the reprojection errors of the Harris calibration method and the proposed calibration method in this paper can be obtained, as shown in Figure 5.

Figure 5.

The reprojection errors under different calibration methods. (a) Error obtained by the Harris corner detection calibration method and (b) Error obtained from the corner detection calibration method proposed in this article

00049_PSISDG13260_132600S_page_5_1.jpg

The calibrated reprojection error obtained under Harris is within 0.15 pixel and the average reprojection error is 0.0561 pixel, and the calibrated reprojection error of the proposed method is within 0.08 pixel and its average reprojection error is 0.1031 pixel. Due to the super-resolution magnification of 2×2, the actual distance corresponding to each pixel point is 0.25 times of the original image. Within the same pixel scale, the reprojection error of the proposed method should be 0.0267 pixel, and its reprojection error is reduced by 47.6%.

3.2

DIC measurement experiment

The experimental setup shown in Figure 6(a) was built to verify the effectiveness of the proposed preprocessing based on super-resolution angular point detection calibration method for DIC testing. The resolution of the camera is 1624×1234 pixels with a 25 mm focal length lens; the calibration plate was a 12 × 9 tessellated grid calibration plate, with the width of a single grid being 6 mm. In this experimental environment, the camera calibration results obtained using different methods in the same camera pose were used to perform geometric reconstruction on the nominal size 60mm standard gauge block shown in Figure 6(b).

Figure 6.

The experimental environment. (a) Experimental setup, (b) 60 mm standard measuring block, and (c) 60 mm standard measuring block for manual spot making.

00049_PSISDG13260_132600S_page_5_2.jpg

The search step size was set to 7 pixels, while the search subset size was configured at 21×21 pixels. The geometric reconstruction of the 60 mm standard gauge block in Figure 6(c) was performed using calibration results obtained from the Harris corner detection calibration method and super-resolution corner detection calibration method under the same camera pose. First, one image each was taken with a binocular camera, after which the IC-GN algorithm [11] was used to perform correlation analysis on the two images. Finally, the pixel coordinates were converted into physical coordinates using calibration parameters to calculate the actual measurement results of the standard gauge block.

Figure 7(a) shows the calibration method using Harris corner detection, while Figure 7(b) shows the reconstruction results of the proposed super-resolution corner detection calibration method. The reconstructed size of the gauge block based on the Harris corner detection calibration is 57.9008 mm, whereas the proposed calibration method yields a reconstructed size of 59.0588 mm. This results in a relative error decrease from 3.625% to 1.593%, and a reduction in deviation from 2.0992mm to 0.9412mm. These findings demonstrate that the proposed super-resolution corner detection calibration method enhances the reconstruction accuracy of DIC.

Figure 7.

Geometric reconstruction effect. (a) Measurement results of calibration method based on the Harris comer detection method and (b) Measurement results based on the calibration method proposed in this article.

00049_PSISDG13260_132600S_page_6_1.jpg

4.

CONCLUSION

This article proposes a corner detection method for super-resolution calibration boards based on attention mechanism. The experimental results demonstrate that the proposed method can significantly improve the calibration accuracy of DIC cameras. In particular, the calibration results based on this method improve the accuracy of geometric reconstruction of the volume block compared with the traditional Harris corner point detection method. Therefore, a solution is found to improve the measurement accuracy of the DIC system.

REFERENCES

[1] 

Cui, Y., Zhou, F. Q., Wang, Y. X., Liu, L. and Gao, H., “Precise calibration of binocular vision system used for vision measurement,” Opt. Express, 22 9134 –9149 (2014). https://doi.org/10.1364/OE.22.009134 Google Scholar

[2] 

Pan, B., Yu, L. P., Zhang, Q. B., “Review of single-camera stereo-digital image correlation techniques for full-field 3D shape and deformation measurement,” Sci. China Technol. Sci, 61 (1), 1 –20 (2018). https://doi.org/10.1007/s11431-017-9090-x Google Scholar

[3] 

Genovese, K., Chi, Y., Pan, B., “Stereo-camera calibration for large-scale DIC measurements with active phase targets and planar mirrors,” Opt. Express, 27 9040 (2019). https://doi.org/10.1364/OE.27.009040 Google Scholar

[4] 

Zhang, Z., “A flexible new technique for camera calibration,” IEEE Trans. Pattern Anal. Mach. Intell, 22 1330 –4 (2000). https://doi.org/10.1109/34.888718 Google Scholar

[5] 

Ge, P. X., Wang, H. Q., Wang, Y. H., Wang, B., “Calibration of ring multicamera system with transparent target for panoramic measurement,” IEEE Sens. J., 22 (23), 23154 –23164 (2022). https://doi.org/10.1109/JSEN.2022.3214080 Google Scholar

[6] 

Chen, B., Pan, B., “Camera calibration using synthetic random speckle pattern and digital image correlation,” Opt. Lasers Eng, 126 105919 (2020). https://doi.org/10.1016/j.optlaseng.2019.105919 Google Scholar

[7] 

Roger, T., Thomas, Y, Huang, S., “Multiframe image restoration and registration,” Multifr. Image Restor. Regist, 1 317 –339 (1984). Google Scholar

[8] 

Wang, Z., Chen, J., Hoi, S. C. H., “Deep learning for image Super-Resolution: a survey,” IEEE Tran. Pattern Anal. Mach. Intell, 43 (10), 3365 –3387 (2021). https://doi.org/10.1109/TPAMI.2020.2982166 Google Scholar

[9] 

Dong, C., Chen, C. L., Tang, X. O., “Accelerating the super-resolution convolutional neural network,” in Computer Vision–ECCV 2016: 14th European Conference, 391 –407 (2016). Google Scholar

[10] 

Bansal, M., Kumar, M., “An efficient technique for object recognition using Shi-Tomasi corner detection algorithm,” Soft Comp, 25 4423 –4432 (2021). https://doi.org/10.1007/s00500-020-05453-y Google Scholar

[11] 

Su, Y., Zhang, Q., Xu, X., “Interpolation bias for the inverse compositional Gauss–Newton algorithm in digital image correlation,” Opt. Lasers Eng, 100 267 –278 (2018). https://doi.org/10.1016/j.optlaseng.2017.09.013 Google Scholar
(2024) Published by SPIE. Downloading of the abstract is permitted for personal use only.
Haoyu Wang, Xu Wang, Weiqing Sun, Ziwei Wang, and Guihua Li "Application of super-resolution camera calibration method in DIC measurements", Proc. SPIE 13260, Fourth International Conference on Advanced Optics and Photonics Research in Engineering (AOPR 2024), 132600S (8 October 2024); https://doi.org/10.1117/12.3045173
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Calibration

Corner detection

Super resolution

Digital image correlation

Camera calibration

Feature extraction

Image restoration

Back to Top