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

Flexible Extrinsic Structured Light Calibration Using Circles

간접 관련 모빌리티 소재 · (3) 자동차 인테리어 소재

기본 정보

저자
  1. Robert Fischer — Visual Computing and Human-Centered Technology, TU Wien, Vienna, Austria, --- Select a Country ---
  2. Michael Hödlmoser — emotion3D GmbH, Vienna, Austria, --- Select a Country ---
  3. Margrit Gelautz — Visual Computing and Human-Centered Technology, TU Wien, Vienna, Austria, --- Select a Country ---
DOI
10.5220/0011614500003417
저널
–
발행년도
2023
발행기관
–
피인용수
1
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
http://dx.doi.org/10.5220/0011614500003417
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4323240295

평가 내용

관련도
간접 관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
–
R&D 측면
부품·응용 설계
확신도
0.70
근거 용어
automotive headlight calibration, intelligent lighting systems, structured light extrinsic calibration, stereo-camera, projector
판단 근거
본 논문은 자동차 헤드라이트(automotive headlight)와 같은 지능형 조명 시스템을 위한 구조광(structured light) 외부 파라미터 교정 기술을 다루고 있습니다. 이는 코오롱인더스트리의 자동차 인테리어 및 모빌리티 관련 부품 시스템의 정밀 제어 및 센서 통합 연구에 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
자율주행 및 스마트 모빌리티용 조명/센서 시스템의 정밀 교정 알고리즘 개발 및 차량용 광학 부품의 신뢰성 평가 기술로 활용 가능합니다.
평가 입력
섹션 본문 29,508자

초록

초록이 없습니다.

본문 29,596자

본문 펼치기
We introduce a novel structured light extrinsic calibration framework that emphasizes calibration flexibility while maintaining satisfactory accuracy.The proposed method facilitates extrinsic calibration by projecting circles into non-planar and dynamically changing scenes over multiple distances without relying on the structured light's intrinsics.Our approach relies on extracting depth information using stereo-cameras.The implementation reconstructs light-rays by detecting the center of circles and reconstructing their 3D-positions using triangulation.We evaluate our method by using synthetically rendered images under relevant lighting-and scene conditions, including detection drop-out, circle-center detection error, impact of distances and impact of different scenes.Our implementation achieves a rotational accuracy of below 1 degree and a translational accuracy of approximately 1 cm.Based on our experimental results we expect our approach to be applicable for use cases in which more flexible extrinsic structured light calibration techniques are required, such as automotive headlight calibration. INTRODUCTION The process of registering the position and orientation of a camera or projector relative to another camera is called extrinsic calibration.It is a common task in computer vision, whose main application fields cover robotics, automotive scenarios, and virtual reality.Our work focuses on the calibration of a projector in relation to a stereo-camera, also known as a dualcamera structured light system (Chen et al., 2018) (An et al., 2016) (Zhang and Yau, 2008).In general, our approach is applicable to different use cases and scenarios, such as surveillance, stage-productions or other sensor-supported smart lighting applications (Sonam and Harshit, 2019) (Gillette and McNamara, 2020).In particular, we apply our method to the calibration of headlights of cars, allowing the development of programmable automotive headlights (Tamburo et al., 2014).Such a system illuminates specific regions of interest, which could be extracted using different sensors (e.g.camera, LIDAR sensor, etc.).In order to transform such regions of interest (e.g.road signs, pedestrians, etc.) from the sensor coordinate system into the projector coordinate system, an extrinsic calibration of the projector relative to the sensor has to be available.a https://orcid.org/0000-0002-9476-0865 INTRODUCTION In general, current state-of-the-art approaches for projector extrinsic calibration are limited in terms of flexibility.In particular, they usually assume a planar projection target at a relatively close distance to the projector (Garrido-Jurado et al., 2016) (Huang et al., 2018) (Chen et al., 2016).This limits the applicability of extrinsically calibrating a projector in non-controlled environments, particularly where nonplanar projection surfaces are predominant, or environments in which the calibration must be performed over a large range of distances.Hence, the design of our structured light calibration approach is motivated by the following challenges: INTRODUCTION • Support of non-planar calibration targets: In certain situations it is necessary to calibrate a structured light system in a non-controlled environment, where the availability of a regular planar calibration target cannot be assumed. INTRODUCTION • Support of dynamically changing scenes: Similarly, non-controlled environments may change during calibration. INTRODUCTION • Independent of structured light intrinsics: In general, in order to estimate the extrinsics of a structured light, homography-based approaches rely on the intrinsics of the structured light (Zhang, 2000).Our approach does not require the intrinsics of the structured light device to be known.Our method projects circles sequentially onto various non-planar projection surfaces within a scene, which are located at different relative distances from the camera center.The circles are detected in both the left and the right images of the stereo camera and the 3D positions of the circles are triangulated.By identifying multiple such circles and their centers in 3D, projection rays going through the centers can be defined and the extrinsics between the stereo camera and the projector can be calculated using the intersection of all these rays.Our approach works with a wide range of different projection surfaces.The only prerequisite is that circles can be detected.Hence, the calibration can be done automatically, which allows re-calibration during operation (e.g. because of misalignment over time due to vibrations, etc.).In contrast to the extrinsics, the intrinsics of a structured light system are static and usually require less frequent re-calibration.Figure 1 shows a schematic overview of the projector and camera setup we use for our approach.It consists of two time-synchronized cameras with known camera parameters (both intrinsic and extrinsic parameters) and a projector capable of projecting a monochrome circle pattern into the scene.Our method provides a calibration accuracy sufficient for intelligent lighting systems (Tamburo et al., 2014) or applications with similar precision, such as smart lighting installations (Sonam and Harshit, 2019) and stage-productions (Gillette and McNamara, 2020).More precisely, we aim for a translational error in the range of 1 cm (or less) and a rotational error of not more than 1 degree.Contrary to alternative solutions, our method projects a simple circular calibration pattern into a variety of possible scenes, allowing calibration over a wide range of distances and also with different projector types. RELATED WORK Most previous methods for calibration of a stereocamera structured light system involve the projection of more complex patterns (often fringe patterns) into the scene, while also expecting a controlled environment (Zhang and Yau, 2008) (Chen et al., 2016).(Chen et al., 2018) propose to simplify structured light calibration by reducing the amount of projected images.(Garrido-Jurado et al., 2016) generalize to simultaneously reconstruct and calibrate structured light systems.Some methods focus on calibration with a single camera (Huang et al., 2018) (Shahpaski et al., 2017).Other structured light extrinsic calibration approaches are based on the homographic extrinsic calibration approach proposed by (Zhang, 2000).One problem associated with projecting relatively complicated patterns into the scene is that calibration becomes challenging over larger distances or in non-controlled environments (An et al., 2016), as in these cases the higher frequency details (such as lines and gradients) are challenging to detect.Multi-Camera Structured Light Systems: In order to estimate the calibration of a structured light system, (Chen et al., 2018) propose to project fringe images into the scene and apply a variant iterative closest point algorithm.Earlier work of (Chen et al., 2016) also applies circles for calibration, they use (Zhang, 2000) for the intrinsic calibration of the projector.(Zhang and Yau, 2008) propose to use absolute phase-assisted three-dimensional data for registration of a dual-camera structured light system.Their approach also requires the projection of rather complicated fringe images into the scene.Similarly, (Garrido-Jurado et al., 2016) also project a relatively complicated image pattern into the scene.Single-Camera Structured Light Systems: There are also various works on single camera structured light system calibration.Notably, (Huang et al., 2018) propose a single-shot-per-pose approach which handles imperfect planar targets, again, assuming a planar target and also projecting a more complicated pattern into the scene.(Shahpaski et al., 2017) perform a radiometric and a geometric calibration simultaneously, again relying on projecting a relatively complex calibration pattern into the scene, while also assuming a planar projection target.(An et al., 2016) propose a method for long-range structured light system calibration.However, their approach projects a relatively complex calibration pattern into the scene and assumes a planar projection target.Thus, their approach is not applicable to the distances and scenes our approach is able to operate in. METHOD In the following subsections, we discuss the structured light calibration method in more detail.In Subsection 3.1 we provide the requirements regarding the hardware set-up of our proposed method.In Subsection 3.2 we explain the algorithm of our method both in form of a textual description and pseudo-code. Hardware Set-Up Our calibration technique estimates both the rotation and translation of a projector relative to the coordinate system defined by the stereo camera.Our method is comprised of two main hardware components: (1) A stereo camera with two time-synchronized cameras and known camera parameters (both intrinsics and extrinsics) and (2) a projector.Instead of using stereo cameras, other camera systems (e.g.: RGB-D) can also be used, as long as a depth estimation for selected pixels of the projected pattern can be computed.The projector must be capable of projecting individual circles into the scene (Figure 2).In order to perform the extrinsic calibration of the projector, the circles of the calibration pattern must be detectable using visual cues.Refer to Section 4 for a more detailed evaluation of the associated constraints of our approach. Algorithm In the following, we describe the algorithm for estimating the projector's extrinsics.Algorithm 1 shows the corresponding pseudo-code. Algorithm Step 1: The projector sequentially projects the circles from the calibration pattern into the scene (Figure 2). Algorithm The circles are relatively easy to project using digital light processing (DLP) (Packer et al., 2001).Even a sequence of simple circular stencils in front of the light source could be sufficient.Refer to Figure 1 for a schematic overview of the setup. Algorithm Step 2: Then, the stereo camera captures a frame of the projected circle in the scene.Ideally, the projection of the circle is fully visible in both cameras, as this simplifies the circle center detection of step 3. Figure 3 shows a typical example of a captured stereo image.In practice, there will typically be some occlusions present (e.g.: occlusion with the floor), which may hinder the reliable detection of the calibration circles.Surfaces with high reflectivity (mirrors) or very diffuse projection surfaces might make reliable circle detection more challenging as well. Algorithm Step 3: Our algorithm detects the circles in both stereo camera views using the expected calibration pattern template and assigns a correspondence between the template and the detected pattern.To ease correspondence detection and avoid mismatching circle projections, we project a single circle at a time.For simpler scenes, the circles can be detected using Hough transformations, while for more complicated scenes a Convolutional Neural Network (Redmon et al., 2016) might be more appropriate.To avoid the necessity of finding correspondences for multiple detected circles, we project exactly one circle per frame into the scene. Algorithm Step 4: Triangulation of the center positions of the detected circles from the stereo images results in a 3D position representing the circle's center position relative to the stereo camera.For RGB-D camera setups, this triangulation step can be skipped, as the Z component of the point is already known. Algorithm Step 5: Repeat steps 1 -4 for several relative distances.We measure the relative distance from the projector's lens to the projection target in a straight line.Principally, the more of these relative distances per calibration circle are captured, the more accurate the estimation of the extrinsics will be.In the next step, we use the extracted 3D points to construct rays, hence at least two points per calibration circle (Figure 2) are required to construct a ray.In general, the combination of different calibration distances increases the accuracy of the extrinsic calibration results.The decrease in accuracy with fewer calibration distances can be attributed mainly to the inherent inaccuracy of the 3D triangulation of the circle center points of the projected calibration pattern.In Section 4.6 we evaluate the impact of different distance configurations and in Section 4.7 we evaluate the impact of different target projection surfaces.Figure 4: Visualization of the ray intersections using the triangulated 3D points.The projector is placed with increasing distance to the projection surface.The green points have a distance of roughly 5m, the blue points 8m and the cyan points 13m relative to the projector.Figure 2 shows the visible parts of the corresponding calibration pattern applied for this calibration. Algorithm Step 6: For all corresponding points of different distances to the projection surface of the calibration pattern template, rays are constructed.In practice, the points will most likely not be located on a single ray (mainly due to the previously mentioned inaccuracy when detecting the circles).Hence, we fit a line that minimizes the least-square Euclidean distances to the 3D points (Megiddo and Tamir, 1983).Refer to Figure 4 a visualization of the ray intersections. Algorithm Step 7: Calculate intersections of the previously constructed rays, resulting in the 3D position of the projector relative to the stereo camera.In practice, those rays will most likely not intersect in a single point, therefore we take the point which has the closest accumulated distance to all rays (Megiddo and Tamir, 1983). Algorithm Step 8: The calibration pattern (Figure 2) has been constructed in such a way that we can extract the forward direction and the up direction of the projector.The circle in the center indicates the forward direction of the projector.Similarly, we placed a circle which represents the up direction of the projector directly above the center.Refer to Figure 5 for an illustration.We calculate the cross-product of the forward and up vector to obtain the orthogonal side vector.Combining the directional vectors (up, forward and side) forms the basis of the rotation matrix (Smith, 1983).In order to increase the robustness and accuracy of the rotation estimation, the same calculations for the remaining rays may be performed. EXPERIMENTS In this section, we present several experiments and evaluate our method under a variety of different modalities by using a 3D simulator.Refer to Section 4.2 for more details on the generation of the simulated data.We place a projector in front of a wall or other more complicated calibration objects.For calibration, we place a stereo-camera near the projector.Our approach assumes the intrinsics and extrinsics of the stereo-camera to be known.Figure 1 shows a schematic overview of the calibration setup.We do not assume specific cameras, sensors or structured light projectors.Instead, we perform all our calibration experiments from the assumption that a certain set of projected circles can be reconstructed with a set circle-center detection accuracy in different modalities.In essence, our evaluation method answers the following question: If it is possible to detect X% of circle-centers with Y% positional accuracy, can our method be expected to produce an extrinsic calibration within Z% error?An advantage of this evaluation methodology is that it gives insights into the calibration procedure, while not being limited to certain hardware setups.The baseline setup consists of a calibration pattern with nine circles arranged as shown in Figure 2.For the baseline approach, we assume that all circles which are visible are recognized by the camera system.As this assumption may not always hold, we additionally consider a random drop-out.Similarly, we assume that the 3D point triangulation is accurate, but we also perform several experiments where we simulate a 3D reconstruction error by introducing synthetic noise to the 2D circle-center detections.We perform the calibration using 2m, 5m, 8m, 12m, 17m, 23m and 26m distances, while also evaluating the impact of using subsets of these distances as well.For the baseline calibration, we project the circle pattern onto a wall, but we also perform experiments with other calibration targets.In order to increase reproducibility and limit the impact of stochastic influences, we repeat each experiment 100 times and report the mean error metrics. Evaluation Metrics Current state-of-the-art structured light calibration methods typically use reprojection errors for evaluation (Garrido-Jurado et al., 2016) (Huang et al., 2018).Our method only focuses on estimating the extrinsics of a structured light projector, while for calculating the reprojection error the intrinsics are also required.Hence, we cannot use the reprojection error for evaluation.Instead, we evaluate the performance using the translational error and the rotational error.The translational error is the Euclidean distance between the ground truth position p gt of the projector and the estimated position p est of the projector.For the rotational error, we use the angular difference between two rotations (Huynh, 2009).We define the ground truth rotation as R gt , the estimated rotation as R est , tr(R) as the trace of a rotation matrix R and define err(R gt , R est ) as described in Equation 1 (Huynh, 2009) (Huynh, 2009).We define a rotational error of below 1 degree and a translational error of approximately 1 cm as acceptable for the usefulness of our method.In our test set-up, a rotational error of 1 degree corresponds to a Euclidean projection error of approximately 3 pixels.A translational error of 1 cm corresponds to a Euclidean projection error of below 1 pixel for all points within a distance from approx.2m to Infinity.In general, the specific criteria for error thresholds are highly dependent on the actual use case. Simulator We use a 3D simulator to evaluate our calibration method.This approach allows us to differentiate and isolate various parameters that might influence the calibration performance.The simulator is implemented in Unity3D (Uni, ) and uses state-of-the-art physically based rendering for synthesizing the 2D images (Pharr et al., 2016).Figure 3 shows a stereo image from our simulation environment.In particular, it shows how the non-planarity of the surfaces affects the projection of the circles into the scene.Performing similar evaluations using real hardware would be challenging, especially when trying to separate and reproduce different potential influences independently.Potential error sources we examine include variations in 2D circle-center detection error, projection drop-out, projection distance and 3D environment. Baseline Experiment For the baseline experiment, we performed the structured light extrinsic calibration in front of a white wall without applying additional synthetic noise to any of the inputs.Figure 6 depicts a projection of a circle on a white wall for this experiment.We included all available distances (2m, 5m, 8m, 12m, 17m, 23m, 26m) for the extrinsic estimation.The results for the baseline experiment are a translational error of 0.36 cm and a 0.35 degrees of rotational error.In our test set-up, this corresponds to a projection error of slightly above 1 px for a target 50 meters in front of the projector. Impact of 2D Circle-Center Detection Error In practice, we expect some inaccuracies in the circle center detection to occur.In existing literature, the impact of different calibration estimation parameters and their correlation with the estimation accuracy of stereo camera calibration is well studied.(Liu et al., 2006) analyze geometric camera parameters for stereo camera setups.(Guo et al., 2006) research structural parameter optimization for stereo vision.(Xu et al., 2013) investigate error analysis of calibration parameters of stereo vision systems.In this experiment we try to quantify how the accuracy of the 2D circle center detection approach impacts the accuracy of our calibration method.Such errors may happen due to different factors, such as different conditions related to surface reflectivity, surface texture or lighting conditions.Hence, in order to simulate these factors, we apply a normally distributed noise to the 2D position of the detected circle center positions with increasing standard deviation on the x-, y-and xy-axes.The normal distribution is set to a mean of 0 and a standard deviation corresponding to the assumed pixel error for the circle-centers.False detection of circles can be interpreted as a case of 2D circle-center detection error with potentially large deviation.In Figure 7, we see that increasing the circle detection error has a relatively strong impact on the overall calibration accuracy.We observe that applying the synthetic noise on the y-axis alone has a relatively minor impact on the rotational error.In contrast, applying an error along the x-axis has a stronger impact.Regarding the translational error, we observe steeper curves in all cases.We observe again that the y-axis has a lower impact on the translational error than the x-axis.We believe that this phenomenon is due to the fact that the structured light is placed to the side of the camera setup along the x-axis, hence the yaxis is similar for both the cameras and the structured light.In summary, a standard deviation of 1 pixel for the circle centers still yields calibration outputs of approximately 1 cm translational error and 1 degree of rotational error.Based on assumptions outlined in Subsection 4.1, we deem such accuracy as acceptable. Impact of Synthetic Detection Drop-Out In practice, we cannot expect that all circles of the calibration pattern will be always visible.Oftentimes, there will be surfaces that do not reflect the pattern well (e.g.: mirrors, highly diffuse surfaces, etc).Hence, we simulate these phenomena by introducing a uniformly distributed random dropout of the triangulated 3D points.Our experiments in Section 4.7 capture a drop-out expected to be present in real-world scenarios.In this experiment, we increase the dropout from 0% to 80% with an increment of 10%.In Table 1, we see that up until a dropout of 30% the calibration remains near 1 cm in translational error and 0.5 degrees rotational error, which we deem as acceptable calibration accuracy.With higher dropout, the error increases steadily, until at 70% the rotational error spikes to 10 degrees, suggesting that the reconstructed rays are inaccurate or missing.Investigation of the calibration data reveals that the algorithm is only able to reconstruct a single ray.In order to construct a ray, at least two 3D points are required, but for the simulated drop-out of 70% and more, only one potential ray had enough points associated with it. Impact of Distances Our approach for estimating the relative orientation and translation of a projector with respect to a stereo camera relies on triangulating points from different distances in order to perform ray intersection.This experiment evaluates how much the range of distances of the triangulated 3D points impacts the calibration accuracy.We perform several calibrations with different subsets of selected distances and compare them with the baseline approach (2m, 5m, 8m, , 17m, 23m, 26m).Table 2 shows that using circles from near distances leads to a better calibration accuracy (IDs 1 -4) than using only circles from farther distances (IDs 5 -9).We obtain the best results by using the distances 2m and 5m (ID 2), namely a translational error of 0.14 cm and a rotational error of 0.42 degrees.We suspect this is caused by the 3D triangulation becoming more sensitive to detection inaccuracies the farther away the point is located, relative to the stereo cameras.The impact of 3D triangulation error is discussed in greater detail in binocu- (Guo et al., 2006) (Xu et al., 2013).In Table 2, we see that the proposed structured light extrinsic calibration method estimates with satisfactory accuracy from 2m to 26m (ID 1, 3) with a translational error of 0.36 cm and 0.35 degrees.Similar results are obtained from distances up to 8m, with up to 0.23 cm translational-and 0.42 degrees rotational error, respectively.In summary, we find that our approach is applicable for a wide range of distances, especially when we compare it to current state-of-the-art approaches (Chen et al., 2018) (Huang et al., 2018). Impact of Different Scenes In this experiment, we analyze the impact of different target scenes.Our method is intended to be used in non-controlled environments.Hence, we perform the calibration using our simulator described in Section 4.2.We created multiple scenes: A scene containing a white wall, a scene containing several geometric shapes (cylinders with different surfaces) and a scene consisting of a simulation of parked cars.Refer to Figure 8 for images of the geometric shapes scene and the car parking scene.The geometric shape scene consists of multiple procedurally placed cylinders of varying scale, position and rotation.We also vary the surface of the cylinders using different albedo-color and reflectivity values.The car parking scene consists of five 3D-models of a car placed side-by-side.Using the synthetically rendered images, we perform an extrinsic structured light calibration and summarize our findings in Table 3.It shows that the rotational error is relatively stable across different scenes, suggesting that our method generalizes well for different scenes.For all selected scenes, the translational error and rotational error satisfy our accuracy constraints of approximately 1 cm translational error and 1 degree rotational error.Hence, our calibration method yields satisfactory results for synthetically rendered scenes, which may generalize to real-world applications as well. CONCLUSION AND FUTURE WORK We have demonstrated the feasibility of a flexible extrinsic structured light calibration approach.Our calibration setup consists of two time-synchronized cameras with known camera parameters (both intrinsics and extrinsics) and a projector capable of projecting a monochrome circle pattern into the scene. CONCLUSION AND FUTURE WORK Our method sequentially projects a known circle pattern from different relative distances into the scene and then triangulates the 3D positions of the detected circles.After defining rays through the triangulated 3D points, the extrinsics of the projector are determined by calculating the intersection of these rays. CONCLUSION AND FUTURE WORK Our extensive evaluation shows that our approach works with different projection surfaces and is relatively stable towards different potentially negative influences related to drop-out, circle detection, calibration distances, etc.. Our implementation achieves a rotational accuracy of below 1 degree and translational accuracy of approximately 1 cm.Our method provides a calibration accuracy sufficient for intelligent vehicle lighting systems (Tamburo et al., 2014) or applications with requirements for similar precision, such as smart lighting installations (Sonam and Harshit, 2019) and stage-productions (Gillette and McNamara, 2020).Contrary to alternative solutions, our method does not rely on finding a homography between the projected calibration pattern, thus allowing the flexible extrinsic calibration of a structured light projector on calibration surfaces that do not need to be planar. CONCLUSION AND FUTURE WORK In the future, our approach could be generalized to additionally estimate the intrinsics of a structured light projector, as well as intrinsically and extrinsically calibrating the stereo-cameras themselves. FischerFigure 1 : Figure1: Schematic overview of the calibration setup for a single ray.Note that our approach supports non-planar target projection surfaces, as long as the circle detector can detect the centers of the circles reliably. Figure 2 : Figure 2: Sample pattern used for calibration, from which one circle per calibration step is projected.Circles I and II are used to estimate the projector's rotation. Figure 3 : Figure 3: Stereo images (left and right camera) from the car parking scene.Depicts how non-planarity affects the projection of circles into the scene.Resulting calibration evaluated in Section 4.7. Figure 5 : Figure 5: Illustration of rotation estimation.Cone represents projector.(A) Red arrow represents forward direction estimated using circle I in the middle of the calibration pattern.(B) Blue arrow represents up direction estimated using top-middle circle II.(C) Green arrow represents calculated up-vector obtained by projecting vector A on vector B. Figure 6 : Figure 6: Baseline evaluation setup showing the projection of the calibration pattern for the baseline experiment. Figure 7 : Figure 7: Impact of circle center detection error.The detected circle centers are varied by a normally distributed error with a standard deviation denoted on the x-axis.y-axis denotes the rotational error (left) and translational error (right). Figure 8 : Figure 8: Simulated Geometric Shapes (left) and Parked Cars (right) test scenes. Table 1 : Calibration accuracy due to random drop-out, with column Drop-Out indicating the drop-out percentage. Table 2 : Calibration accuracy across different distances relative to the structured light projector and the target calibration object.Row with ID 1 contains the baseline results. Table 3 : Calibration accuracy across different scenes.

섹션 본문 41문단 · 28,942자

(제목 없음)

1We introduce a novel structured light extrinsic calibration framework that emphasizes calibration flexibility while maintaining satisfactory accuracy.The proposed method facilitates extrinsic calibration by projecting circles into non-planar and dynamically changing scenes over multiple distances without relying on the structured light's intrinsics.Our approach relies on extracting depth information using stereo-cameras.The implementation reconstructs light-rays by detecting the center of circles and reconstructing their 3D-positions using triangulation.We evaluate our method by using synthetically rendered images under relevant lighting-and scene conditions, including detection drop-out, circle-center detection error, impact of distances and impact of different scenes.Our implementation achieves a rotational accuracy of below 1 degree and a translational accuracy of approximately 1 cm.Based on our experimental results we expect our approach to be applicable for use cases in which more flexible extrinsic structured light calibration techniques are required, such as automotive headlight calibration.

INTRODUCTION

2The process of registering the position and orientation of a camera or projector relative to another camera is called extrinsic calibration.It is a common task in computer vision, whose main application fields cover robotics, automotive scenarios, and virtual reality.Our work focuses on the calibration of a projector in relation to a stereo-camera, also known as a dualcamera structured light system (Chen et al., 2018) (An et al., 2016) (Zhang and Yau, 2008).In general, our approach is applicable to different use cases and scenarios, such as surveillance, stage-productions or other sensor-supported smart lighting applications (Sonam and Harshit, 2019) (Gillette and McNamara, 2020).In particular, we apply our method to the calibration of headlights of cars, allowing the development of programmable automotive headlights (Tamburo et al., 2014).Such a system illuminates specific regions of interest, which could be extracted using different sensors (e.g.camera, LIDAR sensor, etc.).In order to transform such regions of interest (e.g.road signs, pedestrians, etc.) from the sensor coordinate system into the projector coordinate system, an extrinsic calibration of the projector relative to the sensor has to be available.a https://orcid.org/0000-0002-9476-0865

