Active visual reconstruction system and method of automobile shape based on line and circle invariants

Through the active visual reconstruction system of automobile shape based on straight line and circle invariants, using the method of combining two-dimensional calibration plate and camera, the rapid and accurate measurement of automobile shape is realized, which solves the problem of expensive and difficult measurement of existing contact detection equipment. The problem of slow speed reduces detection costs and improves efficiency.

CN111380482BInactive Publication Date: 2024-08-23JILIN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911426737.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-31
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Among the existing automobile topography detection methods, contact detection equipment is expensive and slow in measurement speed, and fixed detection equipment has high cost, making it difficult to achieve efficient non-contact measurement of large objects.

Method used

An active visual reconstruction system of automobile topography based on straight line and circle invariants is adopted. By combining the camera and line laser, the relationship between the circle and straight line invariants on the two-dimensional calibration board is used to realize the rapid detection of the intersection point between the laser line and the body surface, so as to realize the rapid detection of the intersection of the laser line and the car body surface. Non-contact reconstruction of topography.

Benefits of technology

It achieves fast and accurate measurement of automobile topography, reduces detection costs, improves measurement efficiency, simplifies the operation process, and reduces calculation errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111380482B
    Figure CN111380482B
Patent Text Reader

Abstract

The present invention discloses an active visual reconstruction system and method for automobile shape based on straight line and circle invariants, aiming to solve the problem of active visual detection of automobile shape based on straight line and circle invariants. The active visual reconstruction system for automobile shape based on straight line and circle invariants mainly comprises a camera bracket (1), a camera (2), a connecting piece (3), a line laser (4) and a two-dimensional calibration plate (5). The active visual reconstruction method for automobile shape based on straight line and circle invariants comprises three steps: image acquisition, solving the coordinates of vehicle body feature points in the coordinate system of the two-dimensional calibration plate (5), and reconstructing the vehicle body points in the coordinate system of the camera (2). A system and method for active visual reconstruction of automobile shape based on straight line and circle invariants with simple structure and reliable performance is provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a measuring device and a measuring method in the field of automobile detection, and more specifically, to an active visual reconstruction system and method of automobile appearance based on straight line and circle invariants. Background Art

[0002] With the development of detection technology, the measurement of automobile morphology plays an increasingly important role in automobile detection and other fields. This type of structure is large in size and irregular in shape. Existing detection methods such as three-coordinate machines have low measurement efficiency due to point-by-point scanning and contact detection. Therefore, it is very important to design a non-contact, fast-measuring, and non-strictly constrained detection method suitable for measuring large objects to restore the automobile morphology. A system and method for active visual reconstruction of automobile morphology based on straight line and circle invariants are proposed. The laser line projected by the linear laser of the system is in the plane of the two-dimensional calibration plate. The relationship between the invariant obtained by the circle on the two-dimensional calibration plate and the invariant obtained by the corresponding circle and the two straight lines in the general position in the image captured by the camera is the same, which realizes the rapid detection of automobile morphology feature points. Summary of the invention

[0003] The present invention aims to solve the problems of expensive contact detection equipment, slow measurement speed, and high cost of fixed detection equipment in the process of obtaining automobile morphology, and proposes a reconstruction system and method with reliable performance, simple structure, easy operation, and simple algorithm. The invariant values ​​are obtained by solving the circle and two straight lines in the image captured by the camera. Then, the intersection point of the laser line and the surface of the vehicle body is obtained, and the reconstruction of the automobile morphology using the straight line and circle invariants is realized, thereby improving the detection efficiency.

[0004] In conjunction with the accompanying drawings of the specification, the present invention is implemented using the following technical solutions:

[0005] The active visual reconstruction system of automobile shape based on straight line and circle invariants includes a camera bracket, a camera, a connecting piece, a line laser and a two-dimensional calibration plate;

