CN102269587B - Method for controlled light plane-based underwater three-dimensional redrawing device - Google Patents
Method for controlled light plane-based underwater three-dimensional redrawing device Download PDFInfo
- Publication number
- CN102269587B CN102269587B CN2010105286064A CN201010528606A CN102269587B CN 102269587 B CN102269587 B CN 102269587B CN 2010105286064 A CN2010105286064 A CN 2010105286064A CN 201010528606 A CN201010528606 A CN 201010528606A CN 102269587 B CN102269587 B CN 102269587B
- Authority
- CN
- China
- Prior art keywords
- light plane
- refraction
- coordinate system
- equation
- ccd camera
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 239000011521 glass Substances 0.000 claims abstract description 16
- 239000011159 matrix material Substances 0.000 claims description 14
- 238000007789 sealing Methods 0.000 claims description 13
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 6
- 230000003287 optical effect Effects 0.000 description 9
- 238000003384 imaging method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 238000012067 mathematical method Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 229910001220 stainless steel Inorganic materials 0.000 description 1
- 239000010935 stainless steel Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention relates to a controlled light plane-based underwater three-dimensional redrawing device and a controlled light plane-based underwater three-dimensional redrawing method. The device comprises a computer control device with software, a light plane control device with a reflecting lens, a charge coupled device (CCD) camera, a light plane generator and a sealed shell of which the front is provided with a glass window and one side is provided with a waterproof interface. The redrawing method comprises the following steps of: establishing a global coordinate system and a camera coordinate system by using the light plane control device and the CCD camera; correcting a light plane equation before refraction, and resolving a light plane equation after refraction; resolving a refraction compensation parameter k, and compensating a pixel coordinate of each point to be detected; and resolving a coordinate of a point to be detected according to the corrected light plane equation and the pixel coordinate of the point to be detected and a geometrical relationship between a light plane and the CCD camera so as to realize the three-dimensional redrawing of an object to be detected. By the invention, the refraction influence is effectively avoided, the three-dimensional redrawing of an underwater object is realized, the structure is simple and the accuracy is high.
Description
Technical Field
The invention relates to an underwater three-dimensional measuring device, in particular to an underwater three-dimensional redrawing device and method based on a controllable light plane.
Background
The existing land three-dimensional redrawing device can not directly measure and redraw underwater objects. Even if the existing land three-dimensional redrawing device is sealed, when the land three-dimensional redrawing device is used for underwater measurement, a glass window of a sealed shell enables a measured object and the measuring device to be respectively positioned in media with different refractive indexes, when light passes through the glass window, refraction can be generated, so that a light plane deflects, and meanwhile, adverse factors such as focusing error, visual angle error, distortion and chromatic aberration are brought to underwater imaging of a CCD camera, so that the imaging quality is reduced, and finally, the underwater three-dimensional redrawing cannot be realized.
Disclosure of Invention
The invention aims to provide an underwater three-dimensional redrawing device and a redrawing method based on a controllable light plane, which overcome the influence of underwater refraction on the light plane and a CCD (charge coupled device) camera and realize accurate three-dimensional redrawing of a measured object underwater.
The underwater three-dimensional redrawing device based on the controllable light plane comprises a computer control device containing software, a light plane control device with a reflecting lens, a CCD camera and a light plane generator, and is characterized by also comprising a sealing shell with a transparent glass window on the front surface and a waterproof interface on one side of the sealing shell, wherein the light plane control device and the CCD camera are fixed at two ends of a base of the sealing shell, the light plane generator is close to the reflecting lens of the light plane control device and is fixed on the base of the sealing shell, and emergent light is just projected onto a rotating axis of the reflecting lens.
The three-dimensional redrawing method comprises the following steps:
1. firstly, a world coordinate system o is respectively established by a light plane control device and a CCD camerawxwywzwAnd the camera coordinate system ocxcyczcThe relationship of the two coordinate systems can be represented by a rotation matrix and a translation matrix.
2. Considering that when a light plane is projected to a measured object through a glass window, refraction occurs at the glass window, an optical plane equation Ax + By + Cz before refraction must be obtained and then corrected.
The optical plane equation before refraction is obtained by the following formula (I),
wherein A, B, C, D is the coefficient of the equation; u is the real-time input voltage of the light plane control device, U0To make the light plane along zwThe input voltage of the light plane control device when the shaft is emitted; ρ is the angle the mirror plate rotates for each volt change in the input voltage U.
The light plane is refraction corrected by the following formula (II), specifically, the light plane equation a after refraction at the glass window is solved3x+b3y+c3z=d3。
Wherein a is3x+b3y+c3z=d3Is the equation of the plane of light after refraction, a3、b3、c3、d3Are the coefficients of the equation; A. b, C, D is as in formula (I); h is the world coordinate system owxwywzwThe vertical distance from the origin of (a) to the glazing; n iswIs the refractive index of water to air.
3. Considering that when shooting a target in water, light rays are refracted at a glass window to cause the deviation of an imaging point of the glass window on a CCD target surface and the distortion of pixel coordinates, the refraction compensation must be carried out on an image shot by a CCD camera, the refraction compensation parameters are calculated through a formula (III),
wherein f is the focal length of the CCD camera; n iswIs the refractive index of water to air; and (u, v) are pixel coordinates of the measured point on the CCD target surface.
During shooting, the measured point can form an image on a CCD target surface of a CCD camera to obtain pixel coordinates (u, v), the pixel coordinates cannot represent the real position of the point due to refraction at a glass window, and the pixel coordinates are compensated through a CCD camera refraction compensation parameter k in a formula (III) to obtain the real pixel coordinates (ku, kv) of the measured point.
4. Under the premise that the light plane equation is corrected and the pixel coordinates of the CCD camera are compensated, the coordinates of the measured point in the world coordinate system are calculated through a formula (IV) according to the relationship between the light plane equation and the pixel coordinates.
Wherein,
(u, v) are pixel coordinates of the measured point on the CCD camera CCD target surface; k is as in formula (III); a is3、b3、c3、d3As in formula (II); r is0-r8,t0-t2Are the elements of the rotation matrix and the translation matrix of the camera coordinate system to the galvanometer coordinate system, respectively.
According to the modified light plane equation a3x+b3y+c3z=d3And the pixel coordinates (ku, kv) of the measured point after refraction compensation can be used for calculating the three-dimensional coordinates (x, y, z') of the measured point under the world coordinates through the formula (IV).
If the input voltage of the light plane control device is increased at a constant speed according to a certain stepping value, the laser plane will uniformly sweep the measured object, and the three-dimensional coordinates of all points of the measured object under the world coordinate system can be measured, i.e. the three-dimensional redrawing is realized.
The first core of the invention is the hardware structure of the device: the light plane control device, the light plane generator and the CCD camera are fixed in a sealed shell with a transparent glass window on one side, and a waterproof interface is arranged on the side surface; the second method is a refraction correction method in the light plane and a refraction compensation method of the CCD camera: according to the formulas (I) and (II), the refraction correction of the optical plane can be realized, and according to the refraction compensation parameter of the formula (III), the refraction compensation of the underwater imaging of the CCD camera is realized; thirdly, a mathematical method for obtaining the three-dimensional coordinates of the measured object through the light plane equation and the internal and external parameters of the CCD camera comprises the following steps: and (3) calculating the three-dimensional coordinates of all measured points through a formula (IV) to finally realize the three-dimensional redrawing of the measured object.
The method overcomes the influence of refraction on the optical plane and the CCD camera, realizes the three-dimensional redrawing of the underwater object, is simple and stable, has high measurement precision, and has the maximum error of not more than 0.5 percent within the distance of 1-10 meters; simple structure, small volume, convenient operation and wide application range.
The invention is further illustrated with reference to the following figures and examples:
drawings
FIG. 1 is a schematic diagram of the basic structure of the present invention.
FIG. 2 is a schematic diagram of the present invention establishing a world coordinate system and a CCD camera coordinate system.
FIG. 3 is a schematic diagram of the optical plane refraction correction and CCD camera refraction compensation of the present invention.
The device comprises a light plane control device 1, a light plane generator 2, a CCD camera 3, a sealing shell 4, a glass window 5, an interface 6, an interface 7, a controllable light plane 8, a reflecting lens 9, a CCD target surface 10 and a computer control device.
Detailed Description
Referring to fig. 1, the device mainly comprises a computer control device 10 containing software, a light plane control device 1 with a reflector 8, a CCD camera 3 and a light plane generator 2, and is characterized by further comprising a sealing shell 4 with a glass window 5 on the front surface and a waterproof interface 6 on one side of the sealing shell 4, wherein the light plane control device 1 and the CCD camera 3 are fixed at two ends of a base of the sealing shell 4, the light plane generator 2 is fixed on the base of the sealing shell 4 close to the reflector 8 of the light plane control device 1, and the emergent light is just projected on a rotating axis of the reflector 8.
The sealed shell 4 is a rectangular frame with the size of 600mm 180mm, the front surface is a glass window 5, the other surfaces are stainless steel, and one side surface is provided with a waterproof interface 6.
Two coordinate systems are established with reference to fig. 2: establishing a conventional camera coordinate system o for the CCD camera 3cxcyczcWith the midpoint of the rotation axis of the mirror 8 as the origin owIn the direction of the axis of rotation is xwThe direction of the outgoing light of the axial and light plane generator 2 is ywAxis, establishing a right-handed rectangular coordinate system owxwywzw. The relationship between the two coordinate systems can be represented by the following formula (V) through a rotation matrix and a translation matrix:
wherein,is a rotation matrix between two coordinate systems,is a translation matrix between two coordinate systems.
The angle of rotation of the mirror 8 is controlled by the input voltage to the optical plane control device 1. rho is the angle through which the mirror 8 rotates for each voltage change of one volt, if the optical plane 7 is along zwInput voltage at the time of shaft ejection is U0Then, for a certain input voltage U, the optical plane equation is Ax + By + Cz + D equals 0, and the optical plane and z are equal towThe included angle of the axes is 2 (U-U)0) ρ, the A, B, C, D values are obtained separately to obtain formula (I).
Referring to FIG. 3, based on the known light plane equation, the light plane equation a after refraction can be obtained according to the law of refraction3x+b3y+c3z+d3(II) 0, yielding formula (II).
Referring to fig. 3, a target point P in water is imaged on a CCD target surface 9 at a point Q (u, v) according to the law of refraction, and if the point P is measured on land, the point P is directly imaged on the CCD target surface 9 at a point Q1(u1,v1) Point, Q1And Q have the following relationshipFor each measured point, only the parameter k is obtained, namelyCompensation for refraction can be achieved.
As can be seen from the view in figure 3,
as is also known, the amount of oxygen present,|OOc1|=f,|Oc1N|=hc,|OH|=zwand are andthrough the joint solution of the above types, the relation (III) can be derived, and the image of the CCD camera 3 is further subjected to refraction compensation.
Referring to fig. 3, the geometrical relationship between the light plane 7 and the CCD camera 3:
The equation of the plane of the refracted light is a by formula (II)3xw+b3yw+c3zw+d3=0;
And solving the equation set of the various types of compositions to obtain a relational expression (IV), solving the coordinates (x, y, z, y and z) of the measured point in a world coordinate system, and obtaining the three-dimensional coordinates of all points of the measured object to realize the three-dimensional redrawing of the measured object.
In conclusion, the invention adopts the method of light plane correction and CCD camera refraction compensation, overcomes the influence of underwater refraction, and realizes the three-dimensional redrawing of underwater objects.
Claims (2)
1. A method for three-dimensional redrawing by using an underwater three-dimensional redrawing device based on a controllable light plane comprises a computer control device (10) containing software, a light plane control device (1) with a reflecting lens (8), a CCD camera (3), a light plane generator (2), a sealing shell (4) with a glass window (5) on the front surface and a waterproof interface (6) on one side of the sealing shell (4), wherein the light plane control device (1) and the CCD camera (3) are fixed at two ends of the base of the sealing shell (4), the light plane generator (2) is close to the reflecting lens (8) of the light plane control device (1) and is fixed on the base of the sealing shell (4), and emergent light is just projected on a rotating axis of the reflecting lens (8),
it is characterized in that firstly, a world coordinate system o is established by a light plane control device (1) and a CCD camera (3) respectivelywxwywzwAnd the camera coordinate system ocxcyczc(ii) a Then correcting the light plane equation Ax + By + Cz = D before refraction, and solving the light plane equation a after refraction3x+b3y+c3z=d3(ii) a Then, a refraction compensation parameter k is obtained, and the pixel coordinates (u, v) of each measured point are compensated to be (ku, kv); finally according to the corrected light plane equation a3x+b3y+c3z=d3And the pixel coordinates (ku, kv) of the measured point and the geometric relationship between the light plane (7) and the CCD camera (3) are solved to obtain the coordinates (x, y, z) of the measured point, so as to obtain the coordinates of all the measured points, namely, the three-dimensional redrawing of the measured object is realized;
the above world coordinate system owxwywzwAnd the camera coordinate system ocxcyczcThe relationship between them is expressed by the following formula (v) through a rotation matrix and a translation matrix:
r0-r8,t0-t2respectively are elements of a rotation matrix and a translation matrix from a camera coordinate system to a galvanometer coordinate system;
the light plane equation Ax + By + Cz = D before refraction is corrected to obtain the light plane equation a after refraction3x+b3y+c3z=d3And then obtaining a refraction compensation parameter k, comprising:
the plane equation of light before refraction is obtained by the following formula (i),
wherein A, B, C, D is the coefficient of the equation; u is the real-time input voltage of the light plane control device, U0To make the light plane along zwThe input voltage of the light plane control device when the shaft is emitted; ρ is the angle the mirror plate rotates for each volt change in the input voltage U,
the light plane is subjected to refraction correction through the following formula (II), and specifically, the light plane equation a after refraction at the glass window is solved3x+b3y+c3z=d3,
Wherein a is3x+b3y+c3z=d3Is the equation of the plane of light after refraction, a3、b3、c3、d3Are the coefficients of the equation; A. b, C, D is as in formula (I); h is the world coordinate system owxwywzwThe vertical distance from the origin of (a) to the glazing; n iswIs the refractive index of water to air;
calculating refraction compensation parameters by formula (III),
wherein f is the focal length of the CCD camera; n iswIs the refractive index of water to air; (u, v) are pixel coordinates of the measured point on the CCD target surface;
the geometrical relationship between the light plane (7) and the CCD camera (3) is as follows: for a point P on the light plane (7), the coordinate is (x) under the world coordinate systemw,yw,zw) The coordinate under the camera coordinate system is (x)c,yc,zc) When the pixel coordinates on the CCD target surface (9) are (u, v) and the focal length of the CCD camera (3) is f, the conditions are metThe following mathematical relationship:
the above equation a based on the corrected light plane3x+b3y+c3z=d3And the pixel coordinates (ku, kv) of the measured point and the geometrical relationship between the light plane (7) and the CCD camera (3) are solved to obtain the coordinates (x, y, z,) of the measured point, which comprises:
calculating the coordinate of the measured point in the world coordinate system through a formula (IV),
wherein,
(u, v) are pixel coordinates of the measured point on the CCD camera CCD target surface; k is as in formula (III); a is3、b3、c3、d3As formula (II); r is0-r8,t0-t2Are the elements of the rotation matrix and translation matrix from the camera coordinate system to the galvanometer coordinate system,
according to the modified light plane equation a3x+b3y+c3z=d3And refraction compensated pixel coordinates (ku, kv) of the measured point can be obtained by the formula (IV) under the world coordinateCoordinates (x, y, z,).
2. An underwater three-dimensional redrawing method according to claim 1, wherein said sealed casing (4) is a rectangular frame with dimensions of 600mm x 180 mm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105286064A CN102269587B (en) | 2010-11-02 | 2010-11-02 | Method for controlled light plane-based underwater three-dimensional redrawing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105286064A CN102269587B (en) | 2010-11-02 | 2010-11-02 | Method for controlled light plane-based underwater three-dimensional redrawing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102269587A CN102269587A (en) | 2011-12-07 |
CN102269587B true CN102269587B (en) | 2012-10-31 |
Family
ID=45051959
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105286064A Expired - Fee Related CN102269587B (en) | 2010-11-02 | 2010-11-02 | Method for controlled light plane-based underwater three-dimensional redrawing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102269587B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110441780B (en) * | 2019-08-21 | 2021-09-28 | 中国海洋大学 | Ultrasonic phased array correlation imaging method |
CN110763152B (en) * | 2019-10-09 | 2021-08-20 | 哈尔滨工程大学 | Underwater active rotation structure light three-dimensional vision measuring device and measuring method |
CN110737942B (en) * | 2019-10-12 | 2023-05-02 | 清华四川能源互联网研究院 | Underwater building model building method, device, equipment and storage medium |
CN111006610B (en) * | 2019-12-13 | 2022-03-29 | 中国科学院光电技术研究所 | Underwater three-dimensional measurement data correction method based on structured light three-dimensional measurement |
CN111273439A (en) * | 2020-01-22 | 2020-06-12 | 光沦科技(杭州)有限公司 | Full scene three-dimensional optical scanning system and optimization method |
CN111586294A (en) * | 2020-04-24 | 2020-08-25 | 山东易华录信息技术有限公司 | Underwater imaging method and device according to influence of seawater refraction and reflectivity |
CN112887566B (en) * | 2021-01-26 | 2022-06-21 | 中国科学院力学研究所 | Free surface nearby cavitation phenomenon microspur observation method based on refractive index compensation |
CN114670199B (en) * | 2022-03-29 | 2023-05-23 | 深圳市智流形机器人技术有限公司 | Identification positioning device, system and real-time tracking system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6542250B1 (en) * | 1999-06-21 | 2003-04-01 | Bernd Michaelis | Method of three-dimensionally measuring object surfaces |
CN1912532A (en) * | 2005-08-11 | 2007-02-14 | 北京航空航天大学 | Three-D visual measuring quantity transmission method and plane target mark |
-
2010
- 2010-11-02 CN CN2010105286064A patent/CN102269587B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6542250B1 (en) * | 1999-06-21 | 2003-04-01 | Bernd Michaelis | Method of three-dimensionally measuring object surfaces |
CN1912532A (en) * | 2005-08-11 | 2007-02-14 | 北京航空航天大学 | Three-D visual measuring quantity transmission method and plane target mark |
Non-Patent Citations (1)
Title |
---|
解则晓等.《水下线结构光自扫描三维测量技术》.《中国激光》.2010,第37卷(第8期),第2010-2011页. * |
Also Published As
Publication number | Publication date |
---|---|
CN102269587A (en) | 2011-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102269587B (en) | Method for controlled light plane-based underwater three-dimensional redrawing device | |
CN111006610B (en) | Underwater three-dimensional measurement data correction method based on structured light three-dimensional measurement | |
CN102509261B (en) | Distortion correction method for fisheye lens | |
CN101858755B (en) | Method for calibrating star sensor | |
US8934721B2 (en) | Microscopic vision measurement method based on adaptive positioning of camera coordinate frame | |
CN108362469B (en) | Size and surface pressure measurement method and apparatus based on pressure sensitive paint and light-field camera | |
CN106780391B (en) | Distortion correction algorithm for optical system of full-view three-dimensional measuring instrument | |
CN101922932B (en) | Compensating device of pyramid prism coordinate measuring error | |
CN102305598B (en) | Underwater photography measurement method for profile accuracy of semi-rigid self-resilience reflector | |
CN102098442B (en) | Method and system for calibrating non-overlap ratio of optical axis and visual axis of zoom camera | |
CN104539829A (en) | Optical-mechanical structure based on infrared area array detector scanning imaging | |
CN114705122A (en) | Large-field stereoscopic vision calibration method | |
CN108917602A (en) | A kind of panoramic structure light vision measurement system and general distortion model parameter calibration method | |
CN105450912A (en) | Scanning method-based real-time field butting device and method for surface array CCD detectors | |
RU2635336C2 (en) | Method of calibrating optical-electronic device and device for its implementation | |
RU2682588C1 (en) | Method of high-precision calibration of digital video channel distortion | |
CN108318887B (en) | Laser-assisted binocular range finding system | |
CN109151461B (en) | Method for testing angle deviation of focusing optical axis of high-precision tracking camera | |
CN205607625U (en) | TDI-CCD-based large-caliber long-focus remote sensing camera distortion measuring device | |
CN102507153B (en) | Focal plane calibration method for infrared lens of astronautic camera | |
CN113421300B (en) | Method and device for determining actual position of object in fisheye camera image | |
CN204964030U (en) | Opto mechanical structure based on infrared area array detector scanning imagery | |
CN114693807B (en) | Method and system for reconstructing mapping data of power transmission line image and point cloud | |
CN105091797A (en) | Intensity correlated autocollimator for single-CCD | |
CN115018924A (en) | Method for calibrating key parameters of underwater camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121031 Termination date: 20131102 |