3In general, current state-of-the-art approaches for projector extrinsic calibration are limited in terms of flexibility.In particular, they usually assume a planar projection target at a relatively close distance to the projector (Garrido-Jurado et al., 2016) (Huang et al., 2018) (Chen et al., 2016).This limits the applicability of extrinsically calibrating a projector in non-controlled environments, particularly where nonplanar projection surfaces are predominant, or environments in which the calibration must be performed over a large range of distances.Hence, the design of our structured light calibration approach is motivated by the following challenges:

4• Support of non-planar calibration targets: In certain situations it is necessary to calibrate a structured light system in a non-controlled environment, where the availability of a regular planar calibration target cannot be assumed.

5• Support of dynamically changing scenes: Similarly, non-controlled environments may change during calibration.

6• Independent of structured light intrinsics: In general, in order to estimate the extrinsics of a structured light, homography-based approaches rely on the intrinsics of the structured light (Zhang, 2000).Our approach does not require the intrinsics of the structured light device to be known.Our method projects circles sequentially onto various non-planar projection surfaces within a scene, which are located at different relative distances from the camera center.The circles are detected in both the left and the right images of the stereo camera and the 3D positions of the circles are triangulated.By identifying multiple such circles and their centers in 3D, projection rays going through the centers can be defined and the extrinsics between the stereo camera and the projector can be calculated using the intersection of all these rays.Our approach works with a wide range of different projection surfaces.The only prerequisite is that circles can be detected.Hence, the calibration can be done automatically, which allows re-calibration during operation (e.g. because of misalignment over time due to vibrations, etc.).In contrast to the extrinsics, the intrinsics of a structured light system are static and usually require less frequent re-calibration.Figure 1 shows a schematic overview of the projector and camera setup we use for our approach.It consists of two time-synchronized cameras with known camera parameters (both intrinsic and extrinsic parameters) and a projector capable of projecting a monochrome circle pattern into the scene.Our method provides a calibration accuracy sufficient for intelligent lighting systems (Tamburo et al., 2014) or applications with similar precision, such as smart lighting installations (Sonam and Harshit, 2019) and stage-productions (Gillette and McNamara, 2020).More precisely, we aim for a translational error in the range of 1 cm (or less) and a rotational error of not more than 1 degree.Contrary to alternative solutions, our method projects a simple circular calibration pattern into a variety of possible scenes, allowing calibration over a wide range of distances and also with different projector types.

