CN113932737A - Flexible and high-precision structured light system calibration method - Google Patents

Flexible and high-precision structured light system calibration method Download PDF

Info

Publication number
CN113932737A
CN113932737A CN202111151755.8A CN202111151755A CN113932737A CN 113932737 A CN113932737 A CN 113932737A CN 202111151755 A CN202111151755 A CN 202111151755A CN 113932737 A CN113932737 A CN 113932737A
Authority
CN
China
Prior art keywords
calibration plate
calibration
camera
plane
phase shift
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
Application number
CN202111151755.8A
Other languages
Chinese (zh)
Other versions
CN113932737B (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.)
Nanchang Hangkong University
Original Assignee
Nanchang Hangkong University
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 Nanchang Hangkong University filed Critical Nanchang Hangkong University
Priority to CN202111151755.8A priority Critical patent/CN113932737B/en
Publication of CN113932737A publication Critical patent/CN113932737A/en
Application granted granted Critical
Publication of CN113932737B publication Critical patent/CN113932737B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G01B11/25Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
    • G01B11/2504Calibration devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G01B11/25Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
    • G01B11/2518Projection by scanning of the object
    • G01B11/2527Projection by scanning of the object with phase change by in-plane movement of the patern

Landscapes

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

Abstract

The invention discloses a flexible and high-precision calibration method of a structured light system, which comprises the steps of generating fringe patterns of several specific frequencies by using a computer to carry out four-step phase shift, and projecting the four-step phase shift pattern of each frequency onto a calibration plate with characteristic points; solving through a phase shift unwrapping algorithm to obtain a continuous phase value of the calibration plate; and finally, obtaining the pixel coordinates of the circle center on the calibration plate and the internal and external parameters of the camera at each position by using a Zhang friend calibration method so as to obtain the coordinates of the circle center on the calibration plate under a camera coordinate system, fitting the imaging plane of the calibration plate by using a plane fitting algorithm through the coordinates of the circle center camera, and then calibrating the measurement system through the distance between different imaging planes and the phase difference of the continuous phases of the different imaging planes. The method can effectively improve the calibration precision of the three-dimensional measurement system, is convenient to operate and small in budget due to the fact that a precise guide rail is not needed, and has potential application prospects and practical values in the field of optical three-dimensional measurement.

Description

