CN113379846A - Method for calibrating rotating shaft of rotary table based on direction indication mark point calibration template - Google Patents
Method for calibrating rotating shaft of rotary table based on direction indication mark point calibration template Download PDFInfo
- Publication number
- CN113379846A CN113379846A CN202110591203.2A CN202110591203A CN113379846A CN 113379846 A CN113379846 A CN 113379846A CN 202110591203 A CN202110591203 A CN 202110591203A CN 113379846 A CN113379846 A CN 113379846A
- Authority
- CN
- China
- Prior art keywords
- calibration template
- point
- mark
- mark point
- rotary table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/62—Analysis of geometric attributes of area, perimeter, diameter or volume
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
- G06T2207/10012—Stereo images
Abstract
The invention relates to the technical field of image processing and pattern recognition, and discloses a method for calibrating a rotating shaft of a rotary table based on a direction indication mark point calibration template, which comprises the following steps: shooting a multi-angle image; extracting a matrix; constructing a calibration template coordinate system; resolving a camera coordinate system; fitting the circle center of the rotary table; fitting a turntable plane; constructing a coordinate system of the rotary table; a transformation matrix is calculated. The invention can finish the calibration of the rotary table rotary shaft by using a simple calibration template.
Description
Technical Field
The invention relates to the technical field of image processing and pattern recognition, in particular to a method for calibrating a rotary table rotating shaft based on a direction indication mark point calibration template.
Background
Modelling object shots by means of cameras, whether line laser cameras or area laser cameras, by means of
And combining the data of all angles of the scanned object to complete three-dimensional modeling. The object is rotated on the turntable, and the data of all angles are combined into three-dimensional data. The calibration of the rotating shaft of the rotary table is particularly important in the image recognition modeling process.
The existing turntable rotating shaft calibration process is realized by standard three-dimensional objects such as a cube, a sphere and a cylinder, the standard three-dimensional objects are rotated on a turntable and scanned by a camera, and an image after modeling is compared with the standard image and analyzed. The standard three-dimensional object needs to measure errors regularly, and has the defects of complex operation, large calculation amount and easy deviation, thereby causing identification errors.
Disclosure of Invention
The invention aims to solve the problems and provides a turntable rotating shaft calibration method based on a direction indication mark point calibration template, which can finish the calibration of the turntable rotating shaft by using a simple calibration template.
The technical scheme adopted by the invention is as follows:
a method for calibrating a rotating shaft of a rotary table based on a direction indicating mark point calibration template is characterized by comprising the following steps: the method for calibrating the rotating shaft of the rotary table comprises the following steps of:
(1) placing the calibration template in the central area of the rotary table;
(2) presetting the time interval between the rotating speed of the turntable and the time interval of camera acquisition;
(3) starting the rotary table to rotate for 360 degrees to obtain an image sequence of a calibration template acquired by the camera;
(4) extracting a mark point matrix in each calibration template image;
(5) extracting direction mark points in each calibration template image;
(6) determining the central point of the mark point matrix in each calibration template image;
(7) determining the X-axis direction and the Y-axis direction of each calibration template coordinate system according to the central mark point and the direction mark point;
(8) identifying the calibration template according to the constructed calibration template coordinate system and the central marker point to obtain object point coordinates of the marker point;
(9) resolving and acquiring the camera attitude of the position of each calibration template image according to the pixel coordinates and the object point coordinates of the mark points;
(10) calculating the three-dimensional coordinates of the mark points under the camera coordinate system according to the camera attitude and the pixel coordinates of the mark points;
(11) matching the mark point matrixes in all the calibration template images according to the object point coordinates of the mark points;
(12) calculating the circle center of a circle formed by rotating the matched mark points in all the images for 360 degrees through circle fitting;
(13) searching an optimal solution from a plurality of centers of circles by using a MeanShift algorithm to obtain a rotation center of the turntable;
(14) fitting the turntable plane by using all the mark point matrixes three-dimensional points;
(15) constructing a turntable coordinate system by using the rotation center and the normal of the turntable plane;
(16) and calculating to obtain a transformation matrix transformed from the camera coordinate system to the turntable coordinate system.
Further, in the step (7), the X-axis direction of the calibration template coordinate system is determined by the left-hand rule.
Further, the mark point matrix is an odd-numbered row-column matrix, and the central point in the step (6) is a central mark point of the mark point matrix.
The invention has the beneficial effects that:
(1) the flat calibration template is applied, so that the use and the replacement are easier;
(2) the calculation precision is high, and the identification stability is high.
Drawings
FIG. 1 is a schematic plan view of a calibration template;
FIG. 2 is a schematic view of the position of the camera system and the turntable;
FIG. 3 is a flow diagram of the present invention;
FIG. 4 is the object point coordinates of the index points in the calibration template plane coordinate system.
Detailed Description
The following describes in detail a specific embodiment of the method for calibrating a rotating shaft of a turntable based on a direction indicator point calibration template according to the present invention with reference to the accompanying drawings.
Referring to fig. 1, the calibration template includes a landmark matrix and a direction indicating landmark outside the landmark matrix, and the direction indicating landmark is located on a perpendicular bisector of a rectangular side of the landmark matrix.
Referring to fig. 2, the calibration template is placed on the turntable 1, and the calibration template at different rotation positions on the turntable 1 is photographed by the camera system 2 when the turntable 1 rotates.
Referring to fig. 3, the steps of the method for calibrating the rotating shaft of the turntable are as follows:
1. and placing the calibration template in the middle area of the rotary table.
2. The time interval between the rotating speed of the rotary table and the acquisition of the camera is input.
3. And starting the rotary table to rotate for 360 degrees to obtain an image sequence acquired by the camera.
4. And extracting a mark point matrix in the calibration template image.
5. The direction mark points in the calibration template image are detected.
6. Detecting a central mark point in the mark point matrix, wherein the rows and the columns of the general mark point matrix are odd numbers, and the central mark point is the most middle mark point in the mark point matrix.
7. Determining the X-axis direction of the calibration template coordinate system according to the central mark point and the direction mark point
8. And determining the Y-axis direction of the coordinate system of the calibration template according to the left-hand rule.
9. And identifying the calibration template according to the constructed calibration template coordinate system and the central mark point to obtain the object point coordinates of the mark point (see figure 4).
10. And resolving the camera attitude when each calibration template image is acquired according to the pixel coordinates and the object point coordinates of the mark points.
11. And calculating the three-dimensional coordinates of the mark points in the camera coordinate system according to the camera attitude and the pixel coordinates of the mark points.
12. And matching the mark point matrixes in all the calibration template images according to the object point coordinates.
13. And calculating the circle center of the circle formed by rotating the matched mark points in all the images for 360 degrees through circle fitting.
14. And finding the optimal rotation center of the turntable from a plurality of circular centers by using a MeanShift algorithm. The MeanShift algorithm is a hill-climbing algorithm based on kernel density estimation, and can be used for clustering, image segmentation, tracking and the like. See the chinese patents: cn201711318892.x, a visual tracking algorithm improved based on the MeanShift principle.
15. And fitting the three-dimensional points of the matrix of all the mark points to the plane of the turntable.
16. The turntable coordinate system is constructed with the rotation center and the normal to the turntable plane.
17. A transformation matrix is calculated for transforming from the camera coordinate system to the turret coordinate system.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (3)
1. A method for calibrating a rotating shaft of a rotary table based on a direction indicating mark point calibration template is characterized by comprising the following steps: the method for calibrating the rotating shaft of the rotary table comprises the following steps of:
(1) placing the calibration template in the central area of the rotary table;
(2) presetting the time interval between the rotating speed of the turntable and the time interval of camera acquisition;
(3) starting the rotary table to rotate for 360 degrees to obtain an image sequence of a calibration template acquired by the camera;
(4) extracting a mark point matrix in each calibration template image;
(5) extracting direction mark points in each calibration template image;
(6) determining the central point of the mark point matrix in each calibration template image;
(7) determining the X-axis direction and the Y-axis direction of each calibration template coordinate system according to the central mark point and the direction mark point;
(8) identifying the calibration template according to the constructed calibration template coordinate system and the central marker point to obtain object point coordinates of the marker point;
(9) resolving and acquiring the camera attitude of the position of each calibration template image according to the pixel coordinates and the object point coordinates of the mark points;
(10) calculating the three-dimensional coordinates of the mark points under the camera coordinate system according to the camera attitude and the pixel coordinates of the mark points;
(11) matching the mark point matrixes in all the calibration template images according to the object point coordinates of the mark points;
(12) calculating the circle center of a circle formed by rotating the matched mark points in all the images for 360 degrees through circle fitting;
(13) searching an optimal solution from a plurality of centers of circles by using a MeanShift algorithm to obtain a rotation center of the turntable;
(14) fitting the turntable plane by using all the mark point matrixes three-dimensional points;
(15) constructing a turntable coordinate system by using the rotation center and the normal of the turntable plane;
(16) and calculating to obtain a transformation matrix transformed from the camera coordinate system to the turntable coordinate system.
2. The method for calibrating a rotating shaft of a rotary table based on the direction indicating mark point calibration template according to claim 1, wherein: in the step (7), the X-axis direction of the calibration template coordinate system is determined by the left-hand rule.
3. The method for calibrating a rotating shaft of a rotary table based on the direction indicating mark point calibration template according to claim 1, wherein: the mark point matrix is an odd-numbered row-column matrix, and the central point in the step (6) is a central mark point of the mark point matrix.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110591203.2A CN113379846B (en) | 2021-05-28 | 2021-05-28 | Method for calibrating rotating shaft of rotary table based on direction indication mark point calibration template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110591203.2A CN113379846B (en) | 2021-05-28 | 2021-05-28 | Method for calibrating rotating shaft of rotary table based on direction indication mark point calibration template |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113379846A true CN113379846A (en) | 2021-09-10 |
CN113379846B CN113379846B (en) | 2022-08-09 |
Family
ID=77574772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110591203.2A Active CN113379846B (en) | 2021-05-28 | 2021-05-28 | Method for calibrating rotating shaft of rotary table based on direction indication mark point calibration template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113379846B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107330942A (en) * | 2017-06-20 | 2017-11-07 | 成都通甲优博科技有限责任公司 | A kind of calibrating template, scaling method, proving operation method and calibration system |
CN107367229A (en) * | 2017-04-24 | 2017-11-21 | 天津大学 | Free binocular stereo vision rotating shaft parameter calibration method |
CN108507462A (en) * | 2018-02-05 | 2018-09-07 | 黑龙江科技大学 | A kind of scaling method of four axis measuring apparatus rotary shaft of holographic interference |
CN108592787A (en) * | 2018-03-19 | 2018-09-28 | 上海交通大学 | The rotating axis calibration method and system of 3D tracer rotation systems |
CN109064400A (en) * | 2018-07-25 | 2018-12-21 | 博众精工科技股份有限公司 | Three-dimensional point cloud joining method, apparatus and system |
CN109712201A (en) * | 2019-02-27 | 2019-05-03 | 中国科学院上海技术物理研究所 | A kind of the stationkeeping ability caliberating device and scaling method of wide area camera |
US20190279399A1 (en) * | 2018-03-08 | 2019-09-12 | Toshiba Tec Kabushiki Kaisha | Coordinate calibration between two dimensional coordinate system and three dimensional coordinate system |
US20190327454A1 (en) * | 2018-04-18 | 2019-10-24 | B&R Industrial Automation GmbH | Method for the generation of a correction model of a camera for the correction of an aberration |
US20200100756A1 (en) * | 2018-10-01 | 2020-04-02 | Taiwan Main Orthopaedic Biotechnology Co., Ltd. | Surgical position calibration method |
CN110966935A (en) * | 2019-12-15 | 2020-04-07 | 复旦大学 | Deflection measurement system integrated geometric calibration method based on mark points |
CN111811395A (en) * | 2020-06-09 | 2020-10-23 | 天津大学 | Monocular vision-based dynamic plane pose measurement method |
CN111981984A (en) * | 2020-08-28 | 2020-11-24 | 南昌航空大学 | Rotating shaft calibration method based on binocular vision |
CN112525161A (en) * | 2021-02-09 | 2021-03-19 | 南京景曜智能科技有限公司 | Rotating shaft calibration method |
CN112614188A (en) * | 2020-12-07 | 2021-04-06 | 上海交通大学 | Dot-matrix calibration board based on cross ratio invariance and identification method thereof |
US20210407135A1 (en) * | 2018-09-28 | 2021-12-30 | Shanghai Eyevolution Technology Co., Ltd | Calibration method for multi-degree-of-freedom movable vision system |
-
2021
- 2021-05-28 CN CN202110591203.2A patent/CN113379846B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107367229A (en) * | 2017-04-24 | 2017-11-21 | 天津大学 | Free binocular stereo vision rotating shaft parameter calibration method |
CN107330942A (en) * | 2017-06-20 | 2017-11-07 | 成都通甲优博科技有限责任公司 | A kind of calibrating template, scaling method, proving operation method and calibration system |
CN108507462A (en) * | 2018-02-05 | 2018-09-07 | 黑龙江科技大学 | A kind of scaling method of four axis measuring apparatus rotary shaft of holographic interference |
US20190279399A1 (en) * | 2018-03-08 | 2019-09-12 | Toshiba Tec Kabushiki Kaisha | Coordinate calibration between two dimensional coordinate system and three dimensional coordinate system |
CN108592787A (en) * | 2018-03-19 | 2018-09-28 | 上海交通大学 | The rotating axis calibration method and system of 3D tracer rotation systems |
US20190327454A1 (en) * | 2018-04-18 | 2019-10-24 | B&R Industrial Automation GmbH | Method for the generation of a correction model of a camera for the correction of an aberration |
CN109064400A (en) * | 2018-07-25 | 2018-12-21 | 博众精工科技股份有限公司 | Three-dimensional point cloud joining method, apparatus and system |
US20210407135A1 (en) * | 2018-09-28 | 2021-12-30 | Shanghai Eyevolution Technology Co., Ltd | Calibration method for multi-degree-of-freedom movable vision system |
US20200100756A1 (en) * | 2018-10-01 | 2020-04-02 | Taiwan Main Orthopaedic Biotechnology Co., Ltd. | Surgical position calibration method |
CN109712201A (en) * | 2019-02-27 | 2019-05-03 | 中国科学院上海技术物理研究所 | A kind of the stationkeeping ability caliberating device and scaling method of wide area camera |
CN110966935A (en) * | 2019-12-15 | 2020-04-07 | 复旦大学 | Deflection measurement system integrated geometric calibration method based on mark points |
CN111811395A (en) * | 2020-06-09 | 2020-10-23 | 天津大学 | Monocular vision-based dynamic plane pose measurement method |
CN111981984A (en) * | 2020-08-28 | 2020-11-24 | 南昌航空大学 | Rotating shaft calibration method based on binocular vision |
CN112614188A (en) * | 2020-12-07 | 2021-04-06 | 上海交通大学 | Dot-matrix calibration board based on cross ratio invariance and identification method thereof |
CN112525161A (en) * | 2021-02-09 | 2021-03-19 | 南京景曜智能科技有限公司 | Rotating shaft calibration method |
Also Published As
Publication number | Publication date |
---|---|
CN113379846B (en) | 2022-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110555889B (en) | CALTag and point cloud information-based depth camera hand-eye calibration method | |
CN108921901B (en) | Large-view-field camera calibration method based on precise two-axis turntable and laser tracker | |
CN106651942B (en) | Three-dimensional rotating detection and rotary shaft localization method based on characteristic point | |
CN110108283B (en) | High-precision positioning method based on multi-two-dimension code vision | |
Ahn et al. | Circular coded target for automation of optical 3D-measurement and camera calibration | |
CN110659636A (en) | Pointer instrument reading identification method based on deep learning | |
CN112614188B (en) | Dot-matrix calibration board based on cross ratio invariance and identification method thereof | |
CN110763204B (en) | Planar coding target and pose measurement method thereof | |
CN112132907B (en) | Camera calibration method and device, electronic equipment and storage medium | |
CN102376089A (en) | Target correction method and system | |
CN110852954B (en) | Image inclination correction method and system for pointer instrument | |
CN111833405B (en) | Calibration and identification method and device based on machine vision | |
CN113119129A (en) | Monocular distance measurement positioning method based on standard ball | |
CN110695982A (en) | Mechanical arm hand-eye calibration method and device based on three-dimensional vision | |
CN111637851A (en) | Aruco code-based visual measurement method and device for plane rotation angle | |
CN113963067B (en) | Calibration method for calibrating large-view-field visual sensor by using small target | |
CN112767494A (en) | Precise measurement positioning method based on calibration algorithm | |
CN113379846B (en) | Method for calibrating rotating shaft of rotary table based on direction indication mark point calibration template | |
CN115937326A (en) | Large-view-field camera on-site rapid calibration method suitable for complex working conditions | |
CN114494316A (en) | Corner marking method, parameter calibration method, medium, and electronic device | |
CN112935562A (en) | Laser precision machining method based on paraxial offline measurement | |
WO2023060717A1 (en) | High-precision positioning method and system for object surface | |
CN112287907B (en) | Hole identification method based on point cloud density gradient | |
CN113298880B (en) | Camera calibration board, camera calibration method and device | |
CN214583089U (en) | Calibration template for calibrating rotating shaft of rotary table |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A Method for Calibrating the Rotating Axis of a Turntable Based on the Calibration Template of Direction Indication Marker Points Effective date of registration: 20230817 Granted publication date: 20220809 Pledgee: Bank of Communications Ltd. Shanghai Minhang branch Pledgor: SHANGHAI X-IMAGING INFO. & TECH. Co.,Ltd. Registration number: Y2023310000474 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |