CN110751709A - Three-dimensional reconstruction method for mobile phone shell based on line laser scanning - Google Patents

Three-dimensional reconstruction method for mobile phone shell based on line laser scanning Download PDF

Info

Publication number
CN110751709A
CN110751709A CN201810731214.4A CN201810731214A CN110751709A CN 110751709 A CN110751709 A CN 110751709A CN 201810731214 A CN201810731214 A CN 201810731214A CN 110751709 A CN110751709 A CN 110751709A
Authority
CN
China
Prior art keywords
data
mobile phone
phone shell
line laser
dimensional reconstruction
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.)
Pending
Application number
CN201810731214.4A
Other languages
Chinese (zh)
Inventor
胡天亮
孙雨彤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUZHOU RESEARCH INSTITUTE SHANDONG UNIVERSITY
Original Assignee
SUZHOU RESEARCH INSTITUTE SHANDONG UNIVERSITY
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUZHOU RESEARCH INSTITUTE SHANDONG UNIVERSITY filed Critical SUZHOU RESEARCH INSTITUTE SHANDONG UNIVERSITY
Priority to CN201810731214.4A priority Critical patent/CN110751709A/en
Publication of CN110751709A publication Critical patent/CN110751709A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10028Range image; Depth image; 3D point clouds

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a three-dimensional reconstruction method of a mobile phone shell based on line laser scanning. Through the mode, the point cloud data on the surface of the mobile phone shell are acquired through line laser scanning, and the method has the advantages of high acquisition rate and high imaging precision; and the MATLAB is used for carrying out three-dimensional reconstruction on the hand casing, so that the operation is simple and the professional dependence is low.

Description