Flexible and high-precision structured light system calibration method
Technical Field
The invention relates to an optical three-dimensional measurement method, belongs to the technical field of photoelectric detection, and particularly relates to a flexible and high-precision calibration method for a structured light system.
Technical Field
The structured light three-dimensional imaging technology is an information acquisition mode mainly based on optical sensing, and an information processing means mainly based on computer graphic image processing, and is one of important research contents in the fields of computational imaging and geometric measurement. Because of its advantages of high precision, high speed and non-contact measurement, it is widely used in the fields of industrial detection, biomedicine and machine vision. Along with the industrial upgrading of the production structure in China, the requirement on the three-dimensional measurement precision of a large structural part is gradually increased, and the three-dimensional precision measurement cannot be separated in the links of workpiece manufacturing, equipment and detection.
In phase profilometry, a conventional phase-height mapping calibration method generally utilizes a precision guide rail to drive a standard plane to move longitudinally within the depth of field range of a camera, each translation position represents a different calibration plane, and system calibration is performed according to the position of the calibration plane and the continuous phase distribution of the calibration plane. However, in practical measurement, it takes long time to move the standard plane by the guide rail for many times, and the error accumulation effect is generated in the moving process of the standard plane. Therefore, in order to solve the problems of long time consumption, accumulated errors, difficulty in carrying equipment and the like, a simple, quick and flexible high-precision calibration method is also a key problem to be solved urgently in the field of three-dimensional measurement. The invention provides a flexible high-precision phase-height mapping relation calibration method by fully considering the problems. The method can effectively improve the calibration precision of the three-dimensional measurement system, and is convenient to operate and small in budget because a precise guide rail is not needed. Has potential application prospect and practical value in the field of optical three-dimensional measurement.
Disclosure of Invention
The invention aims to provide a flexible and high-precision structured light system calibration method, which is realized by the following technical scheme:
a flexible and high-precision structured light system calibration method is characterized in that a computer is used for generating fringe patterns of several specific frequencies to carry out four-step phase shift, and the four-step phase shift pattern of each frequency is projected onto a calibration plate with characteristic points; because the calibration plate needs to be moved randomly for many times when the camera calibration is carried out, after the position is moved once and a group of pictures with phase information are taken, a picture without stripes is taken for fitting an imaging plane of the picture; then, respectively solving by using a phase shift unwrapping algorithm to obtain a continuous phase of each position of the calibration plate; finally, obtaining the pixel coordinates of the circle center on the calibration plate and the internal and external parameters of the camera at each position by using a Zhang-friend calibration method, thereby obtaining the coordinates of the circle center on the calibration plate under a camera coordinate system, fitting the imaging plane of the calibration plate by using a plane fitting algorithm through the coordinates of the circle center camera, and then calibrating the measurement system through the distance between different imaging planes and the phase difference of the continuous phases of the different imaging planes; the method specifically comprises the following steps:
s1, establishing a three-dimensional measurement system: the system comprises a DLP projector, a CCD camera and a circle calibration plate; the DLP projector and the CCD camera can be placed at will;
s2, generating fringe patterns of several specific frequencies by using a computer to perform four-step phase shift, and projecting the four-step phase shift patterns of the frequencies onto a circular calibration plate with characteristic points;
s3, using a camera calibration program to move the circular calibration plate forward for multiple times to calibrate the camera to obtain the internal and external parameters of the camera; a standard pinhole lens model that does not take into account lens distortion can be described mathematically as:
S[u v 1]T=A[R T][Xw Yw Zw 1]T (1)
for each calibration plate position, the world coordinate system is on the calibration plate, so its Z can be defined on the calibration plate w0, camera coordinate system [ X [ ]c Yc Zc]Can be expressed as:
Figure RE-GDA0003400508390000031
obtaining the three-dimensional coordinate X under the camera coordinate system of the center of a circle on the calibration plate at each positionc、Yc、 ZcAnd fitting the calibration plate by using a plane fitting algorithm to obtain an imaging plane of the calibration plate at each position in a camera coordinate system. Similarly, the firstThe calibration plate for one position is a reference plane, and the fitting plane can be expressed as:
Figure RE-GDA0003400508390000032
wherein (X)C YC ZC)TCamera coordinates representing the center of a circle on the calibration plate,
Figure RE-GDA0003400508390000033
and i represents the calibration board at the ith position. The plane parameters A, B, C and D are solved by the least squares method, so the height of the point on the calibration plate at each position can be expressed as:
Figure RE-GDA0003400508390000034
subtracting the z value of the reference plane from the z value of each plane to obtain the height difference hi(u,v);
S4, phase information of each position of the circular calibration plate is obtained by using a phase shift method; using the circle calibration plate at the first position as a reference plane, and subtracting the phase value of the corresponding point on the reference plane from the phase value of the circle calibration plate at each position to obtain several sets of phase difference information, which are marked as delta phii(u,v);
S5, phase-height calibration, also called system geometric parameter calibration; the corresponding relation between the phase difference delta phi (u, v) of the measured object and the height h (u, v) of the measured object is as follows:
Figure RE-GDA0003400508390000035
when the measuring system is fixed, the parameters a (u, v), b (u, v) and c (u, v) are regarded as system constants, and h is obtained by taking a plurality of different positionsi(u, v) and Δ φi(u, v), establishing an equation system, solving three parameters of a (u, v), b (u, v) and c (u, v) by a least square method, and finishing the operationAnd (5) calibrating the system.
The invention has the advantages that:
1. compared with the traditional calibration method that a displacement table is used for moving the standard plane for multiple times, the calibration method simplifies the calibration procedure without losing the rigor and improves the calibration speed of the measurement system;
2. the imaging plane of the calibration plate is fitted by using the characteristic point information on the calibration plate for calibration, so that the random error caused by moving the standard plane in the traditional method is reduced, and the calibration precision is effectively improved.
3. Since the precision guide rail is no longer required, the operation is convenient and the budget can be reduced.
Drawings
FIG. 1 is a schematic diagram of a three-dimensional measurement system of the present invention.
Fig. 2 is a three-dimensional measurement system geometry of the present invention.
FIG. 3 is a plot of the pixel coordinates of a marker point of the present invention.
FIG. 4 is a landmark pixel coordinate fitting plane of the present invention.
Detailed Description
The following description will be provided in detail with reference to the accompanying drawings, which are not intended to limit the present invention, and all similar structures and similar variations using the present invention shall fall within the scope of the present invention.
A flexible and high-precision structured light system calibration method is characterized in that a computer is used for generating fringe patterns of several specific frequencies to carry out four-step phase shift, and the four-step phase shift pattern of each frequency is projected onto a calibration plate with characteristic points; solving through a phase shift unwrapping algorithm to obtain a continuous phase value of the calibration plate; finally, obtaining the pixel coordinates of the circle center on the calibration plate and the internal and external parameters of the camera at each position by using a Zhang-friend calibration method, thereby obtaining the coordinates of the circle center on the calibration plate under a camera coordinate system, fitting the imaging plane of the calibration plate by using a plane fitting algorithm through the coordinates of the circle center camera, and then calibrating the measurement system through the distance between different imaging planes and the phase difference of the continuous phases of the different imaging planes; the method specifically comprises the following steps:
s1, establishing a three-dimensional measurement system: the system comprises a DLP projector, a CCD camera and a circle calibration plate; the DLP projector and the CCD camera can be placed at will;
s2, generating fringe patterns of several specific frequencies by using a computer to perform four-step phase shift, and projecting the four-step phase shift patterns of the frequencies onto a circular calibration plate with characteristic points;
and S3, using a camera calibration program to move the circular calibration plate forward for any time to calibrate the camera, and obtaining the internal and external parameters of the camera. A standard pinhole lens model that does not take into account lens distortion can be described mathematically as:
S[u v 1]T=A[R T][Xw Yw Zw 1]T (1)
for each calibration plate position, the world coordinate system is on the calibration plate, so its Z can be defined on the calibration plate w0, camera coordinate system [ X [ ]c Yc Zc]Can be expressed as:
Figure RE-GDA0003400508390000051
obtaining the three-dimensional coordinate X under the camera coordinate system of the center of a circle on the calibration plate at each positionc、Yc、 ZcAnd fitting the calibration plate by using a plane fitting algorithm to obtain an imaging plane of the calibration plate at each position in a camera coordinate system. Similarly, the calibration plate at the first position is a reference plane, and the fitting plane thereof can be expressed as:
Figure RE-GDA0003400508390000052
wherein (X)C YC ZC)TCamera coordinates representing the center of a circle on the calibration plate,
Figure RE-GDA0003400508390000061
friend indicates the camera coordinates of any point on the calibration plate, and i indicates the calibration plate at the ith position. The plane parameters A, B, C and D are solved by the least squares method, so the height of the point on the calibration plate at each position can be expressed as:
Figure RE-GDA0003400508390000062
subtracting the z value of the reference plane from the z value of each plane to obtain the height difference hi(u,v);
S4, obtaining phase information of each position of the circular calibration plate by using a phase shift method. Using the circle calibration plate at the first position as a reference plane, and subtracting the phase value of the corresponding point on the reference plane from the phase value of the circle calibration plate at each position to obtain several sets of phase difference information, which are marked as delta phii(u,v)。
S5, phase-height calibration, also called system geometry calibration. The corresponding relation between the phase difference delta phi (u, v) of the measured object and the height h (u, v) of the measured object is as follows:
Figure RE-GDA0003400508390000063
when the measuring system is fixed, the parameters a (u, v), b (u, v) and c (u, v) are regarded as system constants, and h is obtained by taking a plurality of different positionsi(u, v) and Δ φi(u, v), establishing an equation system, and solving three parameters of a (u, v), b (u, v) and c (u, v) by a least square method, thereby completing system calibration.
Without being limited thereto, any changes or substitutions that are not thought of through the inventive work should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope defined by the claims.