[0006] The camera bracket is placed on the ground, the camera is fixedly connected to the bolt thread on the top of the camera bracket through the threaded hole at the bottom, the two-dimensional calibration plate is placed in the slender groove of the U-shaped steel plate of the connecting piece, the bolts are inserted into the through holes of the connecting piece and the two-dimensional calibration plate and are fixedly connected with the nuts thread, the line laser is inserted into the inner hole of the steel pipe of the laser connecting piece, the set screw is screwed into the threaded hole on the side of the steel pipe of the connecting piece, the end of the set screw is in contact with the cylindrical surface of the line laser, and the laser plane emitted by the line laser is coplanar with the plane where the two-dimensional calibration plate pattern is located;

[0007] The camera bracket described in the technical solution is a tripod bracket with adjustable height;

[0008] The camera described in the technical solution is a wide-angle industrial camera equipped with a narrow-band filter;

[0009] The connecting piece described in the technical solution is a part welded by a U-shaped steel plate and a steel pipe, the side of the U-shaped steel plate is processed with a through hole, and the side of the steel pipe is processed with a threaded hole;

[0010] The line laser described in the technical solution is a cylindrical part that can emit line laser, and the wavelength of the laser emitted by the line laser is consistent with the bandpass wavelength of the narrow-band filter of the camera.

[0011] The two-dimensional calibration plate described in the technical solution is a part made of a rectangular steel plate, and regular geometric figures of circles and rectangles that can generate circle and straight line features are pasted on the surface of the two-dimensional calibration plate, and the two-dimensional calibration plate is processed with through holes;

[0012] The specific steps of the active visual reconstruction method of automobile shape based on line and circle invariants are as follows:

[0013] Step 1: Image acquisition for active visual reconstruction of vehicle shape based on line and circle invariants:

[0014] The camera is fixed on the camera bracket, the camera bracket is placed on the ground, the line laser is inserted into the inner hole of the steel pipe of the connector, the line laser is turned on, and the line laser is rotated so that the projected laser line is coplanar with the 2D calibration plate, and the line laser is fixed by adjusting the eight screws on the steel pipe of the connector. The camera captures an image, which includes the 2D calibration plate and the projected laser point where the line laser intersects with the vehicle surface;

[0015] Step 2: The coordinates of the body feature points of the active visual reconstruction of the car shape based on the straight line and circle invariants are solved in the two-dimensional calibration plate coordinate system:

[0016] According to the image collected by the camera, an image coordinate system is established. The origin of the image coordinate system coincides with the center of the circle on the two-dimensional calibration plate. The X-axis and Y-axis coincide with the two vertical lines on the two-dimensional calibration plate respectively. The conversion relationship of the circle from the two-dimensional calibration plate coordinate system to the image coordinate system is:

[0017] c * =H -1 C * H -T

[0018] in is the image coordinate of the circle, and the coordinate of the circle in the two-dimensional calibration plate coordinate system is R is the radius of the circle, and the dual coordinates of the circle are H is the homography matrix from the 2D calibration plate coordinate system to the image coordinate system obtained by Zhang Zhengyou’s method;

[0019] The conversion relationship between the linear coordinate L in the two-dimensional calibration plate coordinate system and the image linear coordinate l is:

[0020] l=H T L

[0021] The straight line on the two-dimensional calibration plate coincides with the Y axis Circle C * And the straight line emitted by the line laser Invariants can be obtained

[0022]

[0023] Its corresponding invariant on the image can be expressed as

[0024]

[0025] in l II They are L II is the coordinate in the image coordinate system, c * is the image coordinate of circle C on the 2D calibration plate. The straight line coordinates in the image can be extracted using HOUGH transformation;

[0026] The straight line on the two-dimensional calibration plate coincides with the X-axis Circle C * And the straight line emitted by the line laser Invariants can be obtained

[0027]

[0028] Its corresponding invariant on the image can be expressed as

[0029]

[0030] in They are is the coordinate in the image coordinate system, c * is the image coordinate of circle C on the 2D calibration plate. The straight line coordinates in the image can be extracted using HOUGH transformation;

[0031] According to I 1,i =I 2,i (i=1, 2) The second coordinate element of the laser line emitted by the line laser in the two-dimensional calibration plate coordinate system is obtained as follows:

[0032]

[0033] in

[0034] Similarly, we can understand that the first coordinate element of the laser line emitted by the line laser is

[0035]

