 Research
 Open Access
 Published:
A new calibration method for linestructured light vision sensors based on concentric circle feature
Journal of the European Optical SocietyRapid Publications volume 15, Article number: 1 (2019)
Abstract
Background
Determining the relative ubiety between the camera and the laser projector in a linestructured light vision sensor is a classical yet important task. Typical calibration methods often confront problems, such as difficulty of producing the target precisely and introduction of perspective projection errors.
Methods
In this work, a new calibration method based on a concentric circle feature is introduced. The proposed method is based on geometrical properties and can reduce the perspective projection error. In our method, the vanishing line of the light plane is firstly deduced from the imaged concentric circles. Then the normal vector of the light plane is determined. Consequently, the complete expression can be confirmed from the principle of the intersecting planes.
Results and conclusion
The proposed method is simple and robustness as the basic theory is geometrical properties. Accuracy evaluation experiment shows that the accuracy of the calibration method can reach 0.07 mm within the view field of about 200 × 200 mm. This accuracy is comparable to the commonly used calibration method with a checkerboard planar target, whereas our target is simple to produce.
Background
The LineStructured Light Vision Sensor (LSLVS) plays an important role in the field of industry measurement owing to its wide measurement range, high precision, realtime ability, simple information extracting, and so forth [1, 2]. The typical structure consists of one camera and one laser projector. Estimation of the relationship between the camera and the laser projector, which is called as calibration of LSLVS, is one of the most important tasks.
Heretofore, there are many calibration methods. According to ways of obtaining feature points on the structured light plane, these methods can be classified into three categories: threedimensional (3D) target method [3, 4], planar target (2D) method [5,6,7], and onedimensional (1D) target method [8,9,10,11,12,13].
The 3D target method is based on the invariance of double crossratio. With a special calibration 3D target, enough noncollinear feature points on the structured light plane can be determined based on the theory of the invariance of double crossratio. Afterwards, relative ubiety between the camera and the structured light plane projector is confirmed. Different planar targets with different features are used according to different theories. In Ref. [10], a planar target that contains a pattern of squares is utilized to finish the calibration of LSLVS. The intersection points of the light stripe and calibration squares with exactly known size can be obtained under the image coordinate system (ICS). Accordingly, feature points on the structured light plane can be gained based on the invariance of crossratio. A 1D target method is proposed owing to its convenient operation. The feature point, namely the intersection point of the light stripe and a 1D target, can be determined based on the invariance of crossratio. Therefore, enough feature points can be obtained from the random movements of the 1D target to different positions.
Unfortunately, the 3D target based method is not well suited for onsite calibration as there will be some inevitable problems, e.g., mutual occlusion between different planes of the target, the difficulty of producing the target precisely, the cumbersomeness of the target, etc. In the 1D target based method, few feature points are obtained and the calibration result is not precise enough. In comparison, the planar targetbased method is with easy operation and satisfactory results but perspective projection error is inevitable.
In this paper, a planar target with a pattern of two (or more) concentric circles is utilized to finish the calibration of LSLVS. In our calibraiton algorithm, the vanishing line of the light plane is deduced from imaged circles, then normal vector of the light plane is confirmed. The complete expression can be confirmed from the intersecting planes under a camera coordinate system. In the application, we evaluate our algorithms and accurate results are achieved. The contribution of our paper is that we initiate a new method based on a concentric circles feature to calibrate LSLVS. The algorithm can reduce the perspective deviation with a satisfying result. Moreover, the planar target used in our method is easy to make precisely, and meanwhile, the proposed method is efficient and convenient, especially for onsite calibration.
Measurement model
The location relationship between the camera in LSLVS and the structuredlight plane projector remains unchangeable in the process of calibration and measurement. So the structuredlight plane can be expressed as a fixed function, which is defined as Eq.(1) under camera coordinate system.
Consider.
where A_{L}, B_{L}, C_{L}, D_{L} are parameters of the structuredlight plane’s expression. The measurement model of LSLVS is illustrated in Fig. 1. OXYZ is the Camera Coordinate System (CCS) while oxy is the Image Coordinate System (ICS). Under CCS, the center of projection of the camera is at the origin and the optical axis points in the positive Z direction. A spatial point P is projected onto the plane with Z = f_{0}, referred to as the image plane under the CCS, where f_{0} is the effective focal length (EFL). Supposing p = (x, y, 1)^{T} is the projection of P = (X, Y, Z)^{T} on the image plane.
Under the idealized pinhole imaging model, the ideal model of the camera, P, p and the center of projection O are collinear. The fact can be expressed by the following equation:
Practically, the radial distortion and the tangential distortion of the lens are inevitable. When considering the radial distortion, we have the following equations:
where r^{2} = x^{2} + y^{2}, (x, y)^{T} is the distorted image coordinate, and \( {\left(\overline{x,}\overline{y}\right)}^T \) is the idealized one, k_{1}, k_{2} are the radial distortion coefficients of the lens.
Properties of concentric circles
For the purpose of easy description, we define a world coordinate system, the XY plane of which is the target plane. In this case, the zaxis of the world coordinate system (WCS) is perpendicular to the target plane (as illustrated in Fig. 2). Also, we define the OXY of WCS on the target plane as the target plane coordinate system (TCS). Define C_{1} and C_{2} as two concentric circles, and their circle center is O. Their corresponding images are C_{1}, C_{2} and o.
Without loss of generality, define the homogenous representation of the circles center as [x_{0}, y_{0}, 1]^{T} under TCS and the radii as r_{1} and r_{2}. So the matrix representation of C_{1} is.
while the representation of C_{2} is.
The TCS is not unique when the concentric circles are described as Eq.(4) and Eq.(5). Under any one coordinate system whose origin coincides with the center of these concentric circles, expressions of these concentric circles are the same.
Define the homography matrix from the image plane to the target plane where concentric circles locates in as H. The matrix experiment of a circle can be expressed as.
Where p is the homography expression of the point located on the circle.
So we have.
As \( {p}_1^{\hbox{'}}={Hp}_1 \), Eq.(7) can be rewritten as.
The the realtion between C_{1} and \( {C}_1^{\hbox{'}} \) is obtained:
So we have.
Then.
The eigendecomposition can be expressed as.
where \( V=\left[\begin{array}{ccc}1& 0& {x}_0\\ {}0& 1& {y}_0\\ {}0& 0& 1\end{array}\right] \) and \( D=\left[\begin{array}{ccc}1& 0& 0\\ {}0& 1& 0\\ {}0& 0& {r}_1^2/{r}_2^2\end{array}\right] \). From matrix D, we find that \( {C}_2^{\hbox{'}1}{C}_1^{\hbox{'}} \) has three eigenvalues, of which two are identical and one is different. From matrix V, we find that the corresponding eigenvectors of the identical eigenvalues are [1 0 0]^{T}, [0 1 0]^{T}, which are points on the infinity line. We also find the corresponding eigenvector of the different eigenvalue is [x_{0} y_{0} 1]^{T}, which is the circle center. Based on the above analysis, we can conclude that the circle center and the line at infinity can be recovered by the eigenvectors of the matrix \( {C}_2^{1}{C}_1 \) [14].
Eq.(11) is rewritten as.
As the world coordinate system can be defined freely, the concentric circles can be expressed as Eq.(4) and Eq.(5). Eq.(13) is the form of AX = XB, which is widely used in robot handeye calibration [15]. The general solutions of Eq.(8) can be calculated easily. One solution is corresponding to one coordinate system (TCS). So any one of the solutions can be chosen, then the matrix H transformed from the image plane to the target plane (under TCS) can be confirmed.
Calibration
In our method, a planar target with two concentric circles is designed to finish the calibration. As is known, the projection of a circle on a plane is an ellipse (as illustrated in Fig. 3), which can be expressed as [16, 17].
As described in Eq.(11), matrix \( {C}_2^{1}{C}_1 \) is similar with the matrix \( {C}_2^{\hbox{'}1}{C}_1^{\hbox{'}} \), defining the eigenpair of \( {C}_2^{1}{C}_1 \) as (λ, x). According to the property of similarity transformation, the eigenpair of \( {C}_2^{\hbox{'}1}{C}_1^{\hbox{'}} \) is (λ, Hx). As is known, the vanishing point is the image of the infinity point and the vanishing point must be located on the vanishing line, which is the image of the infinity line. When projections of the two concentric circles (\( {C}_1^{\hbox{'}} \) and \( {C}_2^{\hbox{'}} \)) are determined, the image circle center and the vanishing line of the target plane can be deduced from their eigenvectors.
Clearly, the light stripe locates on the target plane. As one plane has only one vanishing line, the intersection point of the vanishing line of the target plane and the light stripe is a vanishing point of the light plane. So when we place the target in different positions, more vanishing points will be obtained. Then the vanishing line of the light plane is confirmed (as illustrated in Fig. 4). In Fig. 4, L_{T} is the vanishing line of the target plane. P_{n} is the vanishing point of the target plane and the light plane. L_{l} is the vanishing line of the light plane.
The vanishing line and its corresponding plane can be related by the following equation.
where K is the intrinsic parameter matrix of the camera, \( \overrightarrow{n} \) is the normal vector of the corresponding plane and l is the homogeneous coordinate of the vanishing line. Based on Eq.(15), the normal vector of the light plane can be deduced from its vanishing line [18].
when we obtain the homography matrix from image plane to the target plane, the rotation matrix and the translation matrix from the camera coordinate system to the world coordinate system can be decomposed from the homography matrix. The light stripe is similarly located on the light plane, the target plane and its back projection plane under CCS. When we define the target plane as.
And the back projection plane is.
Then the series of planes crossing the light stripe on the target can be expressed as.
Eq.(19), k is a scale factor. As the normal vector of the light plane crossing the plane stripe is known, the parameter D_{L} can be easily be confrimed from Eq.(19) and Eq.(1).
Briefly, the calibration procedure is given as follow:
Step 1: Extract concentric circles images \( {C}_1^{\hbox{'}} \) and \( {C}_2^{\hbox{'}} \).
Step 2: Calculate the eigenvectors of \( {C}_2^{\hbox{'}1}{C}_2^{\hbox{'}} \), then the vanishing line and the imaged circle center can be confirmed.
Step 3: Confirm the normal vector of the light plane from its vanishing line.
Step 4: Confirm the homography matrix from the target plane to the image plane. Then the rotation matrix and translation matrix from the world coordinate system to the camera coordinate system is deduced.
Step 5: The back projection plane can be confirmed based on the light strip on the target plane.
Step 6: Parameter D_{L} which is defined in Eq.(1) can be confirmed from Eq.(19).
Simulation
In our computer simulations, we assumed the simulated camera has been calibrated, i.e. the intrinsic parameters are known: the focal lengthf = 1200, the scale factor in the xcoordinate direction (f_{x}) is equal to the scale factor in the ycoordinate direction (f_{y}), i.e. f_{x} = f_{y} = 1200, the principal point(u0, v0) = (400, 300). The expression of the light plane under the camera coordinate system is.
The pattern on the plane target contains two concentric circles with a radius of 25 mm and 20 mm respectively.
Influence of image noise on calibration accuracy
In our simulations, the target is moved to 5 different positions. 200 feature points on each circle image are chosen to fit the ellipse and the least squares ellipse fitting algorithm is utilized. The light strip is fitted by 30 image points. Gaussian noise with standard deviations varying from 0 to 1.0 pixels is added to both coordinates of the image points to generate the perturbed image points.
In the proposed algorithm, normal vector of the light plane is obtained from its vanishing line and the parameter D_{L} is deduced from the back projection plane. Errors of the normal vector and the parameter D of the structured light plane are illustrated in Fig. 5. The root mean square error (RMS) and the mean absoulte error (MAE) are illustrated. Errors illustrated in Fig. 5(a) are soloved from the intersection angle of two nornal vectors, the idealized light plane’s and the perturbed one’s. Similarly, errors illustrated in Fig. 5(b) are difference from idealized parameter D_{L} and the calculated one.
Each point in Fig. 5 represents result averaged 200 uniformly distributed rotations. From Fig. 5, we can see that errors increase over the noise level, including root mean square error and mean absoulte error.
Influence of circle number on calibration accuracy
We generalize our results to three concentric circles and four concentric circles. In this experiment, we choose 200 points to fit the ellipse and also place the target to 5 different positions. Calibration results are illustrated in Fig. 6 and Fig. 7. The related notations are the same as mentioned in Fig. 5.
As illustrated in Fig. 6 and Fig. 7, the calibration result is better as the number of concentric circles increases. When more concentric circles are used, the vanishing line and the homography matrix have a precise result. In this case, calibration result is more accuracy.
Results and discussion
Camera calibration
In the real scene experiment, the camera used to capture the image is AVT F504B with a resolution of 2452 × 2056 pixels and the view field is about 200 × 200 mm (as illustrated in Fig. 8). The laser projector is a line laser. A planar target with two concentric circles is made and the radii of the two circles are 50 mm and 70 mm respectively. Its machining accuracy is 0.01 mm.
The camera can be calibrated by Zhang’s calibration method [19, 20] or Huang’s calibration method [16]. Based on Huang’s calibration method, intrinsic parameters can be obtained simultaneously when we finish the calibration of LSLVS using our target. In our experiment, we calibrate the camera by Zhang’s method. The checkerboardpattern target is produced with accuracy of 10 μm. Captured images are illustrated in Fig. 9 and the intrinsic parameters are listed in Table 1.
In Table 1, f_{x} is the scale factor in the xcoordinate direction, f_{y} is the scale factor in the ycoordinate direction, (u_{0}, v_{0})^{T} is the coordinates of the principal point. k_{1} and k_{2} are the distortion coefficients of lens.
Sensor calibration
A planar target with two concentric circles is used to calibrate LSLVS, and the radii of the two circles are 50 mm and 70 mm respectively. Its produced accuracy is 0.01 mm. The target is placed to 5 different positions. We first compensated for camera distortion by rectifying all real images, and then the image of concentric circles is extracted [21] in subpixel precision, which is illustrated in Fig. 10.
LSLVS is calibrated by the method mentioned above respectively. Function of the structured light plane under camera coordinate system is expressed as.
Moreover, we used a target with three concentric circles to finish the calibration task. The extraction of imaged concentric circles are illustrated in Fig. 11.
Function of the structured light plane under camera coordinate system is expressed as.
Accuracy evaluation
A planar checkerboardpattern target is used to evaluate the accuracy of the proposed calibration method. As the side length of each checkerboard is known exactly, the coordinate of the feature points under TCS can be solved based on the invariance of crossratio. The theory is descirbed as follows:
The grid pitch of the target is known accurately as l while the length of AD can be defined as l_{0} (see Fig. 12). Based on the invariance of crossratio, the following equation can be obtained:
The real length of AD can be solved, so can A_{1}D_{1}. Then the distance between point D and point D_{1} can be worked out, i.e. the distance between each of the adjacent feature points (dTru) can be obtained, which can be treated as the true value owing to its high accuracy.
All measurement values (dMea) are compared with their corresponding true value. As the target can be moved into different positions randomly, we can obtain enough distances to evaluate our calibration result, ten of which are listed in Table 2.
In Table 2, dTru denotes the real distance between two feature points, while dMea is the measurement result based on the calibration result using the proposed method. As listed in Table 2, the root mean square error of the calibration result (RMS) obtained by our proposed method is 0.072 mm. The calibration results are precise enough as two concentric circles are used and the target is just placed to four different positions.
Comparisons & Discussions
There are many calibration methods for line structure light vision sensor. Three methods with different targets are concisely described as follows:

A.
The method based on the invariance of double crossratio (named 3D method) [7]. The utilized 3D target consists of two rigid planes that are perpendicular to each other, and squares and/or rectangles exist on each plane. Enough features points can be obtained based on the invariance of double crossratio. The root mean square error of the measurement is less than 0.151 mm as mentioned in Ref. [7] within the field of about 300×300 mm.

B.
The planar target based method (named 2D method) [10] approach uses a planar target with a pattern of 3×3 squares to calibrate the LSLVS, the size of each square is 35×35 mm. The intersection points of the light stripe and calibration squares with exactly known size can be obtained under the image coordinate system. Accordingly, feature points on the structured light plane can be gained based on the invariance of crossratio. The root mean square error of 30 distances as mentioned in the experiment of [10] is 0.085 mm within the field of about 200×200 mm.

C.
The 1D target based method (named 1D method) [8] in the calibration approach, has a target length of about 400 mm. And six small holes, the distance of each adjacent pair is 40 mm, are located on the target. One feature point can be determined based on the invariance of crossratio each time. Enough feature points can be obtained to calibrate the LSLVS from the random movements of the 1D target. The root mean square error of the measurement can reach 0.065 mm in [8] within the field of about 300×200 mm. These corresponding target are illustrated in Fig. 13.
As metioned above, the 3D target based method is not well suited for onsite calibration as some inevitable problems, e.g., mutual occlusion between different planes of the target, the difficulty of producing precisely, the cumbersomeness of the target, etc. Comparatively, the 2D method and 1D method is more suitable for onsite calibration. But as the feature points of the 1D target is less than the 2D target, the target should be moved to more positions to finish the calibration (or get an accurate result). Therefore, the 2D method is more convenient and is popularly utilized. In this case, different planar targets appeared.
As the most typical calibration method for line sturctured light vision sensor is the planar target based method [10], we employ the method in Ref. [10] to calibrate the sensor. The target is with a circle array pattern and its machining accuracy is 0.01 mm. Images used to calibrate the line structure light sensor are displayed in Fig. 14. The calibration result is:
Based on the evaluation method described above, the results of Zhou’s calibration method are listed in Table 3.
The 3D coordinate of these feature points obtained according these calibration methods are illustrated in Fig. 15.
In Fig. 15, the method with two circles is the proposed calibration method using a planar target with two concentric circles, while the method with three circles is the proposed calibration method using a planar target with three concentric circles. Compared with the calibration results listed in Table 2, we can get the conclusion that the accuracy of our proposed calibration method is comparable to the method which uses a planar target.
As described above, the precision of these described calibration methods are listed in Table 4.
Our proposed calibration method has nearly the same accuracy with the 2D method and the 1D method, and better than the 3D method. Furthermore, as the target utilized in our proposed approach is a plane with several circles, it is easier to produce precisely than the target used in the 2D method. Although the 1D method can accomplish the onsite calibration of LSLVS conveniently, the target has to move to more positions than our proposed approach in order to obtain enough feature points. Yet the feature points of the 1D target only have the constraint of length, which may affect the accuracy of calibration. Neither production difficulty nor length constraint exists in our proposed approach, so it is more suitable for onsite calibration of LSLVS compared with the three typical calibration methods. Furthermore, the related feature information is summarized as listed in Table 5.
Conclusions
In this paper, a calibration method based on properties of concentric circles is described. A planar target with a pattern of several concentric circles is utilized to finish the calibration of LSLVS. The normal vector of the light plane is deduced from its vanishing line. Then the parameter D is confirmed by the back projection plane deduced based on the light strip on the target plane.
The contribution of our paper is that we initiate a new method based on concentric circles to calibrate LSLVS. The introduced method can reduce the perspective deviation and obtain a precise result. Moreover, the planar target used in our calibration method is easy to make precisely, meanwhile, the proposed method is efficient and convenient, especially for onsite calibration.
References
BM. Chung, “Improved leastsquares method for phasetoheight relationship in fringe projection profilometry”, https://doi.org/10.1186/s4147601600148, 2016.
Dewar, R.: Selfgenerated targets for spatial calibration of structured light optical sectioning sensors with respect to an external coordinate system. In: Proceedings of the Robots and Vision Conference, pp. 5–13. Detroit, Mich, USA (1988)
James, K.W.: “Noncontact machine vision metrology with a CAD coordinate system,” Autofact’88 Conference Proceedings, pp. 9–17 (1988)
Duan, F., Liu, F., Ye, S.: A new accurate method for the calibration of line structured light sensor. Chinese Journal of Scientific Instrument. 211, 108–110 (2000)
Xu, G., Liu, L., Zeng, J.: A new method of calibration in 3D vision system based on structurelight. Chinese Journal of Computers. 18(6), 450–456 (1995)
Huynh, D.Q., Owens, R.A., Hartmann, P.E.: Calibrating a structured light stripe system: a novel approach. Int. J. Comput. Vis. 33(1), 73–86 (1999)
Wei, Z., Zhang, G., Xu, Y.: Calibration approach for structuredlightstripe vision sensor based on the invariance of double crossratio. Opt. Eng. 42(10), 2956–2966 (2003)
Wei, Z., Cao, L., Zhang, G.: A novel 1D targetbased calibration method with unknown orientation for structured light vision sensor. Opt. Laser Technol. 42(4), 570–574 (2010)
Zhou, F., Cai, F.: Calibrating structuredlight vision sensor with onedimensional target. Journal of Mechanical Engineering. 46(18), 7–12 (2010)
Zhou, F., Zhang, G.: Complete calibration of a structured light stripe vision sensor through planar target of unknown orientations. Image Vis. Comput. 23(1), 59–67 (2005)
Wei, Z., Xie, M., Zhang, G.: “Calibration method for line structured light vision sensor based on vanish points and lines”, ICPR, pp. 794–797 (2010)
Xu, K.: Monolithically integrated Si Gatecontrolled lightemitting device: science and properties. Journal of Optics. 024014: doi.org/10.1088/20408986/aaa2b7
Harun, S.W., Lim, K.S., Damanhuri, S.S.A., Ahmad, H.: Microfiber loop resonator based temperature sensor, vol. 6, (2011). https://doi.org/10.2971/jeos.2011.11026
Huang, H., Zhang, H., Cheung, Y.: “The common selfpolar triangle of concentric circles and its application to camera calibration”, IEEE Conference on Computer Vision and Pattern Recognition, pp. 4065–4072 (2015)
Mao, J., Huang, X., Jiang, L.: “A flexible solution to AX=XB for Robot HandEye calibration”, 10th WSEAS Int. In: Conference on ROBOTICS, CONTROL and MANUFACTURING TECHNOLOGY, pp. 118–122
Shiu, Y., Ahmad, S.: 3D location of circular spherical features by monocular modelbased vision. In: Proceedings of the IEEE Conference on System, Man and Cybernetics, pp. 576–581. Cambridge, Mass, USA (1989)
SafaeeRad, R., Tchoukanov, I., Smith, K.C., Benhabib, B.: Threedimensional location estimation of circular features for machine vision. IEEE Trans. Robot. Autom. 8(5), 624–640 (1992)
R. Hartley and A. Zisserman, “Multiple View Geometry in Computer Vision”, Cambridge University Press, 2003, ch.2–8
Zhang, Z.: A flexible new technique for camera calibration. IEEE Trans. Pattern Anal. Mach. Intell. 22(11), 1330–1334 (2000)
J. Bouguet, “Camera calibration toolbox for Matlab”, [Online] Available from: http://www.vision.caltech.edu/bouguetj/calib_doc/
Steger, C.: Unbiased extraction of curvilinear structures from 2D and 3D image [Ph.D. Dissertation], Technische Universitaet Muenchen (1998)
Acknowledgements
This work was supported by Postdoctoral Sustentation Fund of Qingdao (861805033068), the National Natural Science Fundations of China (U1706218 and 41576011). The authors express their gratitude to vision laboratory of Ocean University of China for supply of experiment conditions. We would also like to thank one anonymous reviewer for helpful suggestions that improved this manuscript.
Funding
Declared at acknowledgements.
Availability of data and materials
Data sharing is not applicable to this article as no datasets were generated.
Author information
Authors and Affiliations
Contributions
Conceived and designed the experiments: MS JD. Performed the experiments: MS. Analyzed the data: MS. Contributed reagents/materials/analysis tools: MS JD. Wrote the paper: MS AM. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Shao, M., Dong, J. & Amanuel Hirpa Madessa A new calibration method for linestructured light vision sensors based on concentric circle feature. J. Eur. Opt. Soc.Rapid Publ. 15, 1 (2019). https://doi.org/10.1186/s4147601900970
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s4147601900970
Keywords
 Calibration
 Concentric circles
 Light plane
 Vanishing line