Claims (1)

1. A flexible and high-precision structured light system calibration method is characterized in that: the method uses a computer to generate fringe patterns of several specific frequencies to carry out four-step phase shift, and the four-step phase shift pattern of each frequency is projected on a calibration plate with characteristic points; solving through a phase shift unwrapping algorithm to obtain a continuous phase value of the calibration plate; finally, obtaining the pixel coordinates of the circle center on the calibration plate and the internal and external parameters of the camera at each position by using a Zhang-friend calibration method, thereby obtaining the coordinates of the circle center on the calibration plate under a camera coordinate system, fitting the imaging plane of the calibration plate by using a plane fitting algorithm through the coordinates of the circle center camera, and then calibrating the measurement system through the distance between different imaging planes and the phase difference of the continuous phases of the different imaging planes; the method specifically comprises the following steps:
s1, establishing a three-dimensional measurement system: the system comprises a DLP projector, a CCD camera and a circle calibration plate; the DLP projector and the CCD camera can be placed at will;
s2, generating fringe patterns of several specific frequencies by using a computer to perform four-step phase shift, and projecting the four-step phase shift patterns of the frequencies onto a circular calibration plate with characteristic points;
s3, using a camera calibration program to move the circular calibration plate forward for multiple times to calibrate the camera to obtain the internal and external parameters of the camera; a standard pinhole lens model that does not take into account lens distortion can be described mathematically as:
S[u v 1]T=A[R T][Xw Yw Zw 1]T (1)
for each calibration plate position, the world coordinate system is on the calibration plate, so its Z can be defined on the calibration platew0, camera coordinate system [ X [ ]c Yc Zc]Can be expressed as:
Figure RE-FDA0003400508380000011
obtaining the three-dimensional coordinate X under the camera coordinate system of the center of a circle on the calibration plate at each positionc、Yc、ZcFitting the calibration plate by using a plane fitting algorithm to obtain an imaging plane of the calibration plate at each position in a camera coordinate system; similarly, the calibration board at the first position is a reference plane, and the fitting plane thereof can be representedComprises the following steps:
Figure RE-FDA0003400508380000021
wherein (X)C YC ZC)TCamera coordinates representing the center of a circle on the calibration plate,
Figure RE-FDA0003400508380000022
the camera coordinates of any point on the calibration plate are represented, and i represents the calibration plate at the ith position; the plane parameters A, B, C and D are solved by the least squares method, so the height of the point on the calibration plate at each position can be expressed as:
Figure RE-FDA0003400508380000023
subtracting the z value of the reference plane from the z value of each plane to obtain the height difference hi(u,v);
S4, phase information of each position of the circular calibration plate is obtained by using a phase shift method; using the circle calibration plate at the first position as a reference plane, and subtracting the phase value of the corresponding point on the reference plane from the phase value of the circle calibration plate at each position to obtain several sets of phase difference information, which are marked as delta phii(u,v);
S5, phase-height calibration, also called system geometric parameter calibration; the corresponding relation between the phase difference delta phi (u, v) of the measured object and the height h (u, v) of the measured object is as follows:
Figure RE-FDA0003400508380000024
when the measuring system is fixed, the parameters a (u, v), b (u, v) and c (u, v) are regarded as system constants, and h is obtained by taking a plurality of different positionsi(u, v) and Δ φi(u, v), establishing an equation set, solving three parameters of a (u, v), b (u, v) and c (u, v) by a least square method, and finishing system calibration until the three parameters are obtained。
CN202111151755.8A 2021-09-29 2021-09-29 Flexible and high-precision structured light system calibration method Active CN113932737B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111151755.8A CN113932737B (en) 2021-09-29 2021-09-29 Flexible and high-precision structured light system calibration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111151755.8A CN113932737B (en) 2021-09-29 2021-09-29 Flexible and high-precision structured light system calibration method