RELATED WORK

7Most previous methods for calibration of a stereocamera structured light system involve the projection of more complex patterns (often fringe patterns) into the scene, while also expecting a controlled environment (Zhang and Yau, 2008) (Chen et al., 2016).(Chen et al., 2018) propose to simplify structured light calibration by reducing the amount of projected images.(Garrido-Jurado et al., 2016) generalize to simultaneously reconstruct and calibrate structured light systems.Some methods focus on calibration with a single camera (Huang et al., 2018) (Shahpaski et al., 2017).Other structured light extrinsic calibration approaches are based on the homographic extrinsic calibration approach proposed by (Zhang, 2000).One problem associated with projecting relatively complicated patterns into the scene is that calibration becomes challenging over larger distances or in non-controlled environments (An et al., 2016), as in these cases the higher frequency details (such as lines and gradients) are challenging to detect.Multi-Camera Structured Light Systems: In order to estimate the calibration of a structured light system, (Chen et al., 2018) propose to project fringe images into the scene and apply a variant iterative closest point algorithm.Earlier work of (Chen et al., 2016) also applies circles for calibration, they use (Zhang, 2000) for the intrinsic calibration of the projector.(Zhang and Yau, 2008) propose to use absolute phase-assisted three-dimensional data for registration of a dual-camera structured light system.Their approach also requires the projection of rather complicated fringe images into the scene.Similarly, (Garrido-Jurado et al., 2016) also project a relatively complicated image pattern into the scene.Single-Camera Structured Light Systems: There are also various works on single camera structured light system calibration.Notably, (Huang et al., 2018) propose a single-shot-per-pose approach which handles imperfect planar targets, again, assuming a planar target and also projecting a more complicated pattern into the scene.(Shahpaski et al., 2017) perform a radiometric and a geometric calibration simultaneously, again relying on projecting a relatively complex calibration pattern into the scene, while also assuming a planar projection target.(An et al., 2016) propose a method for long-range structured light system calibration.However, their approach projects a relatively complex calibration pattern into the scene and assumes a planar projection target.Thus, their approach is not applicable to the distances and scenes our approach is able to operate in.