[0036] You can get a line laser to emit a laser line Coordinates in the 2D calibration plate coordinate system.

[0037] Step 3: Reconstruction of the vehicle surface feature points in the camera coordinate system based on active visual reconstruction of the vehicle shape based on line and circle invariants:

[0038] The laser line L in the two-dimensional calibration plate coordinate system obtained in the second step II The coordinates of the laser line and the homography matrix H from the 2D calibration plate coordinate system to the image coordinate system are calculated according to the intersection point X between the laser line and the vehicle body. II On the straight line L II On and intersection point X II From the 2D calibration plate coordinate system to the image coordinate system point x II The conversion relationship is

[0039] (L II ) T X II =0

[0040] HX II =x II

[0041] The car body surface feature point X can be solved II Coordinates in the 2D calibration plate coordinate system

[0042]

[0043] Then the coordinates of the feature points on the body surface in the camera coordinate system are

[0044]

[0045] Where Hc is the homography matrix from the 2D calibration plate coordinate system to the camera coordinate system obtained using Zhang Zhengyou's method.

[0046] The beneficial effects of the present invention are:

[0047] (1) The system of the present invention has a wide measurement range, reliable performance, simple device structure, easy operation and low cost. The method of the present invention has simple calculation and small error, and realizes non-contact and rapid measurement of automobile morphology, solving the problems of expensive fixed contact measurement system, low measurement efficiency and poor convenience.

[0048] (2) The system of the present invention uses two sets of invariants to calculate the coordinates of the laser line, using a circle located at the origin of the coordinate system and a straight line located on the X-axis and Y-axis, which greatly simplifies the calculation process and reduces the error caused by the calculation process. The invariants composed of straight lines and circles are used to establish a direct solution relationship between the image and the calibration plate, realizing the rapid reconstruction of the vehicle body feature points.

[0049] (3) Camera calibration and vehicle body feature point reconstruction can be completed using images captured by the same set of cameras, which simplifies the experimental process.

[0050] (4) The camera 2 used in the system of the present invention is a wide-angle industrial camera equipped with a narrow-band filter, which can obtain a wider field of view, so that the combination of the two-dimensional calibration plate 5 and the line laser 4 can scan a wider range and be more flexible. The wavelength of the laser emitted by the line laser 4 is consistent with the bandpass wavelength of the narrow-band filter of the camera 2, which can effectively reduce the interference of the ambient light source on the measurement process and greatly improve the measurement accuracy.

[0051] (5) The steel pipe of the connecting piece 3 is processed with two threaded holes at the top, bottom, left and right sides, and eight screws are screwed into the threaded holes to adjust and fix the position of the line laser 4 so that the laser line projected by the line laser 4 can be coplanar with the two-dimensional calibration plate 5. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 It is an axonometric diagram of the active visual reconstruction system of the car shape based on line and circle invariants;

[0053] Figure 2 is an axonometric view of a camera bracket 1 in an active visual reconstruction system of automobile shape based on straight line and circle invariants;

[0054] Figure 3 It is the axonometric view of camera 2 in the active visual reconstruction system of automobile shape based on line and circle invariants;

[0055] Figure 4 It is an axonometric view of the connector 3 in the active visual reconstruction system of the automobile shape based on the straight line and circle invariants;

[0056] Figure 5 It is an axonometric view of a two-dimensional calibration plate 5 in an active visual reconstruction system of automobile shape based on straight line and circle invariants;

[0057] Figure 6 It is an axonometric diagram of a connector 3, a line laser 4, and a two-dimensional calibration plate 5 in an active visual reconstruction system of an automobile shape based on straight line and circle invariants;

[0058] Figure 7 This is a schematic diagram of the calibration and reconstruction of the active visual reconstruction method of the car shape based on line and circle invariants;

[0059] Figure 8 This is a flow chart of the laser line solution in the 5-coordinate system of the two-dimensional calibration plate in the active visual reconstruction method of the automobile shape based on the straight line and circle invariants;

[0060] Fig. 9 This is a flowchart of the reconstruction of vehicle body feature points in the camera 2 coordinate system using the active visual reconstruction method for vehicle shape based on straight line and circle invariants;

