CN112665528B - Correction method for laser scanning three-dimensional imaging - Google Patents
Correction method for laser scanning three-dimensional imaging Download PDFInfo
- Publication number
- CN112665528B CN112665528B CN202011624528.8A CN202011624528A CN112665528B CN 112665528 B CN112665528 B CN 112665528B CN 202011624528 A CN202011624528 A CN 202011624528A CN 112665528 B CN112665528 B CN 112665528B
- Authority
- CN
- China
- Prior art keywords
- data
- dot matrix
- laser
- lattice
- scanning
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
A correction method of laser scanning three-dimensional imaging includes obtaining laser lattice data through laser scanning object description, and storing the laser lattice data in a database; reading laser lattice data from a database into a temporary variable data table; compensating the scanned dot matrix data and inserting a dot value; performing matrix transformation of coordinates after the dot matrix data is inserted; and storing and outputting the converted dot matrix data. The application solves the data insertion method relative to a specific point based on the real-time measurement of the scanning angle and the inclination angle, realizes the conversion from the sparse inconsistent state to the uniform lattice, ensures that the lattice truly reflects the actual object state, and provides good data information for the subsequent lattice graph processing.
Description
Technical Field
The application relates to the technical field of dot pattern processing, in particular to a complex deformed dot pattern processing method.
Background
In the current intelligent control system of the crane, the information sensing of the lifted materials is an essential ring, and various methods are adopted for the information sensing, such as machine vision, laser, radar, various sensors and the like, which are respectively suitable for different application scenes, and a laser scanning mode has the advantages of strong anti-interference capability, strong environmental adaptability and the like, so that more and more applications are obtained. The lattice information of laser scanning is a key ring for sensing material information, but in an actual scene, as the distance between the material and the scanner is different and the scanning resolution of the laser scanning head is unchanged, the lattice distribution is uneven, and the problem of great later processing is caused, so that the sensing of the material becomes difficult or even fails.
Disclosure of Invention
In order to overcome the defects in the background art, the application discloses a correction method for laser scanning three-dimensional imaging, which realizes uniform laser lattice distribution, and the output lattice data accurately reflects real material information through calculation and data interpolation of space point positions, so that the accuracy of information perception is ensured.
The object of the application is achieved in the following way:
a method of correction of laser scanning three-dimensional imaging, the method comprising:
step one: obtaining laser lattice data through laser scanning of an object and storing the laser lattice data in a database;
step two: reading laser lattice data from a database into a temporary variable data table;
step three: compensating the scanned dot matrix data and inserting a dot value;
step four: performing matrix transformation of coordinates after the dot matrix data is inserted;
step five: and storing and outputting the converted dot matrix data.
The laser scanning scans the object in a set scanning interval according to a fixed scanning resolution.
The third step specifically comprises: and calculating coordinates of the dot matrix data and determining the inserted dot matrix data.
And calculating coordinates of the dot matrix data: taking the position of the laser scanner as an origin, and a value corresponding to a tangent plane relative to a plane, wherein according to the angle a and the distance l of each point of scanning, the x position of a trigonometric function relative to the origin is x=l×sin (a), and the height is z=l×cos (a); an object is composed of a plurality of tangential planes, and three coordinate values of x, y and z are described corresponding to points with inclination angles; and further solving the x, y and z coordinates of the lattice by utilizing the inclined angle b.
Determination of inserted dot matrix data: and respectively calculating the values of two points in the middle and two points at the farthest ends in the dot matrix data, finding out the greatest common divisor of the two points, changing the original dot matrix into a new dot matrix by taking the greatest common divisor as a reference, calculating the distance between every two points, and then performing multiple calculation to obtain the respectively inserted dot number.
After the dot matrix is inserted into the data, the whole graph is required to be subjected to matrix transformation according to the coordinate origin of the laser scanner, the actual coordinate point of the crane and the actual coordinate origin of the factory building, so that an actual position dot matrix relative to the factory building is obtained.
The application has the beneficial effects that: the application solves the data insertion method relative to a specific point based on the real-time measurement of the scanning angle and the inclination angle, realizes the conversion from the sparse inconsistent state to the uniform lattice, ensures that the lattice truly reflects the actual object state, and provides good data information for the subsequent lattice graph processing.
Drawings
Fig. 1 is a schematic view of a laser scanning plane in the present application.
Fig. 2 is a schematic view of a laser scanning space.
Fig. 3 is a rectangular coordinate transformation diagram of image coordinates and two-dimensional coordinates.
Fig. 4 is a schematic diagram after interpolation calculation.
Detailed Description
The application will be described in further detail with reference to the drawings and the detailed description.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the application. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present application. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
In the present application, terms such as "upper", "lower", "left", "right", "front", "rear", "vertical", "horizontal", "side", "bottom", etc. refer to an orientation or a positional relationship based on that shown in the drawings, and are merely relational terms, which are used for convenience in describing structural relationships of various components or elements of the present application, and do not denote any one of the components or elements of the present application, and are not to be construed as limiting the present application.
In the present application, terms such as "fixedly attached," "connected," "coupled," and the like are to be construed broadly and refer to either a fixed connection or an integral or removable connection; can be directly connected or indirectly connected through an intermediate medium. The specific meaning of the terms in the present application can be determined according to circumstances by a person skilled in the relevant art or the art, and is not to be construed as limiting the present application.
A method of correction of laser scanning three-dimensional imaging, the method comprising:
step one: obtaining laser lattice data through laser scanning of an object and storing the laser lattice data in a database;
step two: reading laser lattice data from a database into a temporary variable data table;
step three: compensating the scanned dot matrix data and inserting a dot value;
step four: performing matrix transformation of coordinates after the dot matrix data is inserted;
step five: and storing and outputting the converted dot matrix data.
The laser scanning scans the object in a set scanning interval according to a fixed scanning resolution.
The third step specifically comprises: and calculating coordinates of the dot matrix data and determining the inserted dot matrix data.
And calculating coordinates of the dot matrix data: taking the position of the laser scanner as an origin, and a value corresponding to a tangent plane relative to a plane, wherein according to the angle a and the distance l of each point of scanning, the x position of a trigonometric function relative to the origin is x=l×sin (a), and the height is z=l×cos (a); an object is composed of a plurality of tangential planes, and three coordinate values of x, y and z are described corresponding to points with inclination angles; and further solving the x, y and z coordinates of the lattice by utilizing the inclined angle b.
Determination of inserted dot matrix data: and respectively calculating the values of two points in the middle and two points at the farthest ends in the dot matrix data, finding out the greatest common divisor of the two points, changing the original dot matrix into a new dot matrix by taking the greatest common divisor as a reference, calculating the distance between every two points, and then performing multiple calculation to obtain the respectively inserted dot number.
After the dot matrix is inserted into the data, the whole graph is required to be subjected to matrix transformation according to the coordinate origin of the laser scanner, the actual coordinate point of the crane and the actual coordinate origin of the factory building, so that an actual position dot matrix relative to the factory building is obtained.
Examples:
a laser scanner is arranged on the crane or above the tested material, and the scanning process is shown in fig. 2 due to the point laser scanning which is generally adopted: in the set scanning interval, the laser scans from the point A to the point B and then back from the point A1 to the point B1, and the like, until the whole set interval is completed.
Due to the continuous updating of the scanning information, scanned data are read out in a socket mode in real time and then stored in a database.
When the whole scanning is completed, the database stores a three-dimensional lattice diagram of the whole scanning area, and the lattice data records the angle of the whole holder and the angle of the laser, and the data are measured and recorded.
The database program sorts the three-dimensional data of the scanned data according to a certain rule, deletes some data beyond the normal range, and carries out filtering insertion by two adjacent normal data.
Since the scanning resolution of the laser cannot be changed in the whole process, the distance between two scanning points is changed, when the scanning angle is large, huge distance difference between the two far-end points and the middle point can possibly occur, even more than 2 times, and at the moment, the original data are read in for correction.
And respectively calculating the values of the two middle points and the two farthest points, finding out the greatest common divisor of the two middle points and the two farthest points, changing the original lattice into a new lattice by taking the greatest common divisor as a reference, calculating the distance between every two points, and then performing multiple calculation to obtain the points which are respectively inserted.
The lattice actually builds the map of the inverse mapping algorithm used for remapping. That is, for each pixel in the target (corrected) image, the corresponding coordinate in the source image is calculated. The effective area extraction adopts a scanning line approximation method and a variable angle scanning method with transverse and longitudinal directions; conversion between the image coordinates uv and the cartesian coordinate system (rectangular coordinate system xy). As shown in fig. 3, x=u-u 0 ;y=-(v-v 0 ). As shown in fig. 4, the image accuracy and distortion after the correction algorithm is greatly improved.
The numerical value of each point is calculated according to the algorithm, then the abnormal value is removed, and the abnormal value is stored in a new table of the database.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
While the foregoing description of the embodiments of the present application has been presented in conjunction with the drawings, it should be understood that it is not intended to limit the scope of the application, but rather, it is intended to cover all modifications or variations within the scope of the application as defined by the claims of the present application.
Claims (3)
1. A correction method for laser scanning three-dimensional imaging is characterized in that: the method comprises the following steps:
step one: obtaining laser lattice data through laser scanning of an object and storing the laser lattice data in a database;
step two: reading laser lattice data from a database into a temporary variable data table;
step three: compensating the scanned dot matrix data and inserting a dot value;
step four: performing matrix transformation of coordinates after the dot matrix data is inserted;
step five: storing and outputting the transformed lattice data;
the third step specifically comprises: coordinate calculation of dot matrix data and determination of inserted dot matrix data;
and calculating coordinates of the dot matrix data: taking the position of the laser scanner as an origin, and a value corresponding to a tangent plane relative to a plane, wherein according to the angle a and the distance l of each point of scanning, the x position of a trigonometric function relative to the origin is x=l×sin (a), and the height is z=l×cos (a); an object is composed of a plurality of tangential planes, and three coordinate values of x, y and z are described corresponding to points with inclination angles; further solving the x, y and z coordinates of the lattice by utilizing the inclined angle b;
determination of inserted dot matrix data: and respectively calculating the values of two points in the middle and two points at the farthest ends in the dot matrix data, finding out the greatest common divisor of the two points, changing the original dot matrix into a new dot matrix by taking the greatest common divisor as a reference, calculating the distance between every two points, and then performing multiple calculation to obtain the respectively inserted dot number.
2. The method for correcting laser scanning three-dimensional imaging according to claim 1, wherein: the laser scanning scans the object in a set scanning interval according to a fixed scanning resolution.
3. The method for correcting laser scanning three-dimensional imaging according to claim 1, wherein: after the dot matrix is inserted into the data, the whole graph is required to be subjected to matrix transformation according to the coordinate origin of the laser scanner, the actual coordinate point of the crane and the actual coordinate origin of the factory building, so that an actual position dot matrix relative to the factory building is obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011624528.8A CN112665528B (en) | 2020-12-31 | 2020-12-31 | Correction method for laser scanning three-dimensional imaging |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011624528.8A CN112665528B (en) | 2020-12-31 | 2020-12-31 | Correction method for laser scanning three-dimensional imaging |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112665528A CN112665528A (en) | 2021-04-16 |
CN112665528B true CN112665528B (en) | 2023-10-20 |
Family
ID=75412291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011624528.8A Active CN112665528B (en) | 2020-12-31 | 2020-12-31 | Correction method for laser scanning three-dimensional imaging |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112665528B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113888449B (en) * | 2021-12-08 | 2022-02-22 | 深圳市先地图像科技有限公司 | Image processing method and system for laser imaging and related equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002185888A (en) * | 2000-12-13 | 2002-06-28 | Nanao Corp | Vertical conversion processing method for image signal, its device, corrected image generator for projector using it |
CN101334897A (en) * | 2007-06-27 | 2008-12-31 | 宝山钢铁股份有限公司 | Three-dimensional imaging method for implementing material pile real time dynamic tracking |
CN102967260A (en) * | 2012-11-01 | 2013-03-13 | 北京华夏力鸿商品检验有限公司 | Method and system for measuring volume and density of powder material stack |
CN105654543A (en) * | 2014-09-25 | 2016-06-08 | 薛联凤 | Laser point cloud data-oriented broad-leaved tree real leaf modeling and deforming method |
CN106175839A (en) * | 2015-04-30 | 2016-12-07 | 烟台鑫丰源电站设备有限公司 | The scanning detection method of sector scanning imaging and device for ultrasonic phase array |
CN107123162A (en) * | 2016-02-24 | 2017-09-01 | 中国科学院沈阳自动化研究所 | Three-dimensional environment surface triangle gridding construction method based on two-dimensional laser sensor |
CN107292925A (en) * | 2017-06-06 | 2017-10-24 | 哈尔滨工业大学深圳研究生院 | Based on Kinect depth camera measuring methods |
KR20180052045A (en) * | 2016-11-09 | 2018-05-17 | (주)안세기술 | 3D laser scanning system using the laser scanner capable of tracking dynamic position in real time |
-
2020
- 2020-12-31 CN CN202011624528.8A patent/CN112665528B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002185888A (en) * | 2000-12-13 | 2002-06-28 | Nanao Corp | Vertical conversion processing method for image signal, its device, corrected image generator for projector using it |
CN101334897A (en) * | 2007-06-27 | 2008-12-31 | 宝山钢铁股份有限公司 | Three-dimensional imaging method for implementing material pile real time dynamic tracking |
CN102967260A (en) * | 2012-11-01 | 2013-03-13 | 北京华夏力鸿商品检验有限公司 | Method and system for measuring volume and density of powder material stack |
CN105654543A (en) * | 2014-09-25 | 2016-06-08 | 薛联凤 | Laser point cloud data-oriented broad-leaved tree real leaf modeling and deforming method |
CN106175839A (en) * | 2015-04-30 | 2016-12-07 | 烟台鑫丰源电站设备有限公司 | The scanning detection method of sector scanning imaging and device for ultrasonic phase array |
CN107123162A (en) * | 2016-02-24 | 2017-09-01 | 中国科学院沈阳自动化研究所 | Three-dimensional environment surface triangle gridding construction method based on two-dimensional laser sensor |
KR20180052045A (en) * | 2016-11-09 | 2018-05-17 | (주)안세기술 | 3D laser scanning system using the laser scanner capable of tracking dynamic position in real time |
CN107292925A (en) * | 2017-06-06 | 2017-10-24 | 哈尔滨工业大学深圳研究生院 | Based on Kinect depth camera measuring methods |
Also Published As
Publication number | Publication date |
---|---|
CN112665528A (en) | 2021-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106709947B (en) | Three-dimensional human body rapid modeling system based on RGBD camera | |
CN110443879B (en) | Perspective error compensation method based on neural network | |
CN108389233B (en) | Laser scanner and camera calibration method based on boundary constraint and mean value approximation | |
CN108804714A (en) | Point cloud data storage method and device | |
CN111881892B (en) | Ordered point cloud 5D texture grid data structure generation method, device, equipment and medium | |
CN114419130A (en) | Bulk cargo volume measurement method based on image characteristics and three-dimensional point cloud technology | |
CN114972633B (en) | Fast scanning point cloud interpolation method under constraint of crossed laser lines | |
CN109903382A (en) | The fusion method and device of point cloud data | |
CN114612632A (en) | Sorting and interpolation processing method based on three-dimensional laser point cloud data | |
CN104048649B (en) | A kind of multi-view images and the rapid registering method of threedimensional model | |
CN112665528B (en) | Correction method for laser scanning three-dimensional imaging | |
CN117830171A (en) | High-precision AR-HUD distortion calibration method | |
CN114612412A (en) | Processing method of three-dimensional point cloud data, application of processing method, electronic device and storage medium | |
CN116993627B (en) | Laser scanning image data correction method | |
CN112050752B (en) | Projector calibration method based on secondary projection | |
CN113379902A (en) | Laser scanning-based weld shape feature extraction and three-dimensional reconstruction method | |
CN110969650B (en) | Intensity image and texture sequence registration method based on central projection | |
CN115546266A (en) | Multi-strip airborne laser point cloud registration method based on local normal correlation | |
JPH0650730A (en) | Three-dimensional shape measuring device | |
CN111340891B (en) | Method and system for calibrating camera by using LED screen | |
CN114581328A (en) | Material pile point cloud data interpolation method, device, equipment and medium | |
CN118135116B (en) | Automatic generation method and system based on CAD two-dimensional conversion three-dimensional entity | |
CN117437291B (en) | Digital stockpile visualization method based on binocular vision | |
CN110018332B (en) | Atomic force probe contact type scanning biological cell imaging error compensation method | |
CN117308821B (en) | Building decoration modeling precision inspection method and system based on scanner |
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 |