CN113379846B - 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 PDF

Info

Publication number
CN113379846B
CN113379846B CN202110591203.2A CN202110591203A CN113379846B CN 113379846 B CN113379846 B CN 113379846B CN 202110591203 A CN202110591203 A CN 202110591203A CN 113379846 B CN113379846 B CN 113379846B
Authority
CN
China
Prior art keywords
calibration template
mark point
rotary table
point
mark
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.)
Active
Application number
CN202110591203.2A
Other languages
Chinese (zh)
Other versions
CN113379846A (en
Inventor
刘家昕
刘家朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai X Imaging Info & Tech Co ltd
Original Assignee
Shanghai X Imaging Info & Tech Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai X Imaging Info & Tech Co ltd filed Critical Shanghai X Imaging Info & Tech Co ltd
Priority to CN202110591203.2A priority Critical patent/CN113379846B/en
Publication of CN113379846A publication Critical patent/CN113379846A/en
Application granted granted Critical
Publication of CN113379846B publication Critical patent/CN113379846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10012Stereo images

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Length Measuring Devices By Optical Means (AREA)

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

Method for calibrating rotating shaft of rotary table based on direction indication mark point calibration template
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 indication mark point calibration template in accordance with 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:
firstly, placing the calibration template in the central area of a turntable;
step two, presetting the time interval between the rotating speed of the rotary table and the time interval of camera acquisition;
step three, starting the rotary table to rotate for 360 degrees to obtain an image sequence of the calibration template acquired by the camera;
extracting a mark point matrix in each calibration template image;
step five, extracting direction mark points in each calibration template image;
sixthly, determining the central point of the mark point matrix in each calibration template image;
step seven, 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;
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;
calculating and acquiring the camera attitude of each calibration template image at the position according to the pixel coordinates and the object point coordinates of the mark points;
step ten, 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;
step eleven, matching the mark point matrixes in all the calibration template images according to the object point coordinates of the mark points;
step twelve, calculating the circle center of the circle formed by rotating the matched mark points in all the images for 360 degrees through circle fitting;
step thirteen, searching an optimal solution from a plurality of centers of circles by adopting a MeanShift algorithm to obtain a rotation center of the turntable;
fourteen, fitting a turntable plane by using all the mark point matrix three-dimensional points;
fifthly, constructing a turntable coordinate system by using the rotation center and the normal of the turntable plane;
sixthly, 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: and seventhly, determining the X-axis direction of the calibration template coordinate system by a 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-number row-column matrix, and the central point in the sixth step is a central mark point of the mark point matrix.
CN202110591203.2A 2021-05-28 2021-05-28 Method for calibrating rotating shaft of rotary table based on direction indication mark point calibration template Active CN113379846B (en)

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 CN113379846A (en) 2021-09-10
CN113379846B true 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 (6)

* Cited by examiner, † Cited by third party
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
CN109064400A (en) * 2018-07-25 2018-12-21 博众精工科技股份有限公司 Three-dimensional point cloud joining method, apparatus and system
CN110966935A (en) * 2019-12-15 2020-04-07 复旦大学 Deflection measurement system integrated geometric calibration method based on mark points
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

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107367229B (en) * 2017-04-24 2020-05-05 天津大学 Free binocular stereo vision rotating shaft parameter calibration method
CN108507462B (en) * 2018-02-05 2019-10-18 黑龙江科技大学 A kind of scaling method of four axis measuring device rotary shaft of holographic interference
JP2019158414A (en) * 2018-03-08 2019-09-19 東芝テック株式会社 Information processing device
CN108592787B (en) * 2018-03-19 2019-11-19 上海交通大学 The rotating axis calibration method and system of 3D tracer rotation system
EP3557523B1 (en) * 2018-04-18 2021-07-28 B&R Industrial Automation GmbH Method for generating a correcting model of a camera for correcting an imaging error
CN109360243B (en) * 2018-09-28 2022-08-19 安徽爱观视觉科技有限公司 Calibration method of multi-degree-of-freedom movable vision system
US11406346B2 (en) * 2018-10-01 2022-08-09 Taiwan Main Orthopaedic Biotechnology Co., Ltd. Surgical position calibration method
CN109712201B (en) * 2019-02-27 2023-09-15 中国科学院上海技术物理研究所 Positioning capability calibration device and calibration method for wide-area camera
CN111811395B (en) * 2020-06-09 2021-08-10 天津大学 Monocular vision-based dynamic plane pose measurement method

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN109064400A (en) * 2018-07-25 2018-12-21 博众精工科技股份有限公司 Three-dimensional point cloud joining method, apparatus and system
CN110966935A (en) * 2019-12-15 2020-04-07 复旦大学 Deflection measurement system integrated geometric calibration method based on mark points
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
CN113379846A (en) 2021-09-10

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
CN106530358A (en) Method for calibrating PTZ camera by using only two scene images
CN112132907B (en) Camera calibration method and device, electronic equipment and storage medium
CN102376089A (en) Target correction method and system
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
CN110852954B (en) Image inclination correction method and system for pointer instrument
CN111872544A (en) Calibration method and device for laser light-emitting indication point and galvanometer coaxial vision system
Stein Internal camera calibration using rotation and geometric shapes
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
CN115861448A (en) System calibration method and system based on angular point detection and characteristic point extraction
Wang et al. Accurate detection and localization of curved checkerboard-like marker based on quadratic form
CN113379846B (en) Method for calibrating rotating shaft of rotary table based on direction indication mark point calibration template
CN112767494A (en) Precise measurement positioning method based on calibration algorithm
CN115272459A (en) Four-corner two-dimensional code directional plane target device and calibration method thereof
CN112489141B (en) Production line calibration method and device for single-board single-image strip relay lens of vehicle-mounted camera
CN114494316A (en) Corner marking method, parameter calibration method, medium, and electronic device
CN112935562A (en) Laser precision machining method based on paraxial offline measurement
CN113506347A (en) Camera internal reference processing method and system based on single picture
CN113298880B (en) Camera calibration board, camera calibration method and device
CN214583089U (en) Calibration template for calibrating rotating shaft of rotary table
CN112287907B (en) Hole identification method based on point cloud density gradient

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