METHOD

8In the following subsections, we discuss the structured light calibration method in more detail.In Subsection 3.1 we provide the requirements regarding the hardware set-up of our proposed method.In Subsection 3.2 we explain the algorithm of our method both in form of a textual description and pseudo-code.

Hardware Set-Up

9Our calibration technique estimates both the rotation and translation of a projector relative to the coordinate system defined by the stereo camera.Our method is comprised of two main hardware components: (1) A stereo camera with two time-synchronized cameras and known camera parameters (both intrinsics and extrinsics) and (2) a projector.Instead of using stereo cameras, other camera systems (e.g.: RGB-D) can also be used, as long as a depth estimation for selected pixels of the projected pattern can be computed.The projector must be capable of projecting individual circles into the scene (Figure 2).In order to perform the extrinsic calibration of the projector, the circles of the calibration pattern must be detectable using visual cues.Refer to Section 4 for a more detailed evaluation of the associated constraints of our approach.

Algorithm

10In the following, we describe the algorithm for estimating the projector's extrinsics.Algorithm 1 shows the corresponding pseudo-code.

11Step 1: The projector sequentially projects the circles from the calibration pattern into the scene (Figure 2).

12The circles are relatively easy to project using digital light processing (DLP) (Packer et al., 2001).Even a sequence of simple circular stencils in front of the light source could be sufficient.Refer to Figure 1 for a schematic overview of the setup.

13Step 2: Then, the stereo camera captures a frame of the projected circle in the scene.Ideally, the projection of the circle is fully visible in both cameras, as this simplifies the circle center detection of step 3. Figure 3 shows a typical example of a captured stereo image.In practice, there will typically be some occlusions present (e.g.: occlusion with the floor), which may hinder the reliable detection of the calibration circles.Surfaces with high reflectivity (mirrors) or very diffuse projection surfaces might make reliable circle detection more challenging as well.

14Step 3: Our algorithm detects the circles in both stereo camera views using the expected calibration pattern template and assigns a correspondence between the template and the detected pattern.To ease correspondence detection and avoid mismatching circle projections, we project a single circle at a time.For simpler scenes, the circles can be detected using Hough transformations, while for more complicated scenes a Convolutional Neural Network (Redmon et al., 2016) might be more appropriate.To avoid the necessity of finding correspondences for multiple detected circles, we project exactly one circle per frame into the scene.

15Step 4: Triangulation of the center positions of the detected circles from the stereo images results in a 3D position representing the circle's center position relative to the stereo camera.For RGB-D camera setups, this triangulation step can be skipped, as the Z component of the point is already known.

16Step 5: Repeat steps 1 -4 for several relative distances.We measure the relative distance from the projector's lens to the projection target in a straight line.Principally, the more of these relative distances per calibration circle are captured, the more accurate the estimation of the extrinsics will be.In the next step, we use the extracted 3D points to construct rays, hence at least two points per calibration circle (Figure 2) are required to construct a ray.In general, the combination of different calibration distances increases the accuracy of the extrinsic calibration results.The decrease in accuracy with fewer calibration distances can be attributed mainly to the inherent inaccuracy of the 3D triangulation of the circle center points of the projected calibration pattern.In Section 4.6 we evaluate the impact of different distance configurations and in Section 4.7 we evaluate the impact of different target projection surfaces.Figure 4: Visualization of the ray intersections using the triangulated 3D points.The projector is placed with increasing distance to the projection surface.The green points have a distance of roughly 5m, the blue points 8m and the cyan points 13m relative to the projector.Figure 2 shows the visible parts of the corresponding calibration pattern applied for this calibration.

17Step 6: For all corresponding points of different distances to the projection surface of the calibration pattern template, rays are constructed.In practice, the points will most likely not be located on a single ray (mainly due to the previously mentioned inaccuracy when detecting the circles).Hence, we fit a line that minimizes the least-square Euclidean distances to the 3D points (Megiddo and Tamir, 1983).Refer to Figure 4 a visualization of the ray intersections.

18Step 7: Calculate intersections of the previously constructed rays, resulting in the 3D position of the projector relative to the stereo camera.In practice, those rays will most likely not intersect in a single point, therefore we take the point which has the closest accumulated distance to all rays (Megiddo and Tamir, 1983).

19Step 8: The calibration pattern (Figure 2) has been constructed in such a way that we can extract the forward direction and the up direction of the projector.The circle in the center indicates the forward direction of the projector.Similarly, we placed a circle which represents the up direction of the projector directly above the center.Refer to Figure 5 for an illustration.We calculate the cross-product of the forward and up vector to obtain the orthogonal side vector.Combining the directional vectors (up, forward and side) forms the basis of the rotation matrix (Smith, 1983).In order to increase the robustness and accuracy of the rotation estimation, the same calculations for the remaining rays may be performed.

EXPERIMENTS