Publications (2)

Publication Number Publication Date
CN113932737A true CN113932737A (en) 2022-01-14
CN113932737B CN113932737B (en) 2023-05-02

Family

ID=79277249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111151755.8A Active CN113932737B (en) 2021-09-29 2021-09-29 Flexible and high-precision structured light system calibration method

Country Status (1)

Country Link
CN (1) CN113932737B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570553A (en) * 2004-05-13 2005-01-26 上海交通大学 Composite calibration method of mold surface optical measurement system
US20070115484A1 (en) * 2005-10-24 2007-05-24 Peisen Huang 3d shape measurement system and method including fast three-step phase shifting, error compensation and calibration
DE102010012227A1 (en) * 2010-03-19 2011-12-01 Deutsches Zentrum für Luft- und Raumfahrt e.V. Method for determination of alignment of receiver for radio signals of e.g. global positioning system in external coordinate system during sports, involves determining geometric parameter as reference parameter for alignment of receiver
CN104729429A (en) * 2015-03-05 2015-06-24 深圳大学 Calibration method of telecentric imaging three-dimension topography measuring system
CN112598747A (en) * 2020-10-15 2021-04-02 武汉易维晟医疗科技有限公司 Combined calibration method for monocular camera and projector
US20210254968A1 (en) * 2020-02-17 2021-08-19 Purdue Research Foundation Method and System for Automatic Focusing for High-Resolution Structured Light 3D Imaging
CN115127481A (en) * 2022-06-29 2022-09-30 苏州赫芯科技有限公司 Stripe projection 3D measuring method, terminal device and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570553A (en) * 2004-05-13 2005-01-26 上海交通大学 Composite calibration method of mold surface optical measurement system
US20070115484A1 (en) * 2005-10-24 2007-05-24 Peisen Huang 3d shape measurement system and method including fast three-step phase shifting, error compensation and calibration
DE102010012227A1 (en) * 2010-03-19 2011-12-01 Deutsches Zentrum für Luft- und Raumfahrt e.V. Method for determination of alignment of receiver for radio signals of e.g. global positioning system in external coordinate system during sports, involves determining geometric parameter as reference parameter for alignment of receiver
CN104729429A (en) * 2015-03-05 2015-06-24 深圳大学 Calibration method of telecentric imaging three-dimension topography measuring system
US20210254968A1 (en) * 2020-02-17 2021-08-19 Purdue Research Foundation Method and System for Automatic Focusing for High-Resolution Structured Light 3D Imaging
CN112598747A (en) * 2020-10-15 2021-04-02 武汉易维晟医疗科技有限公司 Combined calibration method for monocular camera and projector
CN115127481A (en) * 2022-06-29 2022-09-30 苏州赫芯科技有限公司 Stripe projection 3D measuring method, terminal device and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张静 等: "结构光三维成像技术研究进展" *