[0061] In the figure: 1. Camera bracket, 2. Camera, 3. Connector, 4. Line laser, 5. Two-dimensional calibration plate. DETAILED DESCRIPTION

[0062] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0063] See also Figures 1 to 6 The active visual reconstruction system of automobile shape based on straight line and circle invariants includes a camera bracket 1, a camera 2, a connecting part 3, a line laser 4, and a two-dimensional calibration plate 5.

[0064] The camera bracket 1 is a tripod bracket with adjustable height, which is placed on the ground. The camera 2 is a wide-angle industrial camera equipped with a narrow-band filter. The camera 2 is fixedly connected to the bolt thread on the top of the camera bracket 1 through the threaded hole at the bottom. The two-dimensional calibration plate 5 is a part made of a rectangular steel plate. Regular geometric figures of circles and rectangles that can generate circular and straight line features are pasted on the surface of the two-dimensional calibration plate 5. The two-dimensional calibration plate 5 is processed with through holes. The connecting piece 3 is a part welded by a U-shaped steel plate and a steel pipe. The side of the U-shaped steel plate is processed with through holes, and the side of the steel pipe is processed with threaded holes. The two-dimensional calibration plate 5 is placed in the slender groove of the U-shaped steel plate of the connecting piece 3, the bolts are inserted into the through holes of the connecting piece 3 and the two-dimensional calibration plate 5 and are fixedly connected with the nut threads, the line laser 4 is inserted into the inner hole of the steel pipe of the laser connecting piece 3, the set screw is screwed into the threaded hole on the side of the steel pipe of the connecting piece 3, and the end of the set screw is in contact with the cylindrical surface of the line laser 4 and is tightly matched. The line laser 4 is a cylindrical part that can emit line lasers. The wavelength of the laser emitted by the line laser 4 is consistent with the bandpass wavelength of the narrowband filter of the camera 2, and the laser plane emitted by the line laser 4 is coplanar with the plane where the two-dimensional calibration plate 5 graphics are located;

[0065] See also Figures 7 to 9 , the active visual reconstruction method of automobile shape based on line and circle invariants can be divided into the following three steps:

[0066] Step 1: Image acquisition for active visual reconstruction of vehicle shape based on line and circle invariants:

[0067] The camera 2 is fixed on the camera bracket 1, and the camera bracket 1 is placed on the ground. The line laser 4 is inserted into the inner hole of the steel pipe of the connecting piece 3, the line laser 4 is turned on, and the line laser 4 is rotated so that the laser line projected by it is coplanar with the two-dimensional calibration plate 5. The line laser 4 is fixed by adjusting the eight screws on the steel pipe of the connecting piece 3. The camera 2 captures an image, and the image includes the two-dimensional calibration plate 5 and the projected laser point where the line laser 4 intersects with the vehicle surface;

[0068] Step 2: The coordinates of the body feature points of the active visual reconstruction of the car shape based on the straight line and circle invariants are solved in the coordinate system of the two-dimensional calibration plate 5:

[0069] According to the image captured by the camera 2, an image coordinate system is established. The origin of the image coordinate system coincides with the center of the circle on the two-dimensional calibration plate 5. The X-axis and the Y-axis coincide with the two vertical lines on the two-dimensional calibration plate 5 respectively. The conversion relationship of the circle from the coordinate system of the two-dimensional calibration plate 5 to the image coordinate system is:

[0070] c * =H -1 C * H -T

[0071] in is the image coordinate of the circle, and the coordinate of the circle in the coordinate system of the two-dimensional calibration plate 5 is R is the radius of the circle, and the dual coordinates of the circle are H is the homography matrix from the 2D calibration plate 5 coordinate system to the image coordinates obtained using Zhang Zhengyou's method;

[0072] The conversion relationship between the linear coordinate L in the coordinate system of the two-dimensional calibration plate 5 and the linear coordinate l in the image is:

[0073] l=H T L

[0074] The straight line on the two-dimensional calibration plate 5 coincides with the Y axis Circle C * And the straight line emitted by the line laser 4 Invariants can be obtained

[0075]

[0076] Its corresponding invariant on the image can be expressed as

