CN117095065A - Calibration method, system and equipment for linear spectrum copolymerization Jiao Weiyi sensor - Google Patents
Calibration method, system and equipment for linear spectrum copolymerization Jiao Weiyi sensor Download PDFInfo
- Publication number
- CN117095065A CN117095065A CN202311202417.1A CN202311202417A CN117095065A CN 117095065 A CN117095065 A CN 117095065A CN 202311202417 A CN202311202417 A CN 202311202417A CN 117095065 A CN117095065 A CN 117095065A
- Authority
- CN
- China
- Prior art keywords
- calibration
- light source
- coordinates
- linear light
- calibration object
- 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
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000001228 spectrum Methods 0.000 title claims abstract description 42
- 238000007334 copolymerization reaction Methods 0.000 title abstract description 5
- 238000013519 translation Methods 0.000 claims abstract description 27
- 238000006243 chemical reaction Methods 0.000 claims abstract description 8
- 230000003595 spectral effect Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 12
- 238000006073 displacement reaction Methods 0.000 claims description 8
- 229920001577 copolymer Polymers 0.000 claims description 7
- 239000006185 dispersion Substances 0.000 description 11
- 238000001914 filtration Methods 0.000 description 5
- 238000003384 imaging method Methods 0.000 description 5
- 239000003550 marker Substances 0.000 description 5
- 238000005259 measurement Methods 0.000 description 5
- 238000007689 inspection Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 101100533306 Mus musculus Setx gene Proteins 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000002238 attenuated effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/02—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
-
- 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
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30244—Camera pose
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The application discloses a calibration method, a system and equipment of a linear spectrum copolymerization Jiao Weiyi sensor, wherein the method comprises the following steps: changing the relative pose of the calibration object and the linear light source; recording real coordinates of characteristic points on the surface of the calibration object covered by the linear light source before and after the movement; collecting the spectrum center points of the surface of the calibration object before and after the relative pose is changed, and respectively fitting into a collection curve before and after the movement; selecting any central characteristic point of the integrated curve, determining an integrated curve section between the central characteristic point and two adjacent characteristic points on two sides, and fitting an intersection point or an extension intersection point of the two integrated curve sections; and establishing a corresponding relation between the intersection point coordinates and the corresponding real characteristic point coordinates, and calculating calibration parameters of line spectrum confocal. According to the application, through rotation and translation, the collection number of the characteristic points is effectively increased, so that the calibration precision is obviously improved; and the conversion from the pixel point to the space point is completed by establishing a one-to-one correspondence between the space point and the pixel point, so that the calibration of the line spectrum confocal system is realized.
Description
Technical Field
The application belongs to the field of spectrum confocal, and particularly relates to a calibration method, a system and equipment of a linear spectrum copolymerization Jiao Weiyi sensor.
Background
The spectrum confocal is a non-contact three-dimensional measurement technology using an optical method, broad spectrum complex color light emitted by a light source is converged at different axial positions through a dispersion lens, and only monochromatic light meeting confocal conditions can be detected to the greatest extent by a spectrometer. The distance of the object surface in the axial direction can be deduced by measuring the peak wavelength. According to the measurement mode, the method can be divided into a point confocal system and a line confocal system, and the real space coordinates are reversely deduced according to the pattern shot by the sensor. And due to the influence of factors such as nonlinearity of chromatic dispersion, distortion of a chromatic dispersion lens, distortion of an imaging spectrometer and the like, the confocal system needs to be subjected to distortion correction.
The traditional distortion correction method is usually a Zhang's calibration method and an improvement method thereof, but in a spectrum confocal system, a sensor only records returned spectrum information, an image of a photographed object is not directly obtained, and calibration by a conventional method is difficult.
The spectral confocal measuring system based on the spectral confocal technology utilizes the dispersive objective lens group to ensure that a light source is dispersed after being focused by the dispersive objective lens group, continuous monochromatic light focuses which are different from the dispersive lens are formed on an optical axis, so that the corresponding relation between the wavelength and the axial distance is established, and then the spectral information after the surface of an object to be measured is reflected is obtained by utilizing a spectrometer and the like, so that the corresponding position information is obtained. If the light source is a small hole, final focusing imaging is a point, which is called point scanning confocal; if the light source is a line light source that passes through the slit, the final image is a scan line, known as line scan confocal.
Patent CN114754676a discloses a linear spectrum confocal calibration method, device, equipment, system and storage medium, and proposes to collect a sensor imaging image formed by measuring a calibration plate by using the calibration plate in the range of the linear spectrum confocal sensor, and perform position calibration, peak calibration and distance test to obtain a sensor calibration result. The method is similar to the calibration flow of the point confocal system, and only the axial direction of the system is calibrated, namely, only the sensor image and the axial position are calibrated, and the actual transverse position corresponding to each point on the sensor image cannot be calibrated.
In summary, the prior art has the following disadvantages:
(1) In the traditional spectrum confocal system, a sensor only records returned spectrum information, an object image is not directly acquired, and calibration by a conventional method is difficult;
(2) In the existing linear spectrum confocal calibration method, only the sensor image and the axial position are calibrated, and the actual transverse position corresponding to each point on the sensor image cannot be calibrated.
Disclosure of Invention
The application aims to overcome the problems in the prior art and provide a calibration method, a calibration system and calibration equipment for a linear spectrum copolymerization Jiao Weiyi sensor.
In order to achieve the technical purpose and the technical effect, the application is realized by the following technical scheme:
a method for calibrating a linear spectral copolymer Jiao Weiyi sensor, comprising the steps of:
changing the relative pose of the calibration object and the linear light source;
recording real coordinates of characteristic points on the surface of the calibration object covered by the linear light source before and after the movement;
collecting the spectrum center points of the surface of the calibration object before and after the relative pose is changed, and respectively fitting into a collection curve before and after the movement;
selecting any central characteristic point of the integrated curve, determining an integrated curve section between the central characteristic point and two adjacent characteristic points on two sides, and fitting an intersection point or an extension intersection point of the two integrated curve sections;
and establishing a corresponding relation between the intersection point coordinates and the corresponding real characteristic point coordinates, and calculating calibration parameters of line spectrum confocal.
Further, changing the relative pose of the marker and the line light source, including rotation and/or translation of the marker or the line light source, the amount of rotation or translation being known.
Further, recording real coordinates of feature points of a surface of the calibration object covered by the linear light source before and after the movement, including:
and determining the real coordinates of the characteristic points of the surface of the calibration object covered by the linear light source after changing the relative pose of the calibration object and the linear light source according to the known rotation amount or translation amount and the known surface information of the calibration object.
Further, the aggregate curve segment is connected directly with the central feature point or through a continuous aggregate curve.
Further, the collection curve has feature points with different heights relative to the line light source.
Further, the calibration parameters are calculated by a least square method.
And further, the method also comprises calibration inspection, which is used for detecting whether the calibration parameters are successful, collecting the coordinates of the feature points after the conversion of the calibration objects by replacing or moving the calibration objects, and calculating whether the difference value between the calibration coordinate values and the real coordinate values of the corresponding feature points after the conversion of the calibration objects is in the inspection threshold range or not based on the calibration parameters.
Further, there is a known corresponding curve equation on the surface of the calibration object.
The application also provides a calibration system of the line spectrum confocal displacement sensor, which comprises the following steps:
the linear light source module irradiates the surface of the calibration object after being dispersed by the lens group;
the surface of the calibration object irradiated by the linear light source is provided with a plurality of characteristic points with different relative linear light source heights, and the relative positions of the characteristic points are known;
the calibration moving module moves the pose of the calibration relative to the linear light source module, and the movement comprises rotation and/or translation of a calibration object or a linear light source, wherein the rotation amount or the translation amount is known;
and the calibration operation module is used for executing the calibration method.
The application also proposes a device comprising a memory and a processor, the memory storing a computer program for execution by the processor, the computer program being arranged to perform the calibration method described above when run.
The application also proposes a computer-readable storage medium comprising a computer program which, when executed by a processor, implements the above-mentioned calibration method.
The beneficial effects of the application are as follows:
(1) According to the application, through rotation and translation, the collection number of the characteristic points is effectively increased, so that the calibration precision is obviously improved;
(2) According to the method, the conversion from the pixel point to the space point is completed by establishing the one-to-one correspondence between the space point and the pixel point, so that the calibration of the line spectrum confocal system is realized;
(3) The application can simultaneously calibrate the axial transverse position mapping relation between the two-dimensional plane of the sensor and the actual space by utilizing the constructed space characteristic points;
(4) The application has simple flow and convenient operation, and effectively saves labor and time cost;
(5) The fitting model is simple and universal, and the calibration precision is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart of a line spectrum confocal calibration method in the application;
FIG. 2 is a schematic diagram of the implementation of the line spectrum confocal calibration method in the application;
FIG. 3 is a schematic representation of a first embodiment of the measurement signal obtained by a marker cross section and line spectral confocal sensor of the application;
FIG. 4 is a schematic representation of a second embodiment of the measurement signal obtained by the marker cross section and line spectral confocal sensor of the application;
FIG. 5 is a schematic representation of a third embodiment of the measurement signal obtained by a marker cross section and line spectral confocal sensor of the application;
fig. 6 is a schematic diagram of a coordinate system in the present application.
Description of the embodiments
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
As shown in fig. 1, the present embodiment first provides a calibration method for a line spectrum confocal displacement sensor, which includes the following steps:
s1: changing the relative pose of the calibration object and the linear light source, including the rotation and/or translation of the calibration object or the linear light source, wherein the rotation or translation is known, and collecting characteristic points on the calibration object at different positions by controlling the rotation and/or translation of the space of the calibration object or the linear light source, increasing the number of the characteristic points and improving the calibration precision;
s2: recording the real coordinates of the characteristic points of the surface of the calibration object covered by the linear light source before and after the movement, and determining the real coordinates of the characteristic points of the surface of the calibration object covered by the linear light source after changing the relative pose of the calibration object and the linear light source according to the known rotation amount or translation amount and the known surface information of the calibration object, wherein the specific steps are as follows:
preferably, the calibration object is a three-dimensional calibration plate, comprising a plurality of inclined planes with known intervals, intersecting lines of adjacent planes are parallel to each other and have known intervals, and the plane of the scanning line is perpendicular to the bottom surface of the three-dimensional calibration object and the intersecting lines of the inclined planes thereof.
S201, moving the three-dimensional calibration plate, and recording each moving position;
s202, according to each moving position recorded in the step S201, setting the moving position to be [ z ] 1 ,z 2 ,z 3 ,...,z n ]Finding a reference zero point in the middle to obtain Z coordinates corresponding to all intersection points of each position;
s203, as the distance between the vertical lines of the calibration plate is known, a certain vertical line can be selected as an X-axis reference zero point, and then an X coordinate corresponding to each characteristic point of the current position can be obtained;
and obtaining the real characteristic point coordinates of the intersection point according to the steps.
However, the number of feature points that can be acquired is limited by only vertical translation. Therefore, the acquisition number of the characteristic points can be increased through known rotation and translation.
Rotation and translation are controlled by a six-axis control platform. Wherein, the XYZ three-axis translation is controlled by the lifting platform and the translation platform, and the XYZ three-axis rotation is controlled by the angular displacement platform. The lifting platform and the translation platform are provided with scales, so that translation movement at a specified distance can be realized; the angular displacement table is also provided with scales, and can also realize the rotation of a designated angle. Thus, the subsequent rotation and translation may be considered to be known in terms of both the angle of rotation and the amount of translation.
Assume that world coordinates corresponding to the extracted spectrum center point coordinates arePwTaking outPwThe part of (a) is [ (a) and (b)x,y,z) Herex,y,z) Compared to the reference origin. The lifting platform and the translation platform translate, the angular displacement platform rotates, and the three-axis translational momentum is assumed to be%tx,ty,tz) The rotation angle isThe transformation of the rotation angle and the rotation matrix can be realized according to the Rodrigas formula, and therefore, the rotation angle can be converted into the rotation matrix R 3×3 Then for the known world coordinates # -x,y,z) After rotation and translation, the corresponding coordinates arex’,y’,z’) The method comprises the following steps:
similarly, the characteristic point set before rotation, namely the coordinate point at the position of the wave crest and the wave troughP f After rotation, the corresponding coordinatesP’ f Can be calculated from the above formula. The coordinate system established in the original image, as shown in figure 6,P 1 、P 3 andP 4 lying in a planey=0,P 1 、P 2 AndP 3 the two surfaces of the two surfaces are coplanar,P 2 、P 3 andP 4 coplanar. Meanwhile, since the structure of the calibration plate is knownP 1 、P 2 、P 3 AndP 4 the rotated coordinates can be obtained by the above formula and written asP 1 ' 、P 2 ' 、P 3 ' AndP 4 ' 。
since three points can define a plane, andP 1 、P 2 、P 3 andP 4 is an ideal value and therefore the estimated plane is also ideal. The coplanarity relation is unchanged before and after the rotation of the calibration plate, namelyP 1 ' 、P 2 ' AndP 3 ' the two surfaces of the two surfaces are coplanar,P 2 ' 、P 3 ' andP 4 ' coplanarity and corresponding fitted plane equations are respectively:
at the same time, planey=0A vertical plane which is marked on the calibration plate by laser and is intersected with the characteristic point before rotationP 1 、P 3 AndP 4 the rotated laser-driven vertical plane is stilly=0The coordinates of the feature points on the corresponding calibration plate satisfy the following conditions:
in the above formula, the plane equation parameter b is known 1 ,c 1 ,d 1 And b 2 ,c 2 ,d 2 According toy=0It can be seen that the unknowns can be calculated from the above equation setx,zAnd further obtaining coordinates of the feature points.
S3: collecting the center points of each spectrum on the surface of the calibration object before and after the movement of the calibration object, and respectively fitting into a collection curve before and after the movement;
as shown in fig. 2, a calibration object is placed below the line light source with the line spectrum confocal, and the calibration object is installed in the range of the line spectrum confocal sensor; the linear light beam with wide spectrum is emitted by the linear light source, and light with different wavelengths is focused at different positions through the dispersion of the dispersion objective lens in the lens, and forms a confocal plane, and then irradiates the surface of the calibration object.
The light in different focal planes of the linear beam is reflected by the surfaces of the calibration object at different heights. The reflected light passes through the conjugate slit of the spectrometer and is focused on the area array sensor through the original illumination light path of the single-axis system or the imaging light path of the double-axis system.
And the spectrometer decodes the spectrum data of the reflected light acquired by the area array sensor to obtain the surface depth information of the calibration object in the area covered by the incident light.
The central position of the line light source incident to the surface of the calibration object corresponds to the spectral center point of the corresponding pixel on the surface of the area array sensor. The plurality of spectrum center points can fit a collection curve corresponding to the real space curve on the surface of the line light source covering calibration object.
Only the light focused on the surface of the calibration object can enter an imaging light path to be collected by the area array camera, and the defocused light is greatly attenuated, so that the depth of the surface of the calibration object obtained by the spectrometer does not exceed the dispersion range of the linear light source. Thus, the aggregate curve may have a discontinuous curve. And if the number of the characteristic points in the integrated curve is smaller or is 0, adjusting the distance between the calibration object and the linear light source to enable the number of the characteristic points in the integrated curve to be larger, and improving the calibration precision.
And collecting a spectral distribution image corresponding to the reflected scanning line by using a sensor, extracting spectral information peak coordinate points according to rows or columns, and fitting according to each coordinate point to obtain sensor pixel coordinates corresponding to the surface curve of the calibration object and the characteristic points.
In order to further improve the calibration precision, besides the known characteristic point information of the surface of the calibration object, a curve equation corresponding to the surface of the calibration object can be provided, and precision support is provided for fitting pixel coordinates.
Fitting to obtain a calibration object surface curve, specifically, extracting characteristic points in the calibration object surface curve by setting wave crests and wave troughs with different known heights, wherein the wave crests and the wave troughs can be curves. If the peak or trough is curved, the corresponding laser line center point coordinates should be fit to the curve. The corresponding curve equation should be:
wherein a is a fitting coefficient, and the curve fitting method is the same as the random consistency sampling algorithm. Common curve equations are polynomial curve equations.
S4: and selecting any central characteristic point in the integrated curve, determining an integrated curve section between the central characteristic point and two adjacent characteristic points on two sides, and fitting an intersection point or an extension intersection point of the two integrated curve sections.
The characteristic points are points with larger curvature on the image edge, namely curve wave peak points, wave valley points and inflection points.
In the integrated curve, any characteristic point is taken, the characteristic point is taken as a central characteristic point, the integrated curve segments between two adjacent characteristic points on two sides of the characteristic point are taken, and the intersection points or extension intersection points of the two integrated curve segments are fitted.
If the aggregate curve segment between the non-adjacent feature points on either side of the center feature point, the fitted extension intersection point cannot correspond to the center feature point.
The pixel coordinates of the intersection point of the scanning line and the inclined plane intersection line are extracted from the spectrum distribution image, and the specific steps are as follows:
s401, setting a spectrum distribution image as I 1 For I 1 Sequentially performing Gaussian filtering, median filtering and thresholding to obtain a processed graph I 2 The method comprises the steps of carrying out a first treatment on the surface of the The spectrum distribution of the processed image is obvious, the operation of extracting the center point is convenient, and the accuracy of the subsequent calibration is improved;
s402, extracting I 2 The coordinates of the spectral center point corresponding to the mid-reflection linear dispersion light are recorded aspointsThe method comprises the steps of carrying out a first treatment on the surface of the The spectrum of incident linearly dispersed light returned after projection on the object is not ideal monochromatic light,but has a spectrum distribution with a certain width, at this time, the center point of the spectrum distribution needs to be extracted, and then the center line is formed, namely the ideal spectrum signal. For the technology of extracting the line center point, a gray level gravity center method, a Gaussian fitting method and the like are common;
s403, extracting I 2 Pixel coordinates u and v of intersection points of reflective linear dispersion light and inclined plane intersection lines in the image; specifically, the method further comprises the following steps:
s4031, for the extracted spectrum center point coordinatespointsSmoothing to obtain a sequence curve S;
as shown in fig. 3, as a first embodiment, a sequence curve S is formed by connecting two straight lines intersecting each other, specifically as follows:
s4032a, obtaining coordinates corresponding to the wave crest and the wave trough in the sequence curve S, and marking as u 0 、v 0 Filtering out other interference wave crest and wave trough coordinates;
s4033a, atpointsFind the abscissa at [ v ] 0 -n,v 0 +n]Coordinate points within the range, [ v ] 0 -n,v 0 +m][ v ] 0 +m,v 0 +n]Fitting coordinate points in the range by adopting a preset least square method respectively to obtain a linear equation y corresponding to inclined planes on two sides of the intersection point 1 =k 1 x+b 1 Y 2 =k 2 x+b 2 The method comprises the steps of carrying out a first treatment on the surface of the Wherein k is 1 、b 1 、k 2 、b 2 Are fitting coefficients, m and n are preset parameters, n>m>0;
S4034a, calculating the intersection coordinates of two straight lines, namely the pixel coordinates u and v of the intersection point of the inclined plane to be extracted and the incident linear dispersion light.
As shown in fig. 4, as a second embodiment, the sequence curve S may also be formed by intersecting a straight line and a sinusoidal line, specifically as follows:
s4032b, obtaining coordinates corresponding to the wave crest and the wave trough in the sequence curve S, and marking as u 0 、v 0 Filtering out other interference wave crest and wave trough coordinates;
s4033b atpointsFind the abscissa at [ v ] 0 -n,v 0 +n]Coordinate points within the range, [ v ] 0 -n,v 0 -m][ v ] 0 +m,v 0 +n]Fitting coordinate points in the range by adopting a preset least square method respectively to obtain a linear equation y corresponding to inclined planes on two sides of the intersection point 1 =k 1 x+b 1 And sinusoidal equation y=asin (ωx+Φ) +b; wherein k is 1 、b 1 The A, omega, phi and B are fitting coefficients, m and n are preset parameters, n>m>0;
S4034b, calculating intersection coordinates of the straight line and the sinusoidal curve, wherein the coordinates are pixel coordinates u and v of intersection points of the inclined plane to be extracted and the incident linear dispersion light.
As shown in fig. 5, as a third embodiment, the sequence curve S may also be formed by connecting two sinusoidal curves in an intersecting manner, specifically as follows:
s4032c, obtaining coordinates corresponding to the wave crest and the wave trough in the sequence curve S, and marking as u 0 、v 0 Filtering out other interference wave crest and wave trough coordinates;
s4033c atpointsFind the abscissa at [ v ] 0 -n,v 0 +n]Coordinate points within the range, [ v ] 0 -n,v 0 -m][ v ] 0 +m,v 0 +n]Fitting coordinate points in the range by adopting a preset least square method respectively to obtain two sinusoidal equations y corresponding to inclined planes on two sides of the intersection point 1 =A 1 sin(ω 1 x+φ 1 )+B 1 Y 2 =A 2 sin(ω 2 x+φ 2 )+B 2 The method comprises the steps of carrying out a first treatment on the surface of the Wherein A is 1 、ω 1 、φ 1 、B 1、 A 2 、ω 2 、φ 2 、B 2 Are fitting coefficients, m and n are preset parameters, n>m>0;
S4034c, calculating the intersection coordinates of the two sinusoids, wherein the coordinates are the pixel coordinates u and v of the intersection point of the inclined plane to be extracted and the incident linear dispersion light.
The two fitting set curve segments intersect or extend to intersect to form an intersection point.
And before and after the calibration object or the linear light source moves, acquiring pixel coordinates of intersection points of the scanning lines and the inclined surface at each moving position according to the steps.
S5: establishing a corresponding relation between the intersection point coordinates and corresponding real characteristic point coordinates, and calculating calibration parameters of line spectrum confocal;
firstly, extracting real characteristic point coordinates (X, Z) corresponding to each intersection point in the step S4, and corresponding pixel coordinates (u, v) of characteristic points on the whole sensor plane to the real characteristic point coordinates (X, Z) one by one;
secondly, establishing a fitting model of real feature point coordinates X and Z relative to pixel coordinates:
wherein N is the highest term frequency, and a and b are fitting coefficients;
and finally, calculating the model parameters by adopting a preset least square method to obtain the calibration parameters of the line scanning confocal system.
The central characteristic point and the two adjacent characteristic points on two sides of the central characteristic point can be directly connected or connected through continuous aggregation curves. When the collection curve segment between two adjacent characteristic points on two sides is selected, the collection curve segment comprises the central characteristic point, or the collection curve segment does not comprise the central characteristic point.
When the selected combined curve segment comprises the central characteristic point, the combined curve segment is directly connected with the central characteristic point, and the combined curve segment is fitted;
when the selected integrated curve segment does not comprise the central characteristic point, the integrated curve segment is connected with the central characteristic point through a continuous integrated curve, the integrated curve segment conforming to the curve equation type is fitted by matching with the actual curve equation type of the calibration object covered by the linear light source, and the integrated curve segment extends towards the central characteristic point by combining with the actual curve equation.
The two fitting set curve segments intersect or extend to intersect to form an intersection point.
For the calculated calibration parameters, whether the calibration parameters are successful or not can be detected through calibration inspection, the coordinates of the feature points after conversion of the calibration objects can be collected through replacement or movement of the calibration objects, and based on the calibration parameters, the difference value between the calibration coordinate values and the real coordinate values of the corresponding feature points after conversion of the calibration objects is calculated, and whether the difference value is in the inspection threshold range or not is judged, wherein the specific steps are as follows:
s501, scanning lines of a control line scanning confocal system are beaten on a three-dimensional calibration object;
s502, randomly moving the high-precision displacement table, collecting a scanning line reflection spectrogram at a sensor of each random motion position control line scanning confocal system, and recording each motion position;
s503, recording a plurality of positions, collecting a plurality of spectrum images, and selecting one position as a reference position;
s504, identifying pixel coordinates of intersection points of the scanning lines and the inclined plane in each image, converting the central pixel coordinates into space coordinates according to the calibration parameters obtained above, and calculating the calibration coordinates of the current intersection points by subtracting the coordinates of the reference positions from the current coordinates;
s505, obtaining the real coordinates of the current intersection point relative to the reference position according to the current position minus the reference position;
s506, calculating a difference value between the real coordinates and the calculated calibration coordinates;
s507, judging whether the difference value is smaller than a given threshold value;
s508, judging whether the difference values of all the positions are smaller than a given threshold value, if yes, judging that the calibration is successful, otherwise, outputting that the calibration is unsuccessful.
The second aspect of the present application also provides a calibration system for a line spectrum confocal displacement sensor, comprising:
the linear light source module irradiates the surface of the calibration object after being dispersed by the lens group;
the surface of the calibration object irradiated by the linear light source is provided with a plurality of characteristic points with different relative linear light source heights, and the relative positions of the characteristic points are known;
the calibration moving module moves the pose of the calibration relative to the linear light source module, and the movement comprises rotation and/or translation of a calibration object or a linear light source, wherein the rotation amount or the translation amount is known;
and the calibration operation module is used for executing the line spectrum confocal calibration method.
The third aspect of the application also provides an apparatus comprising a memory and a processor, the memory having stored therein a computer program for execution by the processor, the computer program being arranged to perform the above-described line spectral confocal calibration method when run.
The fourth aspect of the present application also provides a computer readable storage medium comprising a computer program, characterized in that the computer program, when executed by a processor, implements the line spectrum confocal calibration method described above.
The storage medium may include, but is not limited to: various media capable of storing computer programs, such as a USB flash disk, a read-only memory, a random access memory, a removable hard disk, a magnetic disk or an optical disk.
In the description of the present specification, the descriptions of the terms "one embodiment," "example," "specific example," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing has shown and described the basic principles, principal features and advantages of the application. It will be understood by those skilled in the art that the present application is not limited to the embodiments described above, and that the above embodiments and descriptions are merely illustrative of the principles of the present application, and various changes and modifications may be made without departing from the spirit and scope of the application, which is defined in the appended claims.
Claims (10)
1. A method for calibrating a linear spectrum copolymer Jiao Weiyi sensor, which is characterized by comprising the following steps:
changing the relative pose of the calibration object and the linear light source;
recording real coordinates of characteristic points on the surface of the calibration object covered by the linear light source before and after the movement;
collecting the spectrum center points of the surface of the calibration object before and after the relative pose is changed, and respectively fitting into a collection curve before and after the movement;
selecting any central characteristic point of the integrated curve, determining an integrated curve section between the central characteristic point and two adjacent characteristic points on two sides, and fitting an intersection point or an extension intersection point of the two integrated curve sections;
and establishing a corresponding relation between the intersection point coordinates and the corresponding real characteristic point coordinates, and calculating calibration parameters of line spectrum confocal.
2. A method of calibrating a linear spectral copolymer Jiao Weiyi sensor according to claim 1, wherein changing the relative pose of the calibration object and the linear light source comprises rotating and/or translating the calibration object or the linear light source by a known amount.
3. The method for calibrating a linear spectral copolymer Jiao Weiyi sensor according to claim 2, wherein recording the real coordinates of the feature points of the surface of the calibration object covered by the linear light source before and after the movement comprises:
and determining the real coordinates of the characteristic points of the surface of the calibration object covered by the linear light source after changing the relative pose of the calibration object and the linear light source according to the known rotation amount or translation amount and the known surface information of the calibration object.
4. A line spectral copolymer Jiao Weiyi sensor calibration method according to claim 1, wherein the aggregate curve segments are connected directly to the central feature points or by continuous aggregate curves.
5. The method for calibrating a linear spectral copolymer Jiao Weiyi sensor according to claim 1, wherein the integrated curves have feature points with different heights relative to the linear light source.
6. The method for calibrating a linear spectral copolymer Jiao Weiyi sensor according to claim 1, wherein the calibration parameters are calculated by a least square method.
7. The method according to claim 1, further comprising calibration checking for detecting whether the calibration parameters are successful, collecting coordinates of the feature points after conversion of the calibration object by replacing or moving the calibration object, and calculating whether the difference between the calibration coordinates and the actual coordinates of the corresponding feature points after conversion of the calibration object is within the checking threshold range based on the calibration parameters.
8. A line spectrum confocal displacement sensor calibration system, comprising:
the linear light source module irradiates the surface of the calibration object after being dispersed by the lens group;
the surface of the calibration object irradiated by the linear light source is provided with a plurality of characteristic points with different relative linear light source heights, and the relative positions of the characteristic points are known;
the calibration moving module moves the pose of the calibration relative to the linear light source module, and the movement comprises rotation and/or translation of a calibration object or a linear light source, wherein the rotation amount or the translation amount is known;
a calibration operation module for performing the calibration method according to any one of claims 1-7.
9. An apparatus comprising a memory and a processor, the memory having stored therein a computer program for execution by the processor, the computer program being arranged to perform the calibration method of any of claims 1-7 when run.
10. A computer readable storage medium comprising a computer program, characterized in that the computer program, when executed by a processor, implements the calibration method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311202417.1A CN117095065B (en) | 2023-09-18 | 2023-09-18 | Calibration method, system and equipment for linear spectrum copolymerization Jiao Weiyi sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311202417.1A CN117095065B (en) | 2023-09-18 | 2023-09-18 | Calibration method, system and equipment for linear spectrum copolymerization Jiao Weiyi sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117095065A true CN117095065A (en) | 2023-11-21 |
CN117095065B CN117095065B (en) | 2024-06-11 |
Family
ID=88769983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311202417.1A Active CN117095065B (en) | 2023-09-18 | 2023-09-18 | Calibration method, system and equipment for linear spectrum copolymerization Jiao Weiyi sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117095065B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117906633A (en) * | 2024-03-19 | 2024-04-19 | 水利部交通运输部国家能源局南京水利科学研究院 | Non-contact ship motion and displacement monitoring device suitable for ship lift test |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107218904A (en) * | 2017-07-14 | 2017-09-29 | 北京航空航天大学 | A kind of line structured light vision sensor calibration method based on sawtooth target |
CN107255443A (en) * | 2017-07-14 | 2017-10-17 | 北京航空航天大学 | Binocular vision sensor field calibration method and device under a kind of complex environment |
CN108775863A (en) * | 2018-03-27 | 2018-11-09 | 广州大学 | Spectral Confocal displacement sensor positioning device and localization method |
CN110864659A (en) * | 2019-09-21 | 2020-03-06 | 东莞市三姆森光电科技有限公司 | Line measuring head calibration device and calibration method for industrial robot measuring system |
CN111612844A (en) * | 2020-04-08 | 2020-09-01 | 大连理工大学 | Three-dimensional laser scanner and camera calibration method based on sector features |
CN113589506A (en) * | 2021-08-05 | 2021-11-02 | 浙江大学 | Biological microscopic vision pre-focusing device and method based on spectrum confocal principle |
WO2022120567A1 (en) * | 2020-12-08 | 2022-06-16 | 深圳先进技术研究院 | Automatic calibration system based on visual guidance |
WO2022155827A1 (en) * | 2021-01-21 | 2022-07-28 | 海伯森技术(深圳)有限公司 | Multi-channel spectral confocal measurement system and measurement method thereof |
CN115143881A (en) * | 2021-03-30 | 2022-10-04 | 浙大宁波理工学院 | Real-time groove butt weld volume measurement system and method |
CN115824048A (en) * | 2022-12-07 | 2023-03-21 | 深圳市腾盛精密装备股份有限公司 | Spectrum confocal sensor calibration method, system, equipment and readable storage medium |
CN116342718A (en) * | 2023-05-26 | 2023-06-27 | 合肥埃科光电科技股份有限公司 | Calibration method, device, storage medium and equipment of line laser 3D camera |
CN116447988A (en) * | 2023-06-16 | 2023-07-18 | 宁德微图智能科技有限公司 | Triangular laser measurement method adopting wide-spectrum light source |
-
2023
- 2023-09-18 CN CN202311202417.1A patent/CN117095065B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107218904A (en) * | 2017-07-14 | 2017-09-29 | 北京航空航天大学 | A kind of line structured light vision sensor calibration method based on sawtooth target |
CN107255443A (en) * | 2017-07-14 | 2017-10-17 | 北京航空航天大学 | Binocular vision sensor field calibration method and device under a kind of complex environment |
CN108775863A (en) * | 2018-03-27 | 2018-11-09 | 广州大学 | Spectral Confocal displacement sensor positioning device and localization method |
CN110864659A (en) * | 2019-09-21 | 2020-03-06 | 东莞市三姆森光电科技有限公司 | Line measuring head calibration device and calibration method for industrial robot measuring system |
CN111612844A (en) * | 2020-04-08 | 2020-09-01 | 大连理工大学 | Three-dimensional laser scanner and camera calibration method based on sector features |
WO2022120567A1 (en) * | 2020-12-08 | 2022-06-16 | 深圳先进技术研究院 | Automatic calibration system based on visual guidance |
WO2022155827A1 (en) * | 2021-01-21 | 2022-07-28 | 海伯森技术(深圳)有限公司 | Multi-channel spectral confocal measurement system and measurement method thereof |
CN115143881A (en) * | 2021-03-30 | 2022-10-04 | 浙大宁波理工学院 | Real-time groove butt weld volume measurement system and method |
CN113589506A (en) * | 2021-08-05 | 2021-11-02 | 浙江大学 | Biological microscopic vision pre-focusing device and method based on spectrum confocal principle |
CN115824048A (en) * | 2022-12-07 | 2023-03-21 | 深圳市腾盛精密装备股份有限公司 | Spectrum confocal sensor calibration method, system, equipment and readable storage medium |
CN116342718A (en) * | 2023-05-26 | 2023-06-27 | 合肥埃科光电科技股份有限公司 | Calibration method, device, storage medium and equipment of line laser 3D camera |
CN116447988A (en) * | 2023-06-16 | 2023-07-18 | 宁德微图智能科技有限公司 | Triangular laser measurement method adopting wide-spectrum light source |
Non-Patent Citations (2)
Title |
---|
周京博;李华;秦志英;黄风山;武哲;: "基于参考靶标的线结构光传感器标定", 光学学报, no. 04, 17 December 2018 (2018-12-17), pages 169 - 176 * |
杨阿华;李学军;刘涛;刘春晓;: "基于网格模板的相机标定方法", 计算机应用, no. 1, 30 June 2013 (2013-06-30), pages 179 - 182 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117906633A (en) * | 2024-03-19 | 2024-04-19 | 水利部交通运输部国家能源局南京水利科学研究院 | Non-contact ship motion and displacement monitoring device suitable for ship lift test |
CN117906633B (en) * | 2024-03-19 | 2024-05-28 | 水利部交通运输部国家能源局南京水利科学研究院 | Non-contact ship motion and displacement monitoring device suitable for ship lift test |
Also Published As
Publication number | Publication date |
---|---|
CN117095065B (en) | 2024-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112797915B (en) | Calibration method, calibration device and system of line structured light measurement system | |
Isa et al. | Design and analysis of a 3D laser scanner | |
Zexiao et al. | Complete 3D measurement in reverse engineering using a multi-probe system | |
CN117095065B (en) | Calibration method, system and equipment for linear spectrum copolymerization Jiao Weiyi sensor | |
EP0866308A2 (en) | Optical profile sensor | |
CN106705898A (en) | Method for measuring planeness through lattice structure light | |
CN114266836B (en) | Active vision three-dimensional calibration method, system and equipment based on galvanometer camera | |
JP2012521005A (en) | Optical gauge and three-dimensional surface profile measuring method | |
CN109506629B (en) | Method for calibrating rotation center of underwater nuclear fuel assembly detection device | |
JP2623367B2 (en) | Calibration method of three-dimensional shape measuring device | |
CN117036510B (en) | Calibration method, system and equipment for line spectrum confocal sensor | |
CN117213367B (en) | Line spectrum confocal high-precision calibration method, system, equipment and storage medium | |
JP5136108B2 (en) | 3D shape measuring method and 3D shape measuring apparatus | |
JP6179366B2 (en) | Standard gauge, three-dimensional measuring apparatus, and calibration method for three-dimensional measuring apparatus | |
Koyuncu et al. | Development of an optical 3D scanner based on structured light | |
CN117173253A (en) | Line spectrum confocal calibration method, system, equipment and storage medium | |
CN110081832A (en) | Logic projection imaging measures the method and device of nontransparent object structures parameter | |
CN113624358B (en) | Three-dimensional displacement compensation method and control device for photothermal reflection microscopic thermal imaging | |
Liu et al. | A novel method to calibrate the rotation axis of a line-structured light 3-dimensional measurement system | |
CN114792342A (en) | Line structure light positioning method, device, equipment and storage medium | |
CN220751075U (en) | Calibration device | |
CN113888693A (en) | High-precision point cloud data reconstruction method | |
JP2015099048A (en) | Standard gauge, three-dimensional measuring device, and three-dimensional measuring device calibration method | |
CN114565678B (en) | Line structure light plane rapid calibration method based on direction vector | |
CN1645037A (en) | Partitioned pointing method for three-dimensional scanning measurement system by light band 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 |