Three-dimensional reconstruction method for mobile phone shell based on line laser scanning
Technical Field
The invention relates to the field of image processing, in particular to a method for acquiring point cloud data on the surface of a mobile phone shell by linear laser scanning, which has the advantages of high acquisition rate and high imaging precision; the three-dimensional reconstruction method of the mobile phone shell based on the line laser scanning is simple to operate and low in professional dependence by using MATLAB to perform three-dimensional reconstruction on the mobile phone shell.
Background
Three-dimensional reconstruction is a core technology of reverse engineering, so that the three-dimensional reconstruction has been a key content of research in the field of reverse engineering. In recent years, due to the development of graphics and computer aided design, three-dimensional reconstruction has been successful both in theoretical research and practical application, and becomes a powerful tool for discovering and understanding various phenomena in the scientific computing process.
At present, three-dimensional reconstruction is mainly applied to the fields of industrial measurement, cultural relic protection, human body scanning and the like, three-dimensional reconstruction of a measured object is carried out through reverse design software, professional dependence is strong, operation is complex, and cost is high.
Disclosure of Invention
The invention mainly solves the technical problem of providing a method for acquiring point cloud data on the surface of a mobile phone shell by line laser scanning, which has the advantages of high acquisition rate and high imaging precision; the three-dimensional reconstruction method of the mobile phone shell based on the line laser scanning is simple to operate and low in professional dependence by using MATLAB to perform three-dimensional reconstruction on the mobile phone shell.
In order to achieve the purpose, the invention adopts the technical scheme that: a three-dimensional reconstruction method for a mobile phone shell based on line laser scanning is characterized in that the surface of the mobile phone shell is scanned twice through a line laser scanner, obtained data are spliced, and the complete surface of the mobile phone shell is reconstructed.
Preferably, the method comprises the following specific steps: data preprocessing and data reading, invalid data removal, position correction, data simplification, noise point removal, data splicing and curved surface reconstruction; wherein the content of the first and second substances,
(1) data preprocessing and data reading: manually eliminating interference data in the scanning data and reading the interference data into MATLAB;
(2) and removing invalid data: adopting a method of searching invalid data column by column one by one to remove the invalid data;
(3) and (3) position correction: all data points are translated downwards for a certain distance by calculating the slope of the upward inclination of the mobile phone shell, so that the bottom surface of the mobile phone shell is parallel to the xoy plane;
(4) data simplification: respectively comparing the methods of simplifying the data of the rows of the matrix, simplifying the columns of the matrix and simultaneously simplifying the rows and the columns, and finally selecting the method of simultaneously simplifying the data of the rows and the columns of the matrix;
(5) removing noise points: removing other data points except the surface of the mobile phone shell; noise points between the boundary point deletion and the edge noise point are completely removed by finding and deleting the boundary point;
(6) data splicing: the method comprises the following steps: deleting repeated parts in the left and right parts of data of the mobile phone shell, splicing the deleted repeated parts, and performing supplementary imaging on the image which is temporarily deleted during splicing;
(7) reconstructing a curved surface: reconstructing the surface of the mobile phone shell, and adjusting the range of the imaging coordinate axis according to the number of the data points and the actual length of the mobile phone shell.
Preferably, the point cloud data of the surface of the mobile phone shell is acquired through line laser scanning.
Preferably, the surface of the hand casing is three-dimensionally reconstructed using MATLAB.
Due to the application of the technical scheme, compared with the prior art, the invention has the following advantages:
according to the three-dimensional reconstruction method of the mobile phone shell based on the line laser scanning, the point cloud data on the surface of the mobile phone shell are acquired through the line laser scanning, and the method has the advantages of high acquisition rate and high imaging precision; and the MATLAB is used for carrying out three-dimensional reconstruction on the hand casing, so that the operation is simple and the professional dependence is low.
Drawings
Fig. 1 shows interference data scanning data at the beginning of the three-dimensional reconstruction method of the mobile phone shell based on line laser scanning according to the present invention.
Fig. 2 shows interference data scanning data of an ending part of the three-dimensional reconstruction method for the mobile phone shell based on line laser scanning according to the present invention.
FIG. 3 is an image of the left portion of the front camera housing for position correction according to the present invention.
FIG. 4 is an image of the right portion of the front hand case of the position correction according to the present invention.
FIG. 5 is an image of the left portion of the handset housing after position correction in accordance with the present invention.
FIG. 6 is an image of the right portion of the hand piece housing after position correction according to the present invention.
Fig. 7 is a left part of the mobile phone shell after the lines are reduced by the three-dimensional reconstruction method of the mobile phone shell based on line laser scanning according to the invention.
Fig. 8 is a right part of the mobile phone shell after the lines are reduced by the three-dimensional reconstruction method of the mobile phone shell based on line laser scanning according to the invention.
Fig. 9 is a left part of the mobile phone shell after column reduction of the mobile phone shell three-dimensional reconstruction method based on line laser scanning according to the invention.
Fig. 10 is an image of the right part of the mobile phone shell after the columns are reduced by the three-dimensional reconstruction method of the mobile phone shell based on line laser scanning according to the invention.
Fig. 11 is a left part of the mobile phone shell after row and column are reduced according to the three-dimensional reconstruction method of the mobile phone shell based on line laser scanning.
Fig. 12 is a left part of the mobile phone shell after row and column are reduced according to the three-dimensional reconstruction method of the mobile phone shell based on line laser scanning.
Fig. 13 is an image of the right part xoy plane of the mobile phone shell based on the three-dimensional reconstruction method of the mobile phone shell based on line laser scanning according to the present invention.
Fig. 14 is an image of the right xoy plane of the mobile phone shell after being rotated by 90 ° according to the three-dimensional reconstruction method for the mobile phone shell based on line laser scanning.
Fig. 15 is an image of the right portion of the mobile phone shell after noise is removed according to the three-dimensional reconstruction method for the mobile phone shell based on line laser scanning.
Fig. 16 is an image of the left portion of the mobile phone shell after noise is removed according to the three-dimensional reconstruction method for the mobile phone shell based on line laser scanning.
Fig. 17 shows a boundary point deleted on the left part of the mobile phone shell according to the three-dimensional reconstruction method for the mobile phone shell based on line laser scanning.
Fig. 18 shows a boundary point deleted at the right part of the mobile phone shell according to the three-dimensional reconstruction method for the mobile phone shell based on line laser scanning.
Fig. 19 is a supplementary N matrix pre-imaging of the three-dimensional handset shell reconstruction method based on line laser scanning according to the present invention.
Fig. 20 is a post-image of the mobile phone shell three-dimensional reconstruction method based on line laser scanning, supplemented with N matrices.
Fig. 21 is a mobile phone shell imaging 1 of the mobile phone shell three-dimensional reconstruction method based on line laser scanning according to the present invention.
Fig. 22 is a mobile phone shell imaging 2 of the mobile phone shell three-dimensional reconstruction method based on line laser scanning according to the present invention.
Fig. 23 is a mobile phone shell real object of the mobile phone shell three-dimensional reconstruction method based on line laser scanning according to the present invention.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the invention easier to understand by those skilled in the art, and thus will clearly and clearly define the scope of the invention.
Referring to fig. 1 to 23, the present invention includes:
a three-dimensional reconstruction method of a mobile phone shell based on line laser scanning is characterized in that the surface of the mobile phone shell is scanned twice through a line laser scanner, obtained data are spliced, and the complete surface of the mobile phone shell is reconstructed; acquiring point cloud data of the surface of the mobile phone shell through line laser scanning; and performing three-dimensional reconstruction on the surface of the hand casing by using MATLAB.
The method comprises the following specific steps: data preprocessing and data reading, invalid data removal, position correction, data simplification, noise point removal, data splicing and curved surface reconstruction; wherein the content of the first and second substances,
(1) data preprocessing and data reading: manually eliminating interference data in the scanning data and reading the interference data into MATLAB; referring to fig. 1 and 2, data obtained after line laser scanning is shown, which represents the distance from the surface of an object to a sensor head, wherein each column of data represents the number of data points scanned on one line of the line laser, the number of columns represents the number of all line lasers used from the beginning to the end of scanning, and the scanning data of the left part and the right part of the mobile phone shell are respectively represented as matrixes M and N. As can be seen from the figure, a large amount of interference data (i.e., data with a value of ± 999.999) is gathered at the beginning and the end of scanning data, and due to the characteristic that the matrix can only be deleted in a whole row or a whole column, for the interference data, a manual deletion method is adopted, and then the data is read into MATLAB;
(2) and removing invalid data: adopting a method of searching invalid data column by column one by one to remove the invalid data; invalid data refers to interference data distributed in the middle of the scanning data, and all columns where the invalid data are located are removed by adopting a method of searching the invalid data column by column one by one;
(3) and (3) position correction: all data points are translated downwards for a certain distance by calculating the slope of the upward inclination of the mobile phone shell, so that the bottom surface of the mobile phone shell is parallel to the xoy plane; as can be seen from fig. 3 and 4, the bottom of the left and right mobile phone shells is not parallel to the xoy plane due to the mounting error of the laser (the laser is not perfectly horizontal when mounted), and therefore a position correction is made. Firstly, taking two points of the left and the right in the xoz plane, calculating the slope k of the upward inclination of the mobile phone shell,
Figure RE-GDA0001829989960000061
then, for each column of data, the labels 1,2,3, …, r, …, x of each column of data are set, and the distance l that each column of data should move downward in the z-axis direction is:
l=k×(x-r)
the corrected images are shown in FIG. 5 and FIG. 6
(4) Data simplification: respectively comparing the methods of simplifying the data of the rows of the matrix, simplifying the columns of the matrix and simultaneously simplifying the rows and the columns, and finally selecting the method of simultaneously simplifying the data of the rows and the columns of the matrix; because the point cloud data obtained by scanning contains a large number of redundant points, much inconvenience is brought to subsequent processing operation, and therefore data simplification is required.
The data reduction of the invention starts from two aspects of rows and columns of the matrix. For line data reduction, an interlaced retention method is adopted. For the simplification of the data of the rows, a method of reserving the even number of data in each odd row and reserving the odd number of data in each even row is adopted;
(5) removing noise points: removing other data points except the surface of the mobile phone shell; noise points between the boundary point deletion and the edge noise point are completely removed by finding and deleting the boundary point; noise refers to points on the surface of other objects than the surface of the handset housing, and here primarily refers to points on the platform on which the handset housing rests. The method for removing the noise points comprises the steps of finding out the row or the column where the deleted demarcation point is located by utilizing a ginput () function, and then removing all data between the deleted demarcation point and the edge noise points;
(6) data splicing: the method comprises the following steps: deleting repeated parts in the left and right parts of data of the mobile phone shell, splicing the deleted repeated parts, and performing supplementary imaging on the image which is temporarily deleted during splicing; data splicing includes two aspects in total. Firstly, the repeated parts in the left and right parts of data of the mobile phone shell are deleted and spliced together by a method of finding and deleting a demarcation point. Secondly, because the two matrixes are spliced together, the same column number of the two matrixes needs to be ensured. The last rows of data of the N matrix are removed based on the M matrix with less rows, so that the rows are the same as M. Splicing the M and N matrixes into a matrix F, making an image of the matrix F, and supplementing the removed image of the matrix N in the same coordinate system;
(7) reconstructing a curved surface: reconstructing the surface of the mobile phone shell, and adjusting the range of the imaged coordinate axis according to the number of the data points and the actual length of the mobile phone shell; and generating data point matrixes P and Q by using a mesegrid function, and making a curved surface about P, Q and F by using a surf function. And adjusting the range of the coordinate axis according to the number of the data points and the actual length of the mobile phone shell.
According to the three-dimensional reconstruction method of the mobile phone shell based on the line laser scanning, the point cloud data of the surface of the mobile phone shell are acquired through the line laser scanning, and the method has the advantages of high acquisition rate and high imaging precision; and the MATLAB is used for carrying out three-dimensional reconstruction on the hand casing, so that the operation is simple and the professional dependence is low.
The above is only a specific application example of the present invention, and the protection scope of the present invention is not limited in any way. All the technical solutions formed by equivalent transformation or equivalent replacement fall within the protection scope of the present invention.