[0077]

[0078] in l II They are L II is the coordinate in the image coordinate system, c *is the image coordinate of circle C on the two-dimensional calibration plate 5. The straight line coordinates in the image can be extracted using HOUGH transformation;

[0079] The straight line on the two-dimensional calibration plate 5 coincides with the X-axis Circle C * And the straight line emitted by the line laser 4 Invariants can be obtained

[0080]

[0081] Its corresponding invariant on the image can be expressed as

[0082]

[0083] in They are is the coordinate in the image coordinate system, c * is the image coordinate of circle C on the two-dimensional calibration plate 5. The straight line coordinates in the image can be extracted using HOUGH transformation;

[0084] According to I 1,i =I 2,i (i=1, 2) The second coordinate element of the laser line emitted by the line laser 4 in the coordinate system of the two-dimensional calibration plate 5 is obtained as follows:

[0085]

[0086] in

[0087] Similarly, the first coordinate element of the laser line emitted by the line laser 4 is

[0088]

[0089] You can get the line laser 4 to emit a laser line Coordinates in the 2D calibration plate 5 coordinate system.

[0090] Step 3: Reconstruction of the vehicle surface feature points in the camera 2 coordinate system based on active visual reconstruction of the vehicle shape based on line and circle invariants:

[0091] The laser line L in the coordinate system of the two-dimensional calibration plate 5 obtained in the second step II The coordinates of the laser line and the homography matrix H from the coordinate system of the two-dimensional calibration plate 5 to the image coordinate system are calculated according to the intersection point X II On the straight line L II On and intersection point X II From the 2D calibration plate 5 coordinate system to the point x in the image coordinate system II The conversion relationship is

[0092] (LII ) T X II =0

[0093] HX II =x II

[0094] The car body surface feature point X can be solved II Coordinates in the 2D calibration plate 5 coordinate system

[0095]

[0096] Then the coordinates of the feature points on the body surface in the camera 2 coordinate system are

[0097]

[0098] Where Hc is the homography matrix from the coordinate system of the two-dimensional calibration plate 5 to the coordinate system of the camera 2 obtained by Zhang Zhengyou's method.

Claims

