원시데이터 수집 시스템
선정목록으로

Calibration of a Telecentric Structured-light Device for Micrometric 3D Reconstruction

간접 관련 산업용 섬유 · (17) 스펀본드 부직포 (11) 배리어 필름(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Mara Pistellato — DAIS, Università Ca’Foscari Venezia, 155, via Torino, Venezia Italy, --- Select a Country ---
  2. Andrea Albarelli — DAIS, Università Ca’Foscari Venezia, 155, via Torino, Venezia Italy, --- Select a Country ---
  3. Filippo Bergamasco — DAIS, Università Ca’Foscari Venezia, 155, via Torino, Venezia Italy, --- Select a Country ---
DOI
10.5220/0010841700003122
저널
–
발행년도
2022
발행기관
–
피인용수
2
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.5220/0010841700003122
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4212944665

평가 내용

관련도
간접 관련
사업분야
산업용 섬유 · (17) 스펀본드 부직포
부 분야
(11) 배리어 필름, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Structured-light 3D reconstruction, micrometric precision, industrial inspection, surface irregularities, telecentric lenses
판단 근거
본 논문은 산업용 검사를 위한 미세 표면 3D 재구성 및 정밀 측정 기술을 다루고 있습니다. 이는 코오롱인더스트리의 필름, 부직포, 디스플레이 소재 등의 표면 결함이나 미세 구조를 정밀하게 분석하는 공정 검사 기술에 응용될 수 있습니다.
R&D 활용 포인트
고기능성 필름(배리어, CPI)이나 산업용 부직포의 표면 거칠기, 미세 결함 및 구조적 균일성을 마이크로 단위로 정밀 검사하는 비파괴 검사 시스템 구축에 활용 가능합니다.
평가 입력
초록 1,186자

초록

Structured-light 3D reconstruction techniques are employed in a wide range of applications for industrial inspection.In particular, some tasks require micrometric precision for the identification of microscopic surface irregularities.We propose a novel calibration technique for structured-light systems adopting telecentric lenses for both camera and projector.The device exploits a fixed light pattern (striped-based) to perform accurate microscopic surface reconstruction and measurements.Our method employs a sphere with a known radius as calibration target and takes advantage of the orthographic projection model of the telecentric lenses to recover the bundle of planes originated by the projector.Once the sheaf of parallel planes is properly described in the camera reference frame, the triangulation of the surface's object hit by the light stripes is immediate.Moreover, we tested our technique in a real-world scenario for industrial surface inspection by implementing a complete pipeline to recover the intersections between the projected planes and the surface.Experimental analysis shows the robustness of the proposed approach against synthetic and real-world test data.

본문 24,787자

본문 펼치기
Structured-light 3D reconstruction techniques are employed in a wide range of applications for industrial inspection. In particular, some tasks require micrometric precision for the identification of microscopic surface irregularities. We propose a novel calibration technique for structured-light systems adopting telecentric lenses for both camera and projector. The device exploits a fixed light pattern (striped-based) to perform accurate microscopic surface reconstruction and measurements. Our method employs a sphere with a known radius as calibration target and takes advantage of the orthographic projection model of the telecentric lenses to recover the bundle of planes originated by the projector. Once the sheaf of parallel planes is properly described in the camera reference frame, the triangulation of the surface's object hit by the light stripes is immediate. Moreover, we tested our technique in a real-world scenario for industrial surface inspection by implementing a complete pipeline to recover the intersections between the projected planes and the surface. Experimental analysis shows the robustness of the proposed approach against synthetic and real-world test data. INTRODUCTION Structured-light approaches adopt a controlled light source with known geometry to locate the same material point from different views, recovering its depth via triangulation (Pistellato et al., 2015). A classical example is the well-known phase-shift method (Zuo et al., 2018;Pistellato et al., 2018), widely used in several applications with appropriate unwrapping algorithms (Pistellato et al., 2019a;Pistellato et al., 2019b). Such approaches are portable solutions which can be easily integrated in industrial settings, allowing for high precision measurements without touching the artefact (Xu et al., 2011b;Xu et al., 2011a). In these scenarios the adoption of a precise measurement system is a key element to assess the quality of the manufactured objects during construction, specially because an accurate and extensive control also reduces potential issues that may emerge during the subsequent production steps. INTRODUCTION Fringe projection is often employed in the context of microscopic applications, where the acquired object features' size ranges from millimetres to microns. This is the case of several tasks, as quality control (Weckenmann et al., 2006), weld pool surface depth measurement (Saeed and Zhang, 2007), laminated plastic wrinkles evaluation (Yao and Xu, 2007), electrical components or small coins reconstruction (Li et al., 2014;Liu et al., 2015). Additional examples include the work presented in (Bergström et al., 2011;Rosendahl et al., 2010) for an object shape verification system using structured-light and stereo correspondences, while (Li and Zhang, 2017), proposes to combine fringe projection with binary defocusing technique (Lei and Zhang, 2009) for 3D microscopic profilometry. When the acquisition speed is a limiting factor, fixed patterns are typically used in the form of random distributions or binary and coloured codes (Zhou et al., 2017). Shape from single stripe pattern is proposed in (Winkelbach and Wahl, 2002), where authors devise surface normals from the stripes observed by a single camera. All the aforementioned applications require an initial calibration to assess the geometric relations between the components involved in the acquisition. INTRODUCTION Such process has a direct impact on the quality of the reconstruction, particularly for industrial-related applications, where accuracy is a critical requirement. In the specific case of telecentric surface reconstruction, the narrow field-of-view of the lenses requires a specialised method as well as a specifically-designed calibration target. Common approaches can employ a small planar target with a grid dot pattern that can be easily detected and identified by the imaging system (Li et al., 2014;Li and Zhang, 2015;Chen et al., 2014;Bergamasco et al., 2011), complex 3D targets (Liu et al., 2017), or none (Bergamasco et al., 2014). INTRODUCTION In this paper we describe a structured-light device based on telecentric fringe projection profilometry for micrometic measurements. Our setup combines a telecentric camera and projector with a fixed pattern composed by equally spaced parallel lines. Both camera and projector imaging systems are affected by negligible lens distortion and are characterised by an orthographic projection model. The advantages of employing a single striped pattern are several: first, we need a single shot to reconstruct the scene, thus the acquisition and computation speed are significantly increased. Moreover, the system does not require accurate gamma calibration and it does not suffer from particular scene features like non-uniform albedo or materials. The contribution is twofold: first, we propose a novel calibration solution involving the observation of a sphere with a known radius in different positions. The intersections of the parallel planes generated by the projected pattern with the spherical surface originate a series of coaxial 3D circles that are projected as ellipses on the camera image plane. Such curves can be exploited to geometrically compute the system parameters and obtain the correct pixel scale by fitting the 3D sphere. The second contribution consists in a specific case-of-study where the described sensor is employed to reconstruct the internal surface of industrial gearwheels. The overall accuracy and low cost of such approach makes it a potential substitute for the classic contact measuring for quality assessment in industrial applications. Indeed, it is particularly suitable for the inspection of smooth surfaces requiring micrometric precision. CALIBRATION TECHNIQUE Considering their orthographic imaging model, telecentric lenses are particularly convenient to measure small objects. In an orthographic camera the centre of projection is located at infinity, so that rays coming from the captured object intersect the image plane orthogonally (Hartley and Zisserman, 2003). This implies that the projection on the image plane is not affected by the object's depth, and thus the size of each pixel corresponds to a certain length in the real world, making straightforward to measure distances along x and y axes. On the other hand, depth computation and 3D reconstruction are not immediate and require specialised approaches. CALIBRATION TECHNIQUE Our device is sketched in Figure 1: the projector casts on the scene a fixed pattern consisting in a series of equally-spaced straight lines. Such lines generate a bundle of equispaced parallel planes P in 3D space, that are orthogonal to the projector's image plane. We define the stride ∆ as the distance between any two consecutive planes. This value is proportional to the lines distance on the projector's image plane, but it is scaled by a multiplicative unknown factor. Such scale depends on the combination of (i) the magnifying factor of the telecentric lens and (ii) the inclination of the projector's focus plane (Scheimpflug adjustment), that needs to be aligned with the camera image plane to obtain the optimal depth-of-field. CALIBRATION TECHNIQUE The planes orientation with respect to the camera coordinate system and their stride are unknown, thus we identify three parameters that need to be estimated by the calibration process: CALIBRATION TECHNIQUE 1. the normal vector n = n x n y n z T of all the parallel planes in the bundle P with respect to the camera reference frame; 2. The scale factor s between camera pixels and the real world units (i.e. pixel's size in millimetres). CALIBRATION TECHNIQUE Calibration of a Telecentric Structured-light Device for Micrometric 3D Reconstruction Figure 2: Left: telecentric projector (in blue) generates a parallel sheaf of planes P intersecting a known sphere used as calibration target. Such intersections result in coaxial circles in space which (due to self-occlusions) are observed as a set of arcs by the camera. Right: each circle is projected to the image plane as the ellipse E i . The normal n can be obtained by rotating the vector z around the axis a i , but two alternative solutions (n ′ and n ′′ ) are equally valid and must be disambiguated. CALIBRATION TECHNIQUE 3. The stride ∆. CALIBRATION TECHNIQUE All the planes in the bundle are identical, and therefore is not possible to distinguish their absolute offset (or numbering) within the projector image plane. For this reason, we assume to only recognise their relative order (i.e. which one comes after another) but not their absolute index with respect to the first one, which generally depends by the depth of the observed object. So, without loss of generality, we can assume that P contains an infinite set of planes P 1 = (p 1 , n), P 2 = (p 2 , n), . . . (parameterised as a point p i and the normal vector n) such that p i = ∆ni. CALIBRATION TECHNIQUE During the calibration process, a sphere with known radius r is imaged so that a subset of N planes originated from the projector are cast on the sphere's surface. The intersection of parallel planes with with the sphere generates N circles in 3D space that exhibit some particular properties: (i) they are are coaxial since all the slicing planes are parallel, (ii) their 3D centres lie on a line L in space, and (iii) L is orthogonal to the parallel sheaf of planes (i.e. line direction has the same orientation as n). Since the sphere self-occludes the projected light rays, only N arcs A 1 . . . A N of the full circles are visible on the surface. Such N 3D circle arcs are therefore imaged by the camera as portions of N 2D ellipses E 1 , ..., E N . For each ellipse E i with i = 1, ..., N, the plane bundle normal vector n can be recovered up to two equally possible configurations. CALIBRATION TECHNIQUE Let C i be the i th circle generated by the intersection of the i th plane in P and the sphere. Since we are using an orthographic camera, C i projects to an ellipse E i having a i and b i as major and minor axes respectively (see Fig. 2). The length of a i is equal to the radius r of the sphere, so if we rotate the bundle of planes P around the axis a i the eccentricity of E i changes. In particular, as shown in (Bergamasco et al., 2020;Pistellato et al., 2019c), the ratio between the semi-axes is a function of the angle θ between the normal n and the camera z-axis: CALIBRATION TECHNIQUE In this setting, the bundle normal n can be obtained by rotating the vector z = (0, 0, 1) T around the axis a i with two equally possible angles: CALIBRATION TECHNIQUE As a consequence, each ellipse E i generates two equally possible normal vectors n ′ i and n ′′ i . Note that also −n ′ i and −n ′′ i are valid solutions but can be ignored in the disambiguation process since they represent the same plane. CALIBRATION TECHNIQUE The 3D line L connecting all the circles' centres projects onto the camera image plane as the 2D line l passing through the ellipses centres. The disambiguation of the correct n exploits the geometry of l to filter out the wrong plane normals. Indeed, we recall that n is parallel to the axis L and that all normal vectors generated by the N ellipses must be oriented to the same direction. So, among all the alternatives, we keep the normal vectors whose angles formed with the axis L is minimum. CALIBRATION TECHNIQUE Finally, since the ellipses centres are the orthographic projections of the 3D circles centres, the stride value can be computed from the relative distance (in pixels) between adjacent ellipses centres on the image plane. The relation between such distance and the stride value is the following: Calibration • Stride • Planes Normal Image Acquisition and Preprocessing Figure 3: Our proposed calibration pipeline. From left to right: (i) Stripe pattern is projected and a known calibration sphere is exposed to the camera in different positions. Thresholding, skeletonization, and filtering is applied to cluster each arc. (ii) Ellipses are robustly fitted to arc points (via RANSAC) and a selection procedure is used to extract a subset of inlier ellipses whose centers are uniformly distributed on a straight line. (iii) Plane bundle stride and normal is estimated is §2. (iv) 2D arc points are triangulated by intersecting the corresponding exiting camera rays with the recovered plane bundle. A sphere is fitted to the obtained 3D points. Image Acquisition and Preprocessing where β is the angle formed by the plane normal n and the camera z-axis, and d is the distance (in camera pixels) between two consecutive projected centres. Note that, due to the orthographic projection, this is the equivalent of computing the hypotenuse of a right-angled triangle. Image Acquisition and Preprocessing Once the stride ∆ and plane normal n are computed, points composing the 3D arcs A 1 . . . A N can be triangulated by simply intersecting the exiting camera rays passing through ellipses E 1 . . . E N with the 3D planes in P . Let e j i ∈ R 2 be the j th 2D point of the ellipse E i . Its 3D position g j i is given by: Image Acquisition and Preprocessing The obtained point cloud is then fitted to a sphere model S, obtaining a radius r S , expressed in camera pixels. Since the acquired sphere has known radius, the scale between pixels and world units is simply given by Image Acquisition and Preprocessing Finally, to obtain a robust parameter estimation the procedure is repeated for different sphere locations. The final parameters are computed by averaging the resulting values, excluding the acquisitions for which the RMS of the distance between the fitted sphere and the 3D points is above a threshold. Image Acquisition and Preprocessing Note that the relative position of the triangulated points is correct, but their absolute depth can be recovered up to an unknown multiple of the stride since the planes are not distinguishable one from the other. In other words, matching between a certain 2D point and the bundle plane from which it was originated is somehow arbitrary. This is not a showstopper for many industrial applications, especially when the goal is to recover the shape of the surface and not its position, which is often the case with quality assurance. In cases where the absolute position of the surface is also needed, it would be straightforward to set an absolute numbering for stripes, for instance by using a special marker embedded in the pattern. Implementation Details The whole calibration procedure is sketched in Figure 3. We start by projecting the stripe pattern to the calibration sphere placed at different random positions in front of the camera. Stripe contour points are extracted by applying a series of image filters: first, 5 binary images are obtained by applying 5 different threshold levels to the original image. The skeletonization for each binary image is computed, as described in (Lee et al., 1994), to generate a set of 5 binarized skeleton masks. Then, the skeleton masks are summed into an accumulator in which morphological dilation is applied to join the isolated portions of each arc (ie. close small holes of the original skeleton masks). Finally, the accumulator is thresholded to extract all the connected components representing candidate ellipse arcs to be tested. Implementation Details To provide a reliable an accurate ellipse fitting, we adopted a RANSAC-based approach as described in (Halır and Flusser, 1998). We filtered all the ellipses with less than 80% inliers among the point data, considering a RANSAC inlier distance of 2 camera pixels. In this way, all the extracted arcs that are not ellipses in the image are automatically discarded. Implementation Details An additional inlier selection is then performed over the set of ellipses by fitting a line through their centres and checking their relative distance in pixels. Then, the ellipses whose centres are not uniformly distributed along the line are discarded (See. Alg.1). In Figure 3 (third image) the inlier ellipses used to Implementation Details At this point, the selected ellipses are used to compute the plane normal and the stride value as described in the previous section. In practice, every ellipse gives a independent estimation of n and ∆. We simply average all such estimations to reduce the er-ror. Then, the points belonging to the ellipses are triangulated and used to fit a 3D sphere with a standard linear least-squares approach. Finally, the pixel scale s is recovered as in (5). Figure 3 (right) shows an example of the resulting triangulated points and the corresponding fitted sphere. EXPERIMENTAL EVALUATION In order to evaluate the performances and the stability of the proposed method, we designed a set of synthetic and real-world experiments. First, we tested the accuracy of the parameter estimation from a single shot, introducing some noise and varying the system configuration. Then, we exploited our setup to validate the algorithm stability in the case of real-world applications. Synthetic Validation Synthetic tests give us the full control over the scene, allowing for a systematic validation of the proposed technique. We first decided to test the accuracy of the calibration method against acquisition noise, then we analysed the behaviour of the system varying the relative position between projector and camera. In our synthetic tests we simulated a configuration similar to the real setup, with a virtual orthographic camera and projector. The projector emits a set of 20 parallel planes with a fixed stride equal to 0.5 (camera px), and the camera captures a sphere with a radius equal to 3 pixels. Synthetic Validation In the first experiment we fixed the projector orientation to 45 degrees with respect to the camera zaxis. Then, we randomized the sphere position (simulating a real acquisition) and perturbed the projected 2D points of each ellipse with a zero-mean Gaussian noise with standard deviation σ N . Results are shown in Figure 4, where the absolute errors with respect to the ground truth are plotted. We increased the error standard deviation σ N applied to 2D points and measured (i) the angle error with respect the plane normals, (ii) the stride error, (iii) the sphere radius estimation error, and (iv) the Root Mean Square (RMS) error of the triangulated points with respect to the sphere surface. Synthetic Validation We repeated each test 100 times, with different sphere locations, using only one picture to calibrate the system. As expected, the errors increase linearly with the noise. In particular, for relatively small perturbations, the angle absolute error is smaller than 0.05 radians, and the sphere radius estimation error is below 0.03 pixels, that is the 2% of the actual radius. Synthetic Validation As a second test, we analysed the impact of the relative angle between the projector and the camera. Indeed, since the observed portions of ellipses are fundamental to devise the final system parameters, we studied such effect on our synthetic setup to design an optimal configuration for our real-world prototype. To do so, we basically repeated the previous test, this time varying the relative angle between the camera and the projector z-axes. Note that with an angle close to 0 degrees the camera observes straight lines, because the plane normals are orthogonal to its z-axis, while when the angle is 90 degrees the camera should observe circle arcs. Results of this tests are shown in Figure 5. Interestingly, the projector angle exhibits a very high impact on the plane normal estimation, with an optimal orientation equal to 45 degrees. Other measurements are slightly affected by such angle, as shown for the sphere RMS. Real-world Results In our real-world tests we employed a cameraprojector pair, both equipped with telecentric lenses. The camera acquires greyscale images with a 12 MPixels resolution, and we used a line pattern with a physical stride of 0.05 mm. The devices were mounted on a solid structure with a relative angle of approximately 45 • , in a way that the plane of focus for both camera and projector are aligned to a common area of interest (see Fig. 1 and 7). The sphere used for calibration is a smooth ceramic bearing ball with a diameter of 8 mm and a declared surface tolerance of 0.7 microns. Real-world Results We evaluated the accuracy and repeatability of the calibration varying the number of sphere acquisitions. A total of 30 images were acquired, varying the position of the sphere in the camera-projector frustum. Then, we used a cross-validation approach working as follows. The set of 30 images is divided in m partitions. For m times, one partition is used for calibration and the remaining m − 1 for testing. The operation is repeated varying the number of partitions (and consequently the number of image samples used for calibration, in x-axis) and plotted in Fig.6. Each test was repeated 20 times, and the standard errors are also shown as error bars. Real-world Results We can observe that the normal estimation error between calibration and test set is in the order of 4.4 · 10 −3 radians, the stride error lower than 1.5 camera pixels and sphere radius absolute error consistently lower than 4 camera pixels for a number of calibration samples greater than 5. Moreover, the RMS of triangulated points over the fitted sphere is below 1 px for the majority of the acquired images. Considering that the computed scale (ie. the camera pixel size) s is 3.24 · 10 −3 mm/px, such error is approximately 6.5 microns. Real-world Results We also tested the 3D reconstruction accuracy by means of the RMS error between the reconstructed 3D points and the ideal sphere calibration target. Overall, it ranges from 0.3 to 1.7 pixels, corresponding to 5 microns on average. APPLICATION: INDUSTRIAL SURFACE ANALYSIS In this section we present an industrial application of our setup to acquire and analyse the internal gearwheel surfaces during the final steps of their production (Fig.7). Gearwheels manufacturing is a field in which precision and repeatability is critical since the gear's teeth need to perfectly fit the shape of other similar components in a mechanical machinery. APPLICATION: INDUSTRIAL SURFACE ANALYSIS When illuminated by our stripe projector and acquired by the camera, the teeth surface appears as a semi-shiny material, characterised by diffused microscratches as shown in Fig. 8a. APPLICATION: INDUSTRIAL SURFACE ANALYSIS For this application we first apply a sequence of image filters so that the line pattern profiles are accurately extracted. APPLICATION: INDUSTRIAL SURFACE ANALYSIS The result of image pre-processing task is shown in Figure 8b, where each extracted curve is highlighted in yellow. For each detected curve, a spline is fitted and then adjacent curves are identified in order to enumerate each subsequent projector plane. The actual teeth reconstruction is carried out by triangulating the detected splines. This is done first by uniformly sampling a set of discrete 2D point from each curve, and then by intersecting each point with the corresponding plane of P . The procedure generates a 3D point cloud composed by the union of individual sampled curves, shown in Figure 8c. APPLICATION: INDUSTRIAL SURFACE ANALYSIS Then, adjacent curves are analysed to find pointto-point correspondences between them. This is performed by running the Iterative Closest Point (Besl and McKay, 1992) algorithm between two adjacent curves to find their optimal alignment. The point matches given by the last iteration of ICP are used to synthetize additional points by uniform sampling 3D points on the straight lines connecting them. APPLICATION: INDUSTRIAL SURFACE ANALYSIS Finally, Delaunay 2D triangulation (Chen and Bishop, 1997) is applied to join the 2D points projections on the camera image plane and obtain a dense triangulated surface. An example of the final result is shown in Fig. 8d. CONCLUSIONS In this paper we proposed a micrometric calibration process for telecentric camera-projector setups, employing a fixed-striped pattern. We used a known spherical target to retrieve the geometrical characteristics of the system with a precision that can reach the order of microns. Since such targets are easy to manufacture and not expensive compared to their dimensional accuracy, the whole procedure can be carried out with a limited effort and costs. Synthetic and realworld experiments confirm both the stability of our method and its level of accuracy. CONCLUSIONS Additionally, we described a case-study of such a system, by means of a complete pipeline for microscopic surface acquisition and reconstruction involving micrometric gearwheel surface measurements.

섹션 본문 46문단 · 23,629자

(제목 없음)

1Structured-light 3D reconstruction techniques are employed in a wide range of applications for industrial inspection. In particular, some tasks require micrometric precision for the identification of microscopic surface irregularities. We propose a novel calibration technique for structured-light systems adopting telecentric lenses for both camera and projector. The device exploits a fixed light pattern (striped-based) to perform accurate microscopic surface reconstruction and measurements. Our method employs a sphere with a known radius as calibration target and takes advantage of the orthographic projection model of the telecentric lenses to recover the bundle of planes originated by the projector. Once the sheaf of parallel planes is properly described in the camera reference frame, the triangulation of the surface's object hit by the light stripes is immediate. Moreover, we tested our technique in a real-world scenario for industrial surface inspection by implementing a complete pipeline to recover the intersections between the projected planes and the surface. Experimental analysis shows the robustness of the proposed approach against synthetic and real-world test data.

INTRODUCTION

2Structured-light approaches adopt a controlled light source with known geometry to locate the same material point from different views, recovering its depth via triangulation (Pistellato et al., 2015). A classical example is the well-known phase-shift method (Zuo et al., 2018;Pistellato et al., 2018), widely used in several applications with appropriate unwrapping algorithms (Pistellato et al., 2019a;Pistellato et al., 2019b). Such approaches are portable solutions which can be easily integrated in industrial settings, allowing for high precision measurements without touching the artefact (Xu et al., 2011b;Xu et al., 2011a). In these scenarios the adoption of a precise measurement system is a key element to assess the quality of the manufactured objects during construction, specially because an accurate and extensive control also reduces potential issues that may emerge during the subsequent production steps.

3Fringe projection is often employed in the context of microscopic applications, where the acquired object features' size ranges from millimetres to microns. This is the case of several tasks, as quality control (Weckenmann et al., 2006), weld pool surface depth measurement (Saeed and Zhang, 2007), laminated plastic wrinkles evaluation (Yao and Xu, 2007), electrical components or small coins reconstruction (Li et al., 2014;Liu et al., 2015). Additional examples include the work presented in (Bergström et al., 2011;Rosendahl et al., 2010) for an object shape verification system using structured-light and stereo correspondences, while (Li and Zhang, 2017), proposes to combine fringe projection with binary defocusing technique (Lei and Zhang, 2009) for 3D microscopic profilometry. When the acquisition speed is a limiting factor, fixed patterns are typically used in the form of random distributions or binary and coloured codes (Zhou et al., 2017). Shape from single stripe pattern is proposed in (Winkelbach and Wahl, 2002), where authors devise surface normals from the stripes observed by a single camera. All the aforementioned applications require an initial calibration to assess the geometric relations between the components involved in the acquisition.

4Such process has a direct impact on the quality of the reconstruction, particularly for industrial-related applications, where accuracy is a critical requirement. In the specific case of telecentric surface reconstruction, the narrow field-of-view of the lenses requires a specialised method as well as a specifically-designed calibration target. Common approaches can employ a small planar target with a grid dot pattern that can be easily detected and identified by the imaging system (Li et al., 2014;Li and Zhang, 2015;Chen et al., 2014;Bergamasco et al., 2011), complex 3D targets (Liu et al., 2017), or none (Bergamasco et al., 2014).

5In this paper we describe a structured-light device based on telecentric fringe projection profilometry for micrometic measurements. Our setup combines a telecentric camera and projector with a fixed pattern composed by equally spaced parallel lines. Both camera and projector imaging systems are affected by negligible lens distortion and are characterised by an orthographic projection model. The advantages of employing a single striped pattern are several: first, we need a single shot to reconstruct the scene, thus the acquisition and computation speed are significantly increased. Moreover, the system does not require accurate gamma calibration and it does not suffer from particular scene features like non-uniform albedo or materials. The contribution is twofold: first, we propose a novel calibration solution involving the observation of a sphere with a known radius in different positions. The intersections of the parallel planes generated by the projected pattern with the spherical surface originate a series of coaxial 3D circles that are projected as ellipses on the camera image plane. Such curves can be exploited to geometrically compute the system parameters and obtain the correct pixel scale by fitting the 3D sphere. The second contribution consists in a specific case-of-study where the described sensor is employed to reconstruct the internal surface of industrial gearwheels. The overall accuracy and low cost of such approach makes it a potential substitute for the classic contact measuring for quality assessment in industrial applications. Indeed, it is particularly suitable for the inspection of smooth surfaces requiring micrometric precision.

CALIBRATION TECHNIQUE

6Considering their orthographic imaging model, telecentric lenses are particularly convenient to measure small objects. In an orthographic camera the centre of projection is located at infinity, so that rays coming from the captured object intersect the image plane orthogonally (Hartley and Zisserman, 2003). This implies that the projection on the image plane is not affected by the object's depth, and thus the size of each pixel corresponds to a certain length in the real world, making straightforward to measure distances along x and y axes. On the other hand, depth computation and 3D reconstruction are not immediate and require specialised approaches.

7Our device is sketched in Figure 1: the projector casts on the scene a fixed pattern consisting in a series of equally-spaced straight lines. Such lines generate a bundle of equispaced parallel planes P in 3D space, that are orthogonal to the projector's image plane. We define the stride ∆ as the distance between any two consecutive planes. This value is proportional to the lines distance on the projector's image plane, but it is scaled by a multiplicative unknown factor. Such scale depends on the combination of (i) the magnifying factor of the telecentric lens and (ii) the inclination of the projector's focus plane (Scheimpflug adjustment), that needs to be aligned with the camera image plane to obtain the optimal depth-of-field.

8The planes orientation with respect to the camera coordinate system and their stride are unknown, thus we identify three parameters that need to be estimated by the calibration process:

91. the normal vector n = n x n y n z T of all the parallel planes in the bundle P with respect to the camera reference frame; 2. The scale factor s between camera pixels and the real world units (i.e. pixel's size in millimetres).

10Calibration of a Telecentric Structured-light Device for Micrometric 3D Reconstruction Figure 2: Left: telecentric projector (in blue) generates a parallel sheaf of planes P intersecting a known sphere used as calibration target. Such intersections result in coaxial circles in space which (due to self-occlusions) are observed as a set of arcs by the camera. Right: each circle is projected to the image plane as the ellipse E i . The normal n can be obtained by rotating the vector z around the axis a i , but two alternative solutions (n ′ and n ′′ ) are equally valid and must be disambiguated.

113. The stride ∆.

12All the planes in the bundle are identical, and therefore is not possible to distinguish their absolute offset (or numbering) within the projector image plane. For this reason, we assume to only recognise their relative order (i.e. which one comes after another) but not their absolute index with respect to the first one, which generally depends by the depth of the observed object. So, without loss of generality, we can assume that P contains an infinite set of planes P 1 = (p 1 , n), P 2 = (p 2 , n), . . . (parameterised as a point p i and the normal vector n) such that p i = ∆ni.

13During the calibration process, a sphere with known radius r is imaged so that a subset of N planes originated from the projector are cast on the sphere's surface. The intersection of parallel planes with with the sphere generates N circles in 3D space that exhibit some particular properties: (i) they are are coaxial since all the slicing planes are parallel, (ii) their 3D centres lie on a line L in space, and (iii) L is orthogonal to the parallel sheaf of planes (i.e. line direction has the same orientation as n). Since the sphere self-occludes the projected light rays, only N arcs A 1 . . . A N of the full circles are visible on the surface. Such N 3D circle arcs are therefore imaged by the camera as portions of N 2D ellipses E 1 , ..., E N . For each ellipse E i with i = 1, ..., N, the plane bundle normal vector n can be recovered up to two equally possible configurations.

14Let C i be the i th circle generated by the intersection of the i th plane in P and the sphere. Since we are using an orthographic camera, C i projects to an ellipse E i having a i and b i as major and minor axes respectively (see Fig. 2). The length of a i is equal to the radius r of the sphere, so if we rotate the bundle of planes P around the axis a i the eccentricity of E i changes. In particular, as shown in (Bergamasco et al., 2020;Pistellato et al., 2019c), the ratio between the semi-axes is a function of the angle θ between the normal n and the camera z-axis:

15In this setting, the bundle normal n can be obtained by rotating the vector z = (0, 0, 1) T around the axis a i with two equally possible angles:

16As a consequence, each ellipse E i generates two equally possible normal vectors n ′ i and n ′′ i . Note that also −n ′ i and −n ′′ i are valid solutions but can be ignored in the disambiguation process since they represent the same plane.

17The 3D line L connecting all the circles' centres projects onto the camera image plane as the 2D line l passing through the ellipses centres. The disambiguation of the correct n exploits the geometry of l to filter out the wrong plane normals. Indeed, we recall that n is parallel to the axis L and that all normal vectors generated by the N ellipses must be oriented to the same direction. So, among all the alternatives, we keep the normal vectors whose angles formed with the axis L is minimum.

18Finally, since the ellipses centres are the orthographic projections of the 3D circles centres, the stride value can be computed from the relative distance (in pixels) between adjacent ellipses centres on the image plane. The relation between such distance and the stride value is the following:

Calibration

19• Stride • Planes Normal

Image Acquisition and Preprocessing

20Figure 3: Our proposed calibration pipeline. From left to right: (i) Stripe pattern is projected and a known calibration sphere is exposed to the camera in different positions. Thresholding, skeletonization, and filtering is applied to cluster each arc. (ii) Ellipses are robustly fitted to arc points (via RANSAC) and a selection procedure is used to extract a subset of inlier ellipses whose centers are uniformly distributed on a straight line. (iii) Plane bundle stride and normal is estimated is §2. (iv) 2D arc points are triangulated by intersecting the corresponding exiting camera rays with the recovered plane bundle. A sphere is fitted to the obtained 3D points.

21where β is the angle formed by the plane normal n and the camera z-axis, and d is the distance (in camera pixels) between two consecutive projected centres. Note that, due to the orthographic projection, this is the equivalent of computing the hypotenuse of a right-angled triangle.

22Once the stride ∆ and plane normal n are computed, points composing the 3D arcs A 1 . . . A N can be triangulated by simply intersecting the exiting camera rays passing through ellipses E 1 . . . E N with the 3D planes in P . Let e j i ∈ R 2 be the j th 2D point of the ellipse E i . Its 3D position g j i is given by:

23The obtained point cloud is then fitted to a sphere model S, obtaining a radius r S , expressed in camera pixels. Since the acquired sphere has known radius, the scale between pixels and world units is simply given by

24Finally, to obtain a robust parameter estimation the procedure is repeated for different sphere locations. The final parameters are computed by averaging the resulting values, excluding the acquisitions for which the RMS of the distance between the fitted sphere and the 3D points is above a threshold.

25Note that the relative position of the triangulated points is correct, but their absolute depth can be recovered up to an unknown multiple of the stride since the planes are not distinguishable one from the other. In other words, matching between a certain 2D point and the bundle plane from which it was originated is somehow arbitrary. This is not a showstopper for many industrial applications, especially when the goal is to recover the shape of the surface and not its position, which is often the case with quality assurance. In cases where the absolute position of the surface is also needed, it would be straightforward to set an absolute numbering for stripes, for instance by using a special marker embedded in the pattern.

Implementation Details

26The whole calibration procedure is sketched in Figure 3. We start by projecting the stripe pattern to the calibration sphere placed at different random positions in front of the camera. Stripe contour points are extracted by applying a series of image filters: first, 5 binary images are obtained by applying 5 different threshold levels to the original image. The skeletonization for each binary image is computed, as described in (Lee et al., 1994), to generate a set of 5 binarized skeleton masks. Then, the skeleton masks are summed into an accumulator in which morphological dilation is applied to join the isolated portions of each arc (ie. close small holes of the original skeleton masks). Finally, the accumulator is thresholded to extract all the connected components representing candidate ellipse arcs to be tested.

27To provide a reliable an accurate ellipse fitting, we adopted a RANSAC-based approach as described in (Halır and Flusser, 1998). We filtered all the ellipses with less than 80% inliers among the point data, considering a RANSAC inlier distance of 2 camera pixels. In this way, all the extracted arcs that are not ellipses in the image are automatically discarded.

28An additional inlier selection is then performed over the set of ellipses by fitting a line through their centres and checking their relative distance in pixels. Then, the ellipses whose centres are not uniformly distributed along the line are discarded (See. Alg.1). In Figure 3 (third image) the inlier ellipses used to

29At this point, the selected ellipses are used to compute the plane normal and the stride value as described in the previous section. In practice, every ellipse gives a independent estimation of n and ∆. We simply average all such estimations to reduce the er-ror. Then, the points belonging to the ellipses are triangulated and used to fit a 3D sphere with a standard linear least-squares approach. Finally, the pixel scale s is recovered as in (5). Figure 3 (right) shows an example of the resulting triangulated points and the corresponding fitted sphere.

EXPERIMENTAL EVALUATION

30In order to evaluate the performances and the stability of the proposed method, we designed a set of synthetic and real-world experiments. First, we tested the accuracy of the parameter estimation from a single shot, introducing some noise and varying the system configuration. Then, we exploited our setup to validate the algorithm stability in the case of real-world applications.

Synthetic Validation

31Synthetic tests give us the full control over the scene, allowing for a systematic validation of the proposed technique. We first decided to test the accuracy of the calibration method against acquisition noise, then we analysed the behaviour of the system varying the relative position between projector and camera. In our synthetic tests we simulated a configuration similar to the real setup, with a virtual orthographic camera and projector. The projector emits a set of 20 parallel planes with a fixed stride equal to 0.5 (camera px), and the camera captures a sphere with a radius equal to 3 pixels.

32In the first experiment we fixed the projector orientation to 45 degrees with respect to the camera zaxis. Then, we randomized the sphere position (simulating a real acquisition) and perturbed the projected 2D points of each ellipse with a zero-mean Gaussian noise with standard deviation σ N . Results are shown in Figure 4, where the absolute errors with respect to the ground truth are plotted. We increased the error standard deviation σ N applied to 2D points and measured (i) the angle error with respect the plane normals, (ii) the stride error, (iii) the sphere radius estimation error, and (iv) the Root Mean Square (RMS) error of the triangulated points with respect to the sphere surface.

33We repeated each test 100 times, with different sphere locations, using only one picture to calibrate the system. As expected, the errors increase linearly with the noise. In particular, for relatively small perturbations, the angle absolute error is smaller than 0.05 radians, and the sphere radius estimation error is below 0.03 pixels, that is the 2% of the actual radius.

34As a second test, we analysed the impact of the relative angle between the projector and the camera. Indeed, since the observed portions of ellipses are fundamental to devise the final system parameters, we studied such effect on our synthetic setup to design an optimal configuration for our real-world prototype. To do so, we basically repeated the previous test, this time varying the relative angle between the camera and the projector z-axes. Note that with an angle close to 0 degrees the camera observes straight lines, because the plane normals are orthogonal to its z-axis, while when the angle is 90 degrees the camera should observe circle arcs. Results of this tests are shown in Figure 5. Interestingly, the projector angle exhibits a very high impact on the plane normal estimation, with an optimal orientation equal to 45 degrees. Other measurements are slightly affected by such angle, as shown for the sphere RMS.

Real-world Results

35In our real-world tests we employed a cameraprojector pair, both equipped with telecentric lenses. The camera acquires greyscale images with a 12 MPixels resolution, and we used a line pattern with a physical stride of 0.05 mm. The devices were mounted on a solid structure with a relative angle of approximately 45 • , in a way that the plane of focus for both camera and projector are aligned to a common area of interest (see Fig. 1 and 7). The sphere used for calibration is a smooth ceramic bearing ball with a diameter of 8 mm and a declared surface tolerance of 0.7 microns.

36We evaluated the accuracy and repeatability of the calibration varying the number of sphere acquisitions. A total of 30 images were acquired, varying the position of the sphere in the camera-projector frustum. Then, we used a cross-validation approach working as follows. The set of 30 images is divided in m partitions. For m times, one partition is used for calibration and the remaining m − 1 for testing. The operation is repeated varying the number of partitions (and consequently the number of image samples used for calibration, in x-axis) and plotted in Fig.6. Each test was repeated 20 times, and the standard errors are also shown as error bars.

37We can observe that the normal estimation error between calibration and test set is in the order of 4.4 · 10 −3 radians, the stride error lower than 1.5 camera pixels and sphere radius absolute error consistently lower than 4 camera pixels for a number of calibration samples greater than 5. Moreover, the RMS of triangulated points over the fitted sphere is below 1 px for the majority of the acquired images. Considering that the computed scale (ie. the camera pixel size) s is 3.24 · 10 −3 mm/px, such error is approximately 6.5 microns.

38We also tested the 3D reconstruction accuracy by means of the RMS error between the reconstructed 3D points and the ideal sphere calibration target. Overall, it ranges from 0.3 to 1.7 pixels, corresponding to 5 microns on average.

APPLICATION: INDUSTRIAL SURFACE ANALYSIS

39In this section we present an industrial application of our setup to acquire and analyse the internal gearwheel surfaces during the final steps of their production (Fig.7). Gearwheels manufacturing is a field in which precision and repeatability is critical since the gear's teeth need to perfectly fit the shape of other similar components in a mechanical machinery.

40When illuminated by our stripe projector and acquired by the camera, the teeth surface appears as a semi-shiny material, characterised by diffused microscratches as shown in Fig. 8a.

41For this application we first apply a sequence of image filters so that the line pattern profiles are accurately extracted.

42The result of image pre-processing task is shown in Figure 8b, where each extracted curve is highlighted in yellow. For each detected curve, a spline is fitted and then adjacent curves are identified in order to enumerate each subsequent projector plane. The actual teeth reconstruction is carried out by triangulating the detected splines. This is done first by uniformly sampling a set of discrete 2D point from each curve, and then by intersecting each point with the corresponding plane of P . The procedure generates a 3D point cloud composed by the union of individual sampled curves, shown in Figure 8c.

43Then, adjacent curves are analysed to find pointto-point correspondences between them. This is performed by running the Iterative Closest Point (Besl and McKay, 1992) algorithm between two adjacent curves to find their optimal alignment. The point matches given by the last iteration of ICP are used to synthetize additional points by uniform sampling 3D points on the straight lines connecting them.

44Finally, Delaunay 2D triangulation (Chen and Bishop, 1997) is applied to join the 2D points projections on the camera image plane and obtain a dense triangulated surface. An example of the final result is shown in Fig. 8d.

CONCLUSIONS

45In this paper we proposed a micrometric calibration process for telecentric camera-projector setups, employing a fixed-striped pattern. We used a known spherical target to retrieve the geometrical characteristics of the system with a precision that can reach the order of microns. Since such targets are easy to manufacture and not expensive compared to their dimensional accuracy, the whole procedure can be carried out with a limited effort and costs. Synthetic and realworld experiments confirm both the stability of our method and its level of accuracy.

46Additionally, we described a case-study of such a system, by means of a complete pipeline for microscopic surface acquisition and reconstruction involving micrometric gearwheel surface measurements.

참고문헌 29건

  1. Numerically Stable Direct Least Squares Fitting of Ellipses 1998
  2. Shape from Single Stripe Pattern Illumination Lecture notes in computer science · Springer Science+Business Media · 2002 10.1007/3-540-45783-6_29
  3. Rapid 3D surface profile measurement of industrial parts using two-level structured light patterns Optics and Lasers in Engineering · Elsevier BV · 2011 10.1016/j.optlaseng.2011.02.010
  4. Shape verification aimed for manufacturing process control Optics and Lasers in Engineering · Elsevier BV · 2010 10.1016/j.optlaseng.2010.11.009
  5. Camera Calibration from Coplanar Circles 2014 10.1109/icpr.2014.372
  6. Coaxial projection profilometry based on speckle and fringe projection Optics Communications · Elsevier BV · 2014 10.1016/j.optcom.2014.12.030
  7. Telecentric stereo micro-vision system: Calibration method and experiments Optics and Lasers in Engineering · Elsevier BV · 2014 10.1016/j.optlaseng.2014.01.021
  8. Multiple View Geometry in Computer Vision Cambridge University Press eBooks · Cambridge University Press · 2004 10.1017/cbo9780511811685
  9. Evaluating wrinkles on laminated plastic sheets using 3D laser scanning Measurement Science and Technology · IOP Publishing · 2007 10.1088/0957-0233/18/12/007
  10. A method for registration of 3-D shapes IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1992 10.1109/34.121791
  11. Probing systems for dimensional micro- and nano-metrology Measurement Science and Technology · IOP Publishing · 2006 10.1088/0957-0233/17/3/s08
  12. Telecentric 3D profilometry based on phase-shifting fringe projection Optics Express · Optica Publishing Group · 2014 10.1364/oe.22.031826
  13. Flexible 3-D shape measurement using projector defocusing Optics Letters · Optica Publishing Group · 2009 10.1364/ol.34.003080
  14. Shape measurement with one fringe pattern recording including a digital master Applied Optics · Optica Publishing Group · 2010 10.1364/ao.49.002622
  15. Real-time 3D shape inspection system of automotive parts based on structured light pattern Optics & Laser Technology · Elsevier BV · 2010 10.1016/j.optlastec.2010.04.008
  16. Image-Space Marker Detection and Recognition Using Projective Invariants 2011 10.1109/3dimpvt.2011.55
  17. Weld pool surface depth measurement using a calibrated camera and structured light Measurement Science and Technology · IOP Publishing · 2007 10.1088/0957-0233/18/8/033
  18. Flexible calibration method for microscopic structured light system using telecentric lens Optics Express · Optica Publishing Group · 2015 10.1364/oe.23.025795
  19. Dynamic Optimal Path Selection for 3D Triangulation with Multiple Cameras Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-23231-7_42
  20. Microscopic structured light 3D profilometry: Binary defocusing technique vs. sinusoidal fringe projection Optics and Lasers in Engineering · Elsevier BV · 2016 10.1016/j.optlaseng.2016.06.009
  21. Three-dimensional shape measurement using color random binary encoding pattern projection Optical Engineering · SPIE · 2017 10.1117/1.oe.56.10.104102
  22. Calibration method for projector-camera-based telecentric fringe projection profilometry system Optics Express · Optica Publishing Group · 2017 10.1364/oe.25.031492
  23. Phase shifting algorithms for fringe projection profilometry: A review Optics and Lasers in Engineering · Elsevier BV · 2018 10.1016/j.optlaseng.2018.04.019
  24. Microscopic Three-Dimensional Measurement Based on Telecentric Stereo and Speckle Projection Methods Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18113882
  25. Adaptive Albedo Compensation for Accurate Phase-Shift Coding 2022 26th International Conference on Pattern Recognition (ICPR) · 2018 10.1109/icpr.2018.8545465
  26. Robust Cylinder Estimation in Point Clouds from Pairwise Axes Similarities 2019 10.5220/0007401706400647
  27. Robust phase unwrapping by probabilistic consensus Optics and Lasers in Engineering · Elsevier BV · 2019 10.1016/j.optlaseng.2019.05.006
  28. Cylinders extraction in non-oriented point clouds as a clustering problem Pattern Recognition · Elsevier BV · 2020 10.1016/j.patcog.2020.107443
  29. Building Skeleton Models via 3-D Medial Surface/Axis Thinning Algorithms Graphical Models and Image Processing · Academic Press · 1994 10.1006/gmip.1994.1043