Method for calibrating an image acquisition device
The proposed calibration method for image acquisition devices in vehicles achieves precise distance and orientation determination with reduced computational cost by using two images of a calibration target and linear regression, addressing imprecision and resource inefficiencies in existing techniques.
Patent Information
- Application Number
- FR2023001431
- Authority / Receiving Office
- FR · FR
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-16
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-02-16
AI Technical Summary
Existing calibration methods for image acquisition devices in vehicles, such as the Levenberg-Marquardt algorithm, suffer from imprecision due to strong correlation between position and orientation determination, and are computationally costly.
A method involving the acquisition of two images of a calibration target with characteristic points at varying distances from a reference plane, selecting points with minimal positional deviation, and using linear regression to determine the device's distance and orientation relative to the plane.
The method provides precise distance and orientation calibration with reduced resource requirements, independent of orientation, and outperforms existing methods in accuracy and efficiency.
Smart Images

Figure 00000000_0000
Abstract
Description
Description Title of the invention: Method for calibrating a device image acquisition Technical field The present disclosure relates to a method of calibrating an image acquisition device, an associated calibration device, and an associated computer program product. Prior art Many technologies are currently being developed to assist drivers in driving vehicles, for example by providing them with additional information about their surroundings using various on-board sensors. These technologies are also necessary in the perspective of fully autonomous vehicles. To allow correct processing of information from these sensors, they must be correctly calibrated. This is particularly the case for the image acquisition devices of these vehicles; their placement and orientation can vary from one vehicle to another and it is necessary to calibrate them correctly. Several calibration methods are known in the prior art for determining the position and orientation of an image acquisition device. Among these, the use of the Levenberg-Marquardt algorithm in calibration applications is well known. However, to determine the position and orientation relative to a reference frame of an image acquisition device, this method has several drawbacks. Indeed, we can first find a strong correlation in the determination of the position with that of the orientation, thus bringing imprecision to the results. In addition, this optimization algorithm can also be costly in terms of time and computing resources, when applied to a plurality of parameters. Abstract The present disclosure aims to overcome the drawbacks of the prior art by proposing a method and a device for calibrating an image acquisition device, simple in their design and in their operating mode, reliable and rapid. A method of calibrating an image acquisition device is provided, comprising determining the distance of the image acquisition device from a reference plane, the method comprising: the acquisition, by the image acquisition device, of at least two images of a calibration target comprising a plurality of characteristic points, the calibration target being positioned, so that: during the acquisition of each image, several character- characteristics have different distances from the plane of reference, and the calibration target is positioned at a constant distance from the plane reference and at two different distances from the acquisition device of images respectively during the acquisitions of the two images, for a plurality of characteristic points of the target, determine a deviation between the positions of the same characteristic point on the two images, and select the characteristic points of the target whose distance between the positions on both images satisfy a predetermined condition, and from the distances from the reference plane of the character- selected characteristics, and the differences between the positions of these points on the two images, determine the distance of the image acquisition device by report to the reference plane. In embodiments, the method comprises selecting a determined number of characteristic points of the target having the smallest deviations between the positions on the two images among the set of characteristic points. In embodiments, the method comprises selecting the characteristic points of the target whose deviations between the positions on the two images are less than a predetermined threshold. In embodiments, the method comprises estimating, by linear regression, the parameters of a straight line connecting the distance of a point to the reference plane and the difference between the positions of this point on the two images, and determining the distance of the image acquisition device relative to the reference plane, said distance being the root of the straight line. In some embodiments, the method further comprises, once the distance of the image acquisition device is determined relative to the reference plane, determining an orientation of said device. In variations of these embodiments, the determination of an orientation of the device is implemented by an optimization method applied to the positions of the characteristic points on at least one of the two images. According to another aspect, there is provided a computer program product, comprising code instructions for implementing a method comprising: Receiving two images on which a calibration target is visible, the calibration target comprising a plurality of characteristic points, for a plurality of characteristic points of the target, the determination of a difference between the positions of the same characteristic point on the two images, And the selection of the characteristic points of the target whose distance between the positions on both images satisfy a predetermined condition, and from the distances of the selected characteristic points to the plane of reference and the differences between the positions of these points on the two images, the determining a distance of the image acquisition device from to a reference plane, when it is executed by a processor. Finally, according to a last aspect, there is proposed a device for calibrating an image acquisition device, comprising a calibration target comprising a plurality of characteristic points, and a computer, configured to implement a method comprising: the reception of two images acquired by the image acquisition device, on which a calibration target is visible, the calibration target comprising a plurality of characteristic points, for a plurality of characteristic points of the target, the determination of a difference between the positions of the same characteristic point on the two images, And the selection of the characteristic points of the target whose distance between the positions on both images satisfy a predetermined condition, and from the distances of the selected characteristic points to the plane of reference and the differences between the positions of these points on the two images, the determining a distance of the image acquisition device from to a reference plane. The proposed method makes it possible to determine the distance of the image acquisition device to a reference plane with increased accuracy and reduced resource requirements compared to the prior art. Moreover, unlike the Levenberg-Marquardt algorithm, the distance calibration is independent of the orientation of the image acquisition device, thus ensuring a more accurate result. Brief description of the drawings Other characteristics, details and advantages will appear on reading the detailed description below, and on analyzing the attached drawings, in which: Fig.1 [Fig.1] shows a flowchart of a method for calibrating an image acquisition device according to one embodiment. Fig.2 [Fig.2] shows a device for calibrating an image acquisition device according to one embodiment. Fig. 3 [Fig.3] schematically shows the principle of the calibration method of an image acquisition device according to one embodiment. Fig. 4 [Fig.4] shows a front view of a target with a plurality of characteristic points according to one embodiment. Fig.5 [Fig.5] shows a table reporting the precision performance of the method according to the invention. Description of the embodiments Reference is now made to [Fig. 1], which schematically represents the main steps of a method for calibrating an image acquisition device according to a particular embodiment. With reference to [Fig.2], the method is implemented by a calibration device comprising the image acquisition device 201, which may be for example a camera, or a video camera, and a processing unit 203, comprising at least one computer and a memory storing the code instructions 206 leading to the execution of the steps of the calibration method. The calibration method is implemented to determine the distance of the image acquisition device relative to a reference plane. In a particular embodiment, the reference plane is the horizontal, and the determined distance is the height of the image acquisition device relative to the horizontal. Alternatively, the reference plane may be a vertical plane, and the distance relative to the reference plane is a distance along the direction of the normal of the plane considered. In the example of application of the method in [Fig.2], the image acquisition device is a camera on board a land vehicle, and the calibration method aims to determine the height of the camera relative to the ground. The different steps of the method for calibrating the acquisition device 201 are implemented by executing code instructions of a software program 206 on a remote processing unit 203, connected to the image acquisition device 201 by a link 204 allowing communication. According to variants, this link 204 can be wired, for example with a USB protocol, or wireless, for example with a Bluetooth or Wi-Fi protocol. According to certain variants, this link 204 can be an ad hoc communication system. In another variant, the calculator 203 is directly integrated into the image acquisition device 201, and the link 204 is then internal to said device 201. In the embodiments, the calculator 203 comprises at least one processor with a computing core enabling it to execute, at least in part, code instructions of the software program 206 leading to the performance of the steps of the calibration method. In a variant, said calculator 203 comprises a graphics processor. The method comprises the acquisition 100 by the image acquisition device 201 of at least two images of a calibration target 202 placed at a constant distance from a reference plane but at different distances from the device. With reference to [Fig. 4], a non-limiting example of a calibration target is shown which comprises a set of characteristic points 400. The characteristic points are points whose position on the target is known and identifiable (for example vertices of polygons or centers of circles). Preferably for the implementation of the method, the characteristic points used are all aligned along the same axis which, during the acquisition of the images, is positioned perpendicular to the reference plane, so that the characteristic points are at different distances from the reference plane. The acquisition of the images of the target therefore makes it possible to obtain two images on which the reference points are visible. In a variant, step 100 consists of acquiring a single image of at least two identical targets so that said targets can be visible simultaneously by the image acquisition device, the two targets being at the same constant distance from the reference plane but at different distances from the image acquisition device. From this or these images acquired in step 100, the method can determine the height of the image acquisition device according to the following principle, illustrated in a variant by the schematic view in [Fig.3]. Let a characteristic point P of the target 202 be located at a distance h from the reference plane. This point is denoted P when the target is at a distance d from the image acquisition device 201 in C, and P when the target is at a distance d. Note that for the present illustrated variant, the target is moved away such that C is coplanar with the translation plane of the target (plane formed by the characteristic points of the target before and after the translation). Thus, a first image acquisition of the target 202 located at a distance d; makes it possible to obtain a point P;*, projection onto the image of the point P,. A second image of the target 202 at a distance d, makes it possible to obtain in the same way a point P»', projection on the image of the point P>. The gap e, distance between the projections P;' and P;°, is zero when the points P, and P; have for height h, that of the image acquisition device 201. We then have hp = he and we note the particular positions of these points G, and G; having for the same projection G. In a non-illustrated variant where Ç is not coplanar with the translation plane of the target, the difference e relates to the distance between two new projections of the points P,' and P;' on the axis passing through the center of the image and which forms with C a plane perpendicular to the image plane and to the reference plane. Thus, G, and G; have a first distinct projection on the image plane, and a second coincident projection on said axis. For positions of P, and P, respectively close to points G, and G», the gap e is linearly linked to the distance h,. We therefore have € = à*hp+ b with a and b the parameters of the line which links the gap e to the distance h,. Also, for points P, and P, coinciding respectively with points G, and G,, we have ahp=h.,ete=a*h.+b=0. The distance h, is then called the root solution of the line. And we deduce h.= -b / a. The method of the present disclosure has the principle of thus estimating the positions of the points G, and G2, and consequently the distance h. of the image acquisition device 201 from different characteristic points P, and P, respectively close to the points G, and G». Thus, step 110 comprises determining the differences e from one photo to another, between the positions of a plurality of characteristic points of the target 202. For example, in the case where the method aims to determine the height of the image acquisition device 201 with two images, step 110 aims to determine for a plurality of characteristic points of the target 202, the distance e separating the projections P,' and P' of each characteristic point. The method then comprises a step 120 of selecting a plurality of characteristic points whose deviation calculated in the previous step satisfies a predetermined condition. Said selection condition makes it possible to obtain a plurality of points whose distance h, from the reference plane is sufficiently close to that h. of the image acquisition device 201 to be considered linearly linked to their respective deviation e. In one embodiment of step 120, the points are selected whose respective deviations e in absolute value are less than a predetermined threshold. Alternatively, at step 120, the points whose respective deviations in absolute value are less than a predetermined percentile can be selected. Alternatively, step 120 comprises the selection of a determined number of points, for example between two and five points, for example between two and three points, the deviations e separating the projections of the points of which are minimum among all the points. for which these deviations were calculated. For example, in an embodiment where the height of a camera 201 is to be determined, in step 120, the three points whose respective deviations e in absolute value are the smallest are selected, i.e. the three points whose heights h, are closest to h,, that of said camera 201. The method comprises determining 130 the distance h, from the image acquisition device 201 to the reference plane from the deviations calculated in step 110 for the points selected in step 120, and the distance of these points relative to the reference plane during the acquisition of the images. To do this, the equation of a straight line is determined connecting, for a given characteristic point, the difference between the projection of the point on the two images with the distance of the characteristic point from the reference plane. This determination can be carried out, in the case where two characteristic points have been selected in step 120, by linear interpolation, or, when three or more points have been selected in step 120, by linear regression. Once the equation of the straight line has been determined, the distance h, from the image acquisition device 201 to the reference plane is determined by calculating the root of the straight line. This estimate is advantageously obtained more quickly and more precisely than what the state of the art allows. In embodiments, the determination of the distance of the image acquisition device from the reference plane may be followed by a step 140 of determining the orientation of the image acquisition device, for example by applying a minimization technique, for example the Levenberg-Marquardt algorithm. The table shown in [Fig.5] reports the accuracy performance of the present method for determining the height of a camera from the ground, compared to using the Levenberg-Marquardt algorithm. It is clear, through the results presented in the table of [Fig.5], that the estimated height of the device 201 by the present method is closer to the actual height of said device 201 than that estimated with the techniques of the prior art, and this for different configurations of orientation of the image acquisition device 201 and height of target 202. It should be noted that nonlinear minimization algorithms are also generally more time-consuming than their linear counterparts. This is particularly the case for the present method.
Claims
Claims
1. Method for calibrating an image acquisition device (201), including determining the distance from the acquisition device of images (201) relative to a reference plane, the method including: - the acquisition (100), by the image acquisition device (201), of at least at least two images of a calibration target (202) comprising a plurality of characteristic points (400), the calibration target (202) being positioned, so that: * during the acquisition (100) of each image, several character- ristics (400) have different distances from the plane of reference, and * the calibration target (202) is positioned at a constant distance from the reference plane and at two different distances from the device image acquisition (201) respectively during acquisitions of the two images, - for a plurality of characteristic points (400) of the target (202), de- end a gap (e) between the positions of the same characteristic point (400) on both images, and - select the characteristic points (400) of the target (202) including the gap (e) between the positions on the two images satisfies a condition predetermined, and - from the distances from the reference plane of the character points- selected teristics (400), and gaps (e) between the positions of these points on the two images, determine the distance (h.) of the device image acquisition (201) relative to the reference plane.
2. The method of claim 1, comprising selecting (120) a determined number of characteristic points (400) of the target (202) showing the gaps (e) between the positions on the two images, the most weak among the set of characteristic points (400).
3. A method according to claim 1, comprising selecting the points ca- characteristics (400) of the target (202) whose gaps (e) between the positions on the two images are below a predetermined threshold.
4. A method according to any preceding claim, including the estimation, by linear regression, of the parameters of a straight line connecting the distance from a point to the reference plane and the gap between the positions of this point on the two images, and the determination (130) of the distance (h,) of the image acquisition device (201) relative to to the reference plane, said distance (h,) being the root of the straight line.
5. Method according to any one of the preceding claims, further comprising, once the distance (h,) from the acquisition device of images (201) determined with respect to the reference plane, the deter- mination (140) of an orientation of said device (201).
6. Method according to the preceding claim, in which the determination (140) of an orientation of the device (201) is implemented by a optimization method applied to the positions of the character points- characteristics (400) on at least one of the two images.
7. Computer program product, comprising code instructions for the implementation of a method comprising: - the reception of two images on which a calibration target (202) is visible, the calibration target (202) comprising a plurality of points characteristics (400), - for a plurality of characteristic points (400) of the target (202), the determination (110) of a gap ({e) between the positions of the same point feature (400) on both images, and - the selection (120) of the characteristic points (400) of the target including the gap (e) between the positions on the two images satisfies a condition predetermined, and - from the distances of the characteristic points (400) selected at reference plane and the gaps (e) between the positions of these points on the two images, the determination (130) of a distance (h,) from the device image acquisition (201) relative to a reference plane, when it is executed by a processor.
8. Device for calibrating an image acquisition device, comprising a calibration target (202) comprising a plurality of characteristic points (400), and a calculator (203), configured to implement a method comprising: - the reception (100) of two images acquired by the device image acquisition (201), on which a calibration target (202) is visible, the calibration target comprising a plurality of points ca- characteristics (400), - for a plurality of characteristic points (400) of the target (202), the determination (110) of a gap (e) between the positions of the same point feature (400) on both images, and - the selection (120) of the characteristic points of the target whose deviation (e) between the positions on the two images satisfies a predetermined condition, and - from the distances of the selected characteristic points (400) to the reference plane and the differences between the positions of these points on the two images, the determination (130) of a distance (he) of the image acquisition device (201) relative to a reference plane.
Citation Information
Patent Citations
Bundling of driver assistance systems
EP2172873A2