Claims (4)

1. A three-dimensional reconstruction method of a mobile phone shell based on line laser scanning is characterized by comprising the following steps: and scanning the surface of the mobile phone shell twice through a line laser scanner, splicing the obtained data, and reconstructing the complete surface of the mobile phone shell.
2. The three-dimensional reconstruction method for the mobile phone shell based on the line laser scanning as claimed in claim 1, wherein: the method comprises the following specific steps: data preprocessing and data reading, invalid data removal, position correction, data simplification, noise point removal, data splicing and curved surface reconstruction; wherein the content of the first and second substances,
(1) data preprocessing and data reading: manually eliminating interference data in the scanning data and reading the interference data into MATLAB;
(2) and removing invalid data: adopting a method of searching invalid data column by column one by one to remove the invalid data;
(3) and (3) position correction: all data points are translated downwards for a certain distance by calculating the slope of the upward inclination of the mobile phone shell, so that the bottom surface of the mobile phone shell is parallel to the xoy plane;
(4) data simplification: respectively comparing the methods of simplifying the data of the rows of the matrix, simplifying the columns of the matrix and simultaneously simplifying the rows and the columns, and finally selecting the method of simultaneously simplifying the data of the rows and the columns of the matrix;
(5) removing noise points: removing other data points except the surface of the mobile phone shell; noise points between the boundary point deletion and the edge noise point are completely removed by finding and deleting the boundary point;
(6) data splicing: the method comprises the following steps: deleting repeated parts in the left and right parts of data of the mobile phone shell, splicing the deleted repeated parts, and performing supplementary imaging on the image which is temporarily deleted during splicing;
(7) reconstructing a curved surface: reconstructing the surface of the mobile phone shell, and adjusting the range of the imaging coordinate axis according to the number of the data points and the actual length of the mobile phone shell.
3. The three-dimensional reconstruction method for the mobile phone shell based on the line laser scanning as claimed in claim 1, wherein: and point cloud data of the surface of the mobile phone shell are acquired through line laser scanning.
4. The three-dimensional reconstruction method for the mobile phone shell based on the line laser scanning as claimed in claim 1, wherein: and performing three-dimensional reconstruction on the surface of the hand casing by using MATLAB.
CN201810731214.4A 2018-07-05 2018-07-05 Three-dimensional reconstruction method for mobile phone shell based on line laser scanning Pending CN110751709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810731214.4A CN110751709A (en) 2018-07-05 2018-07-05 Three-dimensional reconstruction method for mobile phone shell based on line laser scanning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810731214.4A CN110751709A (en) 2018-07-05 2018-07-05 Three-dimensional reconstruction method for mobile phone shell based on line laser scanning