1. A reconstruction method of an active visual reconstruction system for automobile morphology based on straight line and circle invariants, comprising a camera bracket (1), a camera (2), a connecting piece (3), a line laser (4) and a two-dimensional calibration plate (5); The camera bracket (1) is placed on the ground, the camera (2) is threadedly fixedly connected to the bolt on the top of the camera bracket (1) through the threaded hole at the bottom, the two-dimensional calibration plate (5) is placed in the slender groove of the U-shaped steel plate of the connecting piece (3), the bolts are inserted into the through holes of the connecting piece (3) and the two-dimensional calibration plate (5) and are threadedly fixedly connected with the nuts, the line laser (4) is inserted into the inner hole of the steel pipe of the laser connecting piece (3), the set screw is screwed into the threaded hole on the side of the steel pipe of the connecting piece (3), the end of the set screw is in contact with the cylindrical surface of the line laser (4) and is tightly matched, the laser plane emitted by the line laser (4) is coplanar with the plane where the two-dimensional calibration plate (5) pattern is located, the two-dimensional calibration plate (5) is a part made of a rectangular steel plate, the two-dimensional calibration plate (5) is processed with a through hole, and the surface of the two-dimensional calibration plate (5) is pasted with regular geometric figures of circles and rectangles that can generate circular and linear features, It is characterized in that The specific steps are as follows: Step 1: Image acquisition for active visual reconstruction of vehicle shape based on line and circle invariants: The camera (2) is fixed on the camera bracket (1), and the camera bracket (1) is placed on the ground. The line laser (4) is inserted into the inner hole of the steel pipe of the connecting piece (3), the line laser (4) is turned on, and the line laser (4) is rotated so that the laser line projected by the line laser (4) is coplanar with the two-dimensional calibration plate (5). The line laser (4) is fixed by adjusting eight screws on the steel pipe of the connecting piece (3), and the camera (2) collects an image, which includes the two-dimensional calibration plate (5) and the projected laser point where the line laser (4) intersects with the vehicle surface; Step 2: The coordinates of the body feature points of the active visual reconstruction of the car shape based on the straight line and circle invariants are solved in the coordinate system of the two-dimensional calibration plate (5): According to the image captured by the camera (2), an image coordinate system is established. The origin of the image coordinate system coincides with the center of the circle on the two-dimensional calibration plate (5). The X-axis and the Y-axis coincide with two vertical lines on the two-dimensional calibration plate (5). The conversion relationship of the circle from the coordinate system of the two-dimensional calibration plate (5) to the image coordinate system is: in is the image coordinate of the circle, and the coordinate of the circle in the coordinate system of the two-dimensional calibration plate (5) is R is the radius of the circle, and the dual coordinates of the circle are H is the homography matrix from the coordinate system of the two-dimensional calibration plate (5) to the image coordinate system obtained by Zhang Zhengyou's method; The conversion relationship between the linear coordinate L in the coordinate system of the two-dimensional calibration plate (5) and the linear coordinate l in the image is: l=H T L The straight line on the two-dimensional calibration plate (5) coincides with the Y axis Circle C * and the straight line emitted by the line laser (4) Invariants can be obtained Its corresponding invariant on the image can be expressed as in l II They are L II is the coordinate in the image coordinate system, c * are the image coordinates of circle C on the two-dimensional calibration plate (5). The straight line coordinates in the image can be extracted using the HOUGH transformation; The straight line on the two-dimensional calibration plate (5) coincides with the X-axis Circle C * and the straight line emitted by the line laser (4) Invariants can be obtained Its corresponding invariant on the image can be expressed as in They are is the coordinate in the image coordinate system, c * are the image coordinates of circle C on the two-dimensional calibration plate (5). The straight line coordinates in the image can be extracted using the HOUGH transformation; According to I 1,i =I 2,i (i=1, 2) The second coordinate element of the laser line emitted by the line laser (4) in the coordinate system of the two-dimensional calibration plate (5) is obtained as in Similarly, we can understand that the first coordinate element of the laser line emitted by the line laser (4) is Then the line laser (4) emits a laser line Coordinates in the coordinate system of the two-dimensional calibration plate (5); Step 3: Active visual reconstruction of the car shape based on line and circle invariants Reconstruction of the surface feature points of the car body in the camera (2) coordinate system: The laser line L in the coordinate system of the two-dimensional calibration plate (5) obtained in the second step is II The coordinates of the laser line and the homography matrix H from the coordinate system of the two-dimensional calibration plate (5) to the image coordinate system are calculated according to the intersection point X between the laser line and the vehicle body. II On the straight line L II On and intersection point X II From the coordinate system of the two-dimensional calibration plate (5) to the point x in the image coordinate system II The conversion relationship is (L II ) T X II =0 HX II =x II The car body surface feature point X can be solved II Coordinates in the coordinate system of the two-dimensional calibration plate (5) Then the coordinates of the feature points on the body surface in the camera (2) coordinate system are Where Hc is the homography matrix from the coordinate system of the two-dimensional calibration plate (5) to the coordinate system of the camera (2) obtained by Zhang Zhengyou's method.

2. The reconstruction method of the active visual reconstruction system of automobile shape based on straight line and circle invariants according to claim 1, Features The camera bracket (1) is a tripod bracket with adjustable height.

3. The reconstruction method of the active visual reconstruction system of automobile shape based on straight line and circle invariants according to claim 1, Features The camera (2) is a wide-angle industrial camera equipped with a narrow-band filter.

4. The reconstruction method of the active visual reconstruction system of automobile shape based on straight line and circle invariants according to claim 1, Features The connecting piece (3) is a part formed by welding a U-shaped steel plate and a steel pipe. A through hole is processed on the side of the U-shaped steel plate, and a threaded hole is processed on the side of the steel pipe.

5. The reconstruction method of the automobile shape active visual reconstruction system based on straight line and circle invariants according to claim 1, Features The line laser (4) is a cylindrical part that can emit line laser light. The wavelength of the laser light emitted by the line laser 4 is consistent with the passband wavelength of the narrow-band filter of the camera (2).