20In this section, we present several experiments and evaluate our method under a variety of different modalities by using a 3D simulator.Refer to Section 4.2 for more details on the generation of the simulated data.We place a projector in front of a wall or other more complicated calibration objects.For calibration, we place a stereo-camera near the projector.Our approach assumes the intrinsics and extrinsics of the stereo-camera to be known.Figure 1 shows a schematic overview of the calibration setup.We do not assume specific cameras, sensors or structured light projectors.Instead, we perform all our calibration experiments from the assumption that a certain set of projected circles can be reconstructed with a set circle-center detection accuracy in different modalities.In essence, our evaluation method answers the following question: If it is possible to detect X% of circle-centers with Y% positional accuracy, can our method be expected to produce an extrinsic calibration within Z% error?An advantage of this evaluation methodology is that it gives insights into the calibration procedure, while not being limited to certain hardware setups.The baseline setup consists of a calibration pattern with nine circles arranged as shown in Figure 2.For the baseline approach, we assume that all circles which are visible are recognized by the camera system.As this assumption may not always hold, we additionally consider a random drop-out.Similarly, we assume that the 3D point triangulation is accurate, but we also perform several experiments where we simulate a 3D reconstruction error by introducing synthetic noise to the 2D circle-center detections.We perform the calibration using 2m, 5m, 8m, 12m, 17m, 23m and 26m distances, while also evaluating the impact of using subsets of these distances as well.For the baseline calibration, we project the circle pattern onto a wall, but we also perform experiments with other calibration targets.In order to increase reproducibility and limit the impact of stochastic influences, we repeat each experiment 100 times and report the mean error metrics.

Evaluation Metrics

21Current state-of-the-art structured light calibration methods typically use reprojection errors for evaluation (Garrido-Jurado et al., 2016) (Huang et al., 2018).Our method only focuses on estimating the extrinsics of a structured light projector, while for calculating the reprojection error the intrinsics are also required.Hence, we cannot use the reprojection error for evaluation.Instead, we evaluate the performance using the translational error and the rotational error.The translational error is the Euclidean distance between the ground truth position p gt of the projector and the estimated position p est of the projector.For the rotational error, we use the angular difference between two rotations (Huynh, 2009).We define the ground truth rotation as R gt , the estimated rotation as R est , tr(R) as the trace of a rotation matrix R and define err(R gt , R est ) as described in Equation 1 (Huynh, 2009) (Huynh, 2009).We define a rotational error of below 1 degree and a translational error of approximately 1 cm as acceptable for the usefulness of our method.In our test set-up, a rotational error of 1 degree corresponds to a Euclidean projection error of approximately 3 pixels.A translational error of 1 cm corresponds to a Euclidean projection error of below 1 pixel for all points within a distance from approx.2m to Infinity.In general, the specific criteria for error thresholds are highly dependent on the actual use case.

Simulator

22We use a 3D simulator to evaluate our calibration method.This approach allows us to differentiate and isolate various parameters that might influence the calibration performance.The simulator is implemented in Unity3D (Uni, ) and uses state-of-the-art physically based rendering for synthesizing the 2D images (Pharr et al., 2016).Figure 3 shows a stereo image from our simulation environment.In particular, it shows how the non-planarity of the surfaces affects the projection of the circles into the scene.Performing similar evaluations using real hardware would be challenging, especially when trying to separate and reproduce different potential influences independently.Potential error sources we examine include variations in 2D circle-center detection error, projection drop-out, projection distance and 3D environment.

Baseline Experiment

23For the baseline experiment, we performed the structured light extrinsic calibration in front of a white wall without applying additional synthetic noise to any of the inputs.Figure 6 depicts a projection of a circle on a white wall for this experiment.We included all available distances (2m, 5m, 8m, 12m, 17m, 23m, 26m) for the extrinsic estimation.The results for the baseline experiment are a translational error of 0.36 cm and a 0.35 degrees of rotational error.In our test set-up, this corresponds to a projection error of slightly above 1 px for a target 50 meters in front of the projector.

Impact of 2D Circle-Center Detection Error

24In practice, we expect some inaccuracies in the circle center detection to occur.In existing literature, the impact of different calibration estimation parameters and their correlation with the estimation accuracy of stereo camera calibration is well studied.(Liu et al., 2006) analyze geometric camera parameters for stereo camera setups.(Guo et al., 2006) research structural parameter optimization for stereo vision.(Xu et al., 2013) investigate error analysis of calibration parameters of stereo vision systems.In this experiment we try to quantify how the accuracy of the 2D circle center detection approach impacts the accuracy of our calibration method.Such errors may happen due to different factors, such as different conditions related to surface reflectivity, surface texture or lighting conditions.Hence, in order to simulate these factors, we apply a normally distributed noise to the 2D position of the detected circle center positions with increasing standard deviation on the x-, y-and xy-axes.The normal distribution is set to a mean of 0 and a standard deviation corresponding to the assumed pixel error for the circle-centers.False detection of circles can be interpreted as a case of 2D circle-center detection error with potentially large deviation.In Figure 7, we see that increasing the circle detection error has a relatively strong impact on the overall calibration accuracy.We observe that applying the synthetic noise on the y-axis alone has a relatively minor impact on the rotational error.In contrast, applying an error along the x-axis has a stronger impact.Regarding the translational error, we observe steeper curves in all cases.We observe again that the y-axis has a lower impact on the translational error than the x-axis.We believe that this phenomenon is due to the fact that the structured light is placed to the side of the camera setup along the x-axis, hence the yaxis is similar for both the cameras and the structured light.In summary, a standard deviation of 1 pixel for the circle centers still yields calibration outputs of approximately 1 cm translational error and 1 degree of rotational error.Based on assumptions outlined in Subsection 4.1, we deem such accuracy as acceptable.

Impact of Synthetic Detection Drop-Out