Publications (1)

Publication Number Publication Date
CN110751709A true CN110751709A (en) 2020-02-04

Family

ID=69274753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810731214.4A Pending CN110751709A (en) 2018-07-05 2018-07-05 Three-dimensional reconstruction method for mobile phone shell based on line laser scanning

Country Status (1)

Country Link
CN (1) CN110751709A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106091976A (en) * 2016-05-27 2016-11-09 武汉大学 The Aulomatizeted Detect of cuboid and three-dimensional reconfiguration system and method
CN106705890A (en) * 2016-12-23 2017-05-24 上海电机学院 Three-dimensional scanning magic box
CN106767518A (en) * 2017-02-17 2017-05-31 华南理工大学 A kind of phone housing quality on-line detecting device and method based on line laser structured light

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106091976A (en) * 2016-05-27 2016-11-09 武汉大学 The Aulomatizeted Detect of cuboid and three-dimensional reconfiguration system and method
CN106705890A (en) * 2016-12-23 2017-05-24 上海电机学院 Three-dimensional scanning magic box
CN106767518A (en) * 2017-02-17 2017-05-31 华南理工大学 A kind of phone housing quality on-line detecting device and method based on line laser structured light

Similar Documents

Publication Publication Date Title
CN110363858B (en) Three-dimensional face reconstruction method and system
CN107133989B (en) Three-dimensional scanning system parameter calibration method
CN111598993B (en) Three-dimensional data reconstruction method and device based on multi-view imaging technology
CN111160298A (en) Robot and pose estimation method and device thereof
CN111080776B (en) Human body action three-dimensional data acquisition and reproduction processing method and system
CN113343925B (en) Face three-dimensional reconstruction method and device, electronic equipment and storage medium
CN111275633A (en) Point cloud denoising method, system and device based on image segmentation and storage medium
CN104215199A (en) Wig head capsule production method and system
CN111189415A (en) Multifunctional three-dimensional measurement reconstruction system and method based on line structured light
CN109215118B (en) Incremental motion structure recovery optimization method based on image sequence
CN114219717A (en) Point cloud registration method and device, electronic equipment and storage medium
CN114549772A (en) Multi-source three-dimensional model fusion processing method and system based on engineering independent coordinate system
CN110751709A (en) Three-dimensional reconstruction method for mobile phone shell based on line laser scanning
CN112802184B (en) Three-dimensional point cloud reconstruction method, three-dimensional point cloud reconstruction system, electronic equipment and storage medium
CN112562067A (en) Method for generating large-batch point cloud data sets
CN116476070B (en) Method for adjusting scanning measurement path of large-scale barrel part local characteristic robot
KR100965838B1 (en) An Implicit Geometric Regularization of Building Polygon Using LiDAR Data
CN110648391B (en) Point cloud processing three-dimensional reconstruction method
CN116109778A (en) Face three-dimensional reconstruction method based on deep learning, computer equipment and medium
CN113496468B (en) Depth image restoration method, device and storage medium
CN116797716A (en) Real-time acquisition method, device and system for mapping model
CN112665528A (en) Correction method for laser scanning three-dimensional imaging
CN1147823C (en) Triangular vector approximating method of digitalized character contour
JP3835658B2 (en) Three-dimensional shape information generation method and apparatus, and recording medium
CN109934837A (en) A kind of extracting method of 3D plant leaf blade profile, apparatus and system

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200204