Also Published As

Publication number Publication date
CN113932737B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN100408972C (en) Three dimension object contour phase measuring method based on double frequency color strip projection
CN105783775B (en) A kind of minute surface and class minute surface object surface appearance measuring device and method
Zhao et al. Calibration for stereo vision system based on phase matching and bundle adjustment algorithm
CN110849268B (en) Quick phase-height mapping calibration method
Xie et al. Simultaneous calibration of the intrinsic and extrinsic parameters of structured-light sensors
CN111207693A (en) Three-dimensional measurement method of turbine blade ceramic core based on binocular structured light
CN110378969A (en) A kind of convergence type binocular camera scaling method based on 3D geometrical constraint
CN108036740A (en) Three-dimensional colour measuring system and method during a kind of high-precision real based on various visual angles
Zhu et al. Noncontact 3-D coordinate measurement of cross-cutting feature points on the surface of a large-scale workpiece based on the machine vision method
CN112132890B (en) Calibration method of digital grating projection measurement system for enlarging calibration space
CN106546193B (en) Three-dimensional measurement method and system for surface of high-reflection object
CN111811433A (en) Structured light system calibration method and device based on red and blue orthogonal stripes and application
CN107727002B (en) Structure for shadow Moire parameter calibration, calibration method and offset error elimination method
CN110017770A (en) A kind of vision-based detection scaling method applied to three coordinate measuring machine
Zexiao et al. Study on a full field of view laser scanning system
CN113932737B (en) Flexible and high-precision structured light system calibration method
CN106959079A (en) A kind of modified focuses on 3 D measuring method
CN107808399B (en) Method and system for measuring angle change of camera based on moire fringes
Hong et al. An AFM-based methodology for planar size and local 3D parameters of large workpieces
CN109883353B (en) Dynamic three-dimensional measurement method for rigid moving object
CN107084686A (en) A kind of many finishing tool scanning survey methods of the dynamic of movement-less part
CN112212805B (en) Efficient three-dimensional phase unwrapping method based on composite coding
Qin et al. 3-D shape measurement of complex objects by combining color-coded fringe and neural networks
CN110006364B (en) Three-dimensional real-time microscopic measurement method based on circular stripe radial space carrier phase shift
CN116485993A (en) Real-time panoramic three-dimensional reconstruction method based on virtual stereoscopic unwrapping method

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