25In practice, we cannot expect that all circles of the calibration pattern will be always visible.Oftentimes, there will be surfaces that do not reflect the pattern well (e.g.: mirrors, highly diffuse surfaces, etc).Hence, we simulate these phenomena by introducing a uniformly distributed random dropout of the triangulated 3D points.Our experiments in Section 4.7 capture a drop-out expected to be present in real-world scenarios.In this experiment, we increase the dropout from 0% to 80% with an increment of 10%.In Table 1, we see that up until a dropout of 30% the calibration remains near 1 cm in translational error and 0.5 degrees rotational error, which we deem as acceptable calibration accuracy.With higher dropout, the error increases steadily, until at 70% the rotational error spikes to 10 degrees, suggesting that the reconstructed rays are inaccurate or missing.Investigation of the calibration data reveals that the algorithm is only able to reconstruct a single ray.In order to construct a ray, at least two 3D points are required, but for the simulated drop-out of 70% and more, only one potential ray had enough points associated with it.

Impact of Distances

26Our approach for estimating the relative orientation and translation of a projector with respect to a stereo camera relies on triangulating points from different distances in order to perform ray intersection.This experiment evaluates how much the range of distances of the triangulated 3D points impacts the calibration accuracy.We perform several calibrations with different subsets of selected distances and compare them with the baseline approach (2m, 5m, 8m, , 17m, 23m, 26m).Table 2 shows that using circles from near distances leads to a better calibration accuracy (IDs 1 -4) than using only circles from farther distances (IDs 5 -9).We obtain the best results by using the distances 2m and 5m (ID 2), namely a translational error of 0.14 cm and a rotational error of 0.42 degrees.We suspect this is caused by the 3D triangulation becoming more sensitive to detection inaccuracies the farther away the point is located, relative to the stereo cameras.The impact of 3D triangulation error is discussed in greater detail in binocu- (Guo et al., 2006) (Xu et al., 2013).In Table 2, we see that the proposed structured light extrinsic calibration method estimates with satisfactory accuracy from 2m to 26m (ID 1, 3) with a translational error of 0.36 cm and 0.35 degrees.Similar results are obtained from distances up to 8m, with up to 0.23 cm translational-and 0.42 degrees rotational error, respectively.In summary, we find that our approach is applicable for a wide range of distances, especially when we compare it to current state-of-the-art approaches (Chen et al., 2018) (Huang et al., 2018).

Impact of Different Scenes

27In this experiment, we analyze the impact of different target scenes.Our method is intended to be used in non-controlled environments.Hence, we perform the calibration using our simulator described in Section 4.2.We created multiple scenes: A scene containing a white wall, a scene containing several geometric shapes (cylinders with different surfaces) and a scene consisting of a simulation of parked cars.Refer to Figure 8 for images of the geometric shapes scene and the car parking scene.The geometric shape scene consists of multiple procedurally placed cylinders of varying scale, position and rotation.We also vary the surface of the cylinders using different albedo-color and reflectivity values.The car parking scene consists of five 3D-models of a car placed side-by-side.Using the synthetically rendered images, we perform an extrinsic structured light calibration and summarize our findings in Table 3.It shows that the rotational error is relatively stable across different scenes, suggesting that our method generalizes well for different scenes.For all selected scenes, the translational error and rotational error satisfy our accuracy constraints of approximately 1 cm translational error and 1 degree rotational error.Hence, our calibration method yields satisfactory results for synthetically rendered scenes, which may generalize to real-world applications as well.

CONCLUSION AND FUTURE WORK

28We have demonstrated the feasibility of a flexible extrinsic structured light calibration approach.Our calibration setup consists of two time-synchronized cameras with known camera parameters (both intrinsics and extrinsics) and a projector capable of projecting a monochrome circle pattern into the scene.

29Our method sequentially projects a known circle pattern from different relative distances into the scene and then triangulates the 3D positions of the detected circles.After defining rays through the triangulated 3D points, the extrinsics of the projector are determined by calculating the intersection of these rays.

30Our extensive evaluation shows that our approach works with different projection surfaces and is relatively stable towards different potentially negative influences related to drop-out, circle detection, calibration distances, etc.. Our implementation achieves a rotational accuracy of below 1 degree and translational accuracy of approximately 1 cm.Our method provides a calibration accuracy sufficient for intelligent vehicle lighting systems (Tamburo et al., 2014) or applications with requirements for similar precision, such as smart lighting installations (Sonam and Harshit, 2019) and stage-productions (Gillette and McNamara, 2020).Contrary to alternative solutions, our method does not rely on finding a homography between the projected calibration pattern, thus allowing the flexible extrinsic calibration of a structured light projector on calibration surfaces that do not need to be planar.

31In the future, our approach could be generalized to additionally estimate the intrinsics of a structured light projector, as well as intrinsically and extrinsically calibrating the stereo-cameras themselves.

FischerFigure 1 :

32Figure1: Schematic overview of the calibration setup for a single ray.Note that our approach supports non-planar target projection surfaces, as long as the circle detector can detect the centers of the circles reliably.

Figure 2 :

33Figure 2: Sample pattern used for calibration, from which one circle per calibration step is projected.Circles I and II are used to estimate the projector's rotation.

Figure 3 :

34Figure 3: Stereo images (left and right camera) from the car parking scene.Depicts how non-planarity affects the projection of circles into the scene.Resulting calibration evaluated in Section 4.7.

Figure 5 :

35Figure 5: Illustration of rotation estimation.Cone represents projector.(A) Red arrow represents forward direction estimated using circle I in the middle of the calibration pattern.(B) Blue arrow represents up direction estimated using top-middle circle II.(C) Green arrow represents calculated up-vector obtained by projecting vector A on vector B.

Figure 6 :

36Figure 6: Baseline evaluation setup showing the projection of the calibration pattern for the baseline experiment.

Figure 7 :

37Figure 7: Impact of circle center detection error.The detected circle centers are varied by a normally distributed error with a standard deviation denoted on the x-axis.y-axis denotes the rotational error (left) and translational error (right).

Figure 8 :

38Figure 8: Simulated Geometric Shapes (left) and Parked Cars (right) test scenes.

Table 1 :

39Calibration accuracy due to random drop-out, with column Drop-Out indicating the drop-out percentage.

Table 2 :

40Calibration accuracy across different distances relative to the structured light projector and the target calibration object.Row with ID 1 contains the baseline results.

Table 3 :

41Calibration accuracy across different scenes.

참고문헌

참고문헌 정보가 없습니다.