Portable surface scanning method and system based on laser radar
By using LiDAR technology for 3D facial scanning on mobile terminals, the problems of device portability and operational complexity are solved, high-precision portable facial scanning is achieved, suitable for chairside operation, and the threshold for use is lowered.
Patent Information
- Application Number
- CN202410853441.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-18
AI Technical Summary
Existing 3D facial scanning equipment has the following problems: it is large and unportable, expensive, takes up a lot of space, is difficult to transfer, is inconvenient to use, has poor accuracy in highlight areas and deep concave areas of the face, is cumbersome to operate, has high barriers to use, and is inconvenient for the person being scanned Low density and high requirements on materials and colors.
Using portable surface scanning methods and systems based on LiDAR, image capture and model reconstruction are performed through mobile terminals (such as iPhone or iPad). LiDAR technology is used to directly obtain three-dimensional coordinates, reducing matching errors, and combined with image data for high-precision reconstruction. Achieve portability, simple operation and high-precision scanning.
It realizes the portability and high-precision scanning of the device, lowers the operating threshold, and can be operated portablely next to the chair. The scanning accuracy is higher than the existing technology, and it can accurately capture facial depressions and protrusions, including details such as hair and beard, during reconstruction. The accuracy can be selected according to your needs.
Smart Images

Figure CN118799491A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of facial scanning technology, and more specifically, to a portable facial scanning method and system based on laser radar. Background Art
[0002] A facial scanner is a non-contact, non-invasive instrument that can measure and reconstruct facial soft tissues in three dimensions. It has been widely used, including monitoring the growth and changes of soft tissues, planning surgical treatments, evaluating postoperative effects, and making facial prostheses. It can help medical staff make diagnoses, develop treatment plans, and explain treatment plans or results to patients. Current facial scanners are divided into the following categories based on technical principles: 1) laser scanning; 2) structured light pattern method; 3) digital stereophotogrammetry. According to the scanning instrument, it is divided into: large facial scanning instruments and portable facial scanning instruments. Due to the disadvantages of large facial scanning instruments, such as large and non-portable equipment, high price, large space occupation, difficulty in transfer, inconvenient use and inability to achieve chairside operation, facial scanning is now developing towards portability.
[0003] In the prior art, a Chinese invention application with publication number CN113454678A discloses a 3D facial scanning enhancement scheme, which specifically discloses a method for training a generator neural network to convert a low-quality 3D facial scan into a high-quality 3D facial scan, and updates the parameters of the discriminator neural network according to the comparison between the candidate high-quality spatial UV map and the reconstructed candidate high-quality spatial UV map and the comparison between the high-quality ground truth spatial UV map and the reconstructed high-quality ground truth spatial UV map; a Chinese invention application with publication number CN206271048U discloses a novel human face scanning imaging system, which The scheme includes 2 LOGO lights, 4 LED fill lights, 9 scanning modules, a memory, a switching power supply, and 2 light control boards. A facial scanner system is designed for human face for image synthesis, which has the advantages of good natural imaging effect, clear and bright imaging and good picture quality when scanning human face; the Chinese invention with publication number CN215687764U discloses a portable 3D facial scanner, including a scanner body and a scanning device, with a simple and reasonable structure, high scanning accuracy, and remote data transmission; the Chinese invention with publication number CN209462447U discloses a portable large-format scanning instrument, which includes components such as a support plate. The large-format scanner has a simple structure and is easy to carry; a Chinese invention with publication number CN202856852U discloses a foldable portable large-format scanner, which mainly includes a guide rod assembly, a scanning rod assembly, a scanner bracket assembly, a ruler, etc.; the stability and balance of the handheld portable scanner during the scanning process are ensured, so that the portable scanner can scan images in a straight line and parallel manner for multiple times; a Chinese invention with publication number CN219389299U discloses a facial scanning and recognition device that is easy to install. The solution is conducive to driving the positioning block to perform elastic movement through the facial scanning and recognition device body, mounting block, fixing block, accommodating groove, limiting groove, protruding rod, positioning block, first movable block and reset spring, thereby avoiding the situation where it is too tight during installation and causing more effort.
[0004] By searching and analyzing the above-mentioned similar existing technologies, we further found that: 1) Laser scanners use a second-class laser that can illuminate the skin as projection light, and use the time difference between the laser emitted by the instrument and the laser reflected by the face to measure the depth information of the surface information points of the object (face) using the triangulation principle, thereby achieving three-dimensional reconstruction. 2) Facial scanners that use the structured light method will emit structured light with a specific code or pattern, which will be projected onto the face to produce a phase shift, and then the camera charge-coupled device (CCD) will synchronously obtain the modulated two-dimensional light strip distortion pattern, convert the light signal into an electrical signal, obtain the structure information of the surface to be measured, and solve the image coordinates of the two-dimensional light strip through a computer system to directly or indirectly obtain the facial shape. 3) Stereo photogrammetry is based on the principle of binocular / multi-ocular vision. It uses a camera to simulate human binocular vision and uses parallax to restore the three-dimensional information of the object. It uses two or more stereo cameras with determined positions (including cameras that obtain texture information and position information) to perform passive optical three-dimensional scanning. It can also actively project unstructured light at the same time to eliminate environmental spectral interference, take two or more stereo photos, and use the image point position information on the stereo image pair to solve the position of the point to be measured in the three-dimensional space, thereby obtaining facial depth information and drawing a three-dimensional image.
[0005] The existing technology has the following disadvantages: 1) The common three-dimensional facial scanning equipment is often large and not portable, expensive, occupies a large space, is difficult to transfer, inconvenient to use, and cannot be operated at the chairside. Implementing three-dimensional facial scanning at the chairside is a more acceptable process. 2) The accuracy is poor in highlight areas and deep concave areas of the face. For example, some surfaces that are full of moisture, or parts covered with grease. For example, the recovery effect is poor in the depressions around the mouth or the deep depressions around the nose due to insufficient light. 3) The operation is relatively cumbersome, and the operator needs to be trained. The learning time cost is high, resulting in a high threshold for use and inconvenience. 4) The comfort level of the scanned person is low. Some scanners take a long time to prepare or scan, which will cause discomfort to the scanned person. In addition, it is difficult for the scanned person to maintain the same posture for a long time, resulting in scanning errors. 5) There are high requirements for the material and color of the scanned object. For example, it is difficult for conventional facial scanning to scan teeth. Laser scanning is sensitive to surface roughness and large angles; structured light is sensitive to ambient light and metal surfaces. Some products require powder spraying when collecting information on black, transparent, and reflective surfaces, which reduces patient comfort and requires complex calibration at multiple angles. Stereophotogrammetry requires daily calibration, has high operational sensitivity, performs poorly on glossy surfaces, and cannot scan fine structures such as hair very well. Summary of the invention
[0006] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a portable face scanning method and system based on laser radar, which has the advantages of portability, simple operation, high accuracy and selectivity.
[0007] The object of the present invention is achieved through the following solutions:
[0008] A portable surface scanning method based on laser radar comprises the following steps:
[0009] Image capture, using a program to obtain images with depth information from the LiDAR image dataset;
[0010] Model reconstruction: creating at least one object of the reconstruction model on the mobile terminal, the object points to the image with depth information, and then reconstructing the image; the image with depth information also has color information.
[0011] Furthermore, the image with depth information is a HEIF format image.
[0012] Furthermore, the program is used to obtain an image with depth information from a lidar image data set, specifically including the sub-steps of: loading the image data set from a hard disk into a memory, traversing the image, determining whether the image is damaged, if so, continuing to traverse the next image, if not, further determining whether the image is greater than a set reference value, if so, compressing the image, if not, proceeding to the next step, until the last image is traversed.
[0013] Furthermore, the mobile terminal includes a mobile phone and a tablet computer.
[0014] Furthermore, the image reconstruction specifically includes the sub-steps of: performing image reconstruction with optional precision: determining the image reconstruction process with optional precision according to the compression precision of the picture, the number of pictures and feature sensitivity.
[0015] Furthermore, the image reconstruction process can be performed locally or on a cloud server.
[0016] Furthermore, the image reconstruction process specifically includes the following sub-steps:
[0017] After adding an image to the workspace, determine whether it is a sequential input. If so, select the next image to add to the workspace. If not, select the image in the image data set with the largest overlap with the modeling in the current workspace to add to the workspace;
[0018] Then find the best match between the newly added image and the existing model in the workspace to form a new model;
[0019] Finally, it is determined whether the image data set has been used up. If so, the modeling results are written to the file and then the process ends. If not, the process returns to the step of determining whether it is a sequential input and continues to execute.
[0020] Furthermore, the image is compressed while being uploaded to the computer.
[0021] Furthermore, the compression accuracy selection range includes: fastest, fast, moderate, high definition and original image from low to high; the number of images includes: 200, 66, 40 and 20; the feature sensitivity selection range includes: high for smooth surface and normal for complex surface.
[0022] A portable face scanning system based on laser radar comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is loaded by the processor, any of the methods described above is executed.
[0023] The beneficial effects of the present invention include:
[0024] (1) The device of the solution of the present invention is portable: a portable mobile device (such as an iPhone or iPad, etc.) is used, and the entire process of shooting and 3D reconstruction to obtain a 3D model can be completed by hand-held without the need for assistance from others. There is no need to move to the location of a designated large-scale 3D scanning device, and portable operation can be conveniently achieved next to a chair.
[0025] (2) The scheme of the present invention is easy to operate: the whole process only needs 2 to 3 simple steps to complete the entire scanning process and obtain the scanning results. The whole process has a lower threshold and no experience in using facial scanning equipment is required. The whole process does not require any complex equipment connection.
[0026] (3) The solution of the present invention has high-precision scanning results: The scanning accuracy of the method developed by the present invention is high, which is better than the mainstream facial scanning equipment on the market. It can accurately capture facial depressions and protrusions, and can capture fine results such as hair and beard. During reconstruction, the accuracy can be independently selected according to the use requirements to achieve different application purposes.
[0027] (4) The solution of the present invention can lower the threshold for facial scanning, allowing facial scanning information to better help operators achieve relevant designs and facial soft tissue assessments. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0029] Figure 1 is a flowchart of the steps of the method according to the embodiment of the present invention;
[0030] Figure 2 This is a comparison of facial scanning effects, where the left side is the front view and the right side is the side view. ;
[0031] Figure 3 For scanning accuracy comparison, the left sub-image is the facial scanning result obtained by the existing 3DMD method, and the right sub-image is the facial scanning effect of the method of the embodiment of the present invention;
[0032] Figure 4 The figure is a magnified image of the scanned details reconstructed by the method of the present invention, wherein the left sub-image represents the facial result scanned by the method of the embodiment of the present invention, the upper right sub-image is the reconstruction result of the hair details (eyebrows), the middle right sub-image is the reconstruction result of the pore details, and the lower right sub-image is the reconstruction result of the hair details (beard). DETAILED DESCRIPTION
[0033] All features disclosed in all embodiments in this specification, or steps in all methods or processes implicitly disclosed, except for mutually exclusive features and / or steps, can be combined and / or expanded or replaced in any manner.
[0034] In view of the problems in the background, the present invention aims to solve the following technical problems: 1) How to make the device more portable, using a mobile portable device (such as an iPhone or iPad, etc.), the whole process of shooting and three-dimensional reconstruction to obtain a three-dimensional model can be completed by hand-held, without the need for external equipment, nor the need to move to the location of a designated large-scale three-dimensional scanning device, and portable operation beside a chair can be conveniently realized. 2) How to make the operation simpler, only according to the program guidance set by the present invention, only 2 to 3 simple steps are needed to complete the entire scanning process and obtain the scanning results. The threshold of the entire process is lower, and no experience in using facial scanning equipment is required. 3) How to make the accuracy higher, and how to achieve the ability to select the accuracy. The scanning accuracy of the method of the present invention is higher, which is better than the mainstream facial scanning equipment currently on the market. It can accurately capture facial depressions and protrusions, and can capture fine results such as hair and beards. During reconstruction, the accuracy can be independently selected according to the use requirements to achieve different application purposes.
[0035] Specifically, the specific implementation process of the present invention is as follows:
[0036] In the conception of the present invention, the inventor found that LiDAR technology directly obtains the three-dimensional coordinates of the target without the need for the traditional image matching process, which reduces the generation of matching errors and errors, reduces the technical difficulty and improves the level of automation. Therefore, the invention further conceives a method of reconstructing a model by integrating images and LiDAR, which fully considers the three-dimensional characteristics of laser scanning data and the high-resolution characteristics of images to complement each other. Open the application and point it at the object. Follow the instructions to take photos of the patient's face with depth information using a laser radar camera. The scanning time is short (about 30 seconds), reconstruction processing (less than 1 minute), display effects and select export format, and the reconstructed file can be shared. The face scanning function provided by the solution of the present invention can complete the entire process using only a mobile portable device (such as an iPhone or iPad, etc.).
[0037] Specifically, if Figure 1 As shown, in the embodiment, the following steps are included:
[0038] Step 1, image capture: Use the program to obtain depth images and obtain HEIF format images with depth information. The number of images is between 20 and 200.
[0039] Step 2, model reconstruction, model reconstruction: first create a reconstruction model object, which points to the HEIF format image that has just been taken, and the image can be reconstructed directly on the iPad. Reconstruction can only accurately build a three-dimensional model of a single image in space by obtaining the depth information in the depth information image. This method is more accurate than the reconstruction method that does not require depth information and relies on neural networks. In addition, clinical diagnosis requires color information, and depth information alone is not enough to show the complex features of the face.
[0040] In addition, reconstruction with optional precision can be performed on MacOS. The precision selection depends on the precision of the image, the number of images, and the feature sensitivity. The image is compressed while being transferred to the computer. The compression precision is divided into preview, reduced, medium, full, and raw from low to high, which can be understood as fastest, fast, moderate, high-definition, and original images. The number of images can be selected as 200, 66, 40, and 20. Feature sensitivity is the sensitivity to surface changes. It needs to be set high for smooth surfaces and normal for complex surfaces. When selecting precision, the user can select any screen component on the screen that can realize the radio function, such as the check box and scroll wheel. The above modeling can be calculated locally or on a cloud server.
[0041] Figure 2For the comparison of facial scanning effects, the left side is the front view and the right side is the side view. After superimposing the scanning results of the method of the embodiment of the present invention on the scanning results of the prior art DS-FSCAN (green mask below), it can be seen that the facial features of the scanning results of the present invention are more three-dimensional (eyebrows, forehead, nose bridge height and eye socket depth are closer to reality), and the details are more realistic.
[0042] Figure 3 For the comparison of scanning accuracy, the left sub-image is the facial scanning result obtained by the existing 3DMD method, and the right sub-image is the facial scanning effect of the method of the embodiment of the present invention. It can be seen that the accuracy of 3DMD is much lower than the scanning accuracy of the solution of the present invention.
[0043] Figure 4 The figure is a magnified image of the scanned details reconstructed by the method of the present invention, wherein the left sub-image represents the facial result scanned by the method of the embodiment of the present invention, the upper right sub-image is the reconstruction result of the hair details (eyebrows), the middle right sub-image is the reconstruction result of the pore details, and the lower right sub-image is the reconstruction result of the hair details (beard). Figure 4 It can be seen that higher precision detail reconstruction is achieved.
[0044] The development of using laser radar for facial scanning in mobile portable devices using the method of the present invention falls within the scope of protection of the present invention. Any product identical or similar to the present invention obtained by anyone under the inspiration of the present invention or by combining the features of the present invention with other prior arts falls within the scope of protection of the present invention.
[0045] It should be noted that within the scope of protection defined in the claims of the present invention, the following embodiments can be combined and / or expanded or replaced in any logical way from the above specific implementation methods, such as disclosed technical principles, disclosed technical features or implicitly disclosed technical features.
[0046] Example 1
[0047] A portable surface scanning method based on laser radar comprises the following steps:
[0048] Image capture, using a program to obtain images with depth information from the LiDAR image dataset;
[0049] Model reconstruction: creating at least one object of the reconstruction model on the mobile terminal, the object points to the image with depth information, and then reconstructing the image; the image with depth information also has color information.
[0050] Example 2
[0051] Based on Example 1, the image with depth information is a HEIF format image.
[0052] Example 3
[0053] Based on Example 1, the program is used to obtain an image with depth information from a lidar image dataset, specifically including sub-steps: loading the image dataset from the hard disk into the memory, traversing the image, and determining whether the image is damaged. If so, continue to traverse the next image. If not, further determine whether the image is greater than a set reference value. If so, compress the image. If not, proceed to the next step until the last image is traversed.
[0054] Example 4
[0055] Based on Example 1, the mobile terminal includes a mobile phone and a tablet computer.
[0056] Example 5
[0057] On the basis of Example 3, the image reconstruction specifically includes the following sub-steps: performing image reconstruction with optional precision: determining the image reconstruction process with optional precision according to the compression precision of the picture, the number of pictures and the feature sensitivity.
[0058] Example 6
[0059] Based on Example 5, the image reconstruction process can be performed locally or on a cloud server.
[0060] Example 7
[0061] Based on Example 5, the image reconstruction process specifically includes the following sub-steps:
[0062] After adding an image to the workspace, determine whether it is a sequential input. If so, select the next image to add to the workspace. If not, select the image in the image data set with the largest overlap with the modeling in the current workspace to add to the workspace;
[0063] Then find the best match between the newly added image and the existing model in the workspace to form a new model;
[0064] Finally, it is determined whether the image data set has been used up. If so, the modeling results are written to the file and then the process ends. If not, the process returns to the step of determining whether it is a sequential input and continues to execute.
[0065] Example 8
[0066] Based on the third embodiment, the image is compressed while being uploaded to the computer.
[0067] Example 9
[0068] Based on Example 5, the selection range of compression accuracy includes: fastest, fast, moderate, high definition and original image from low to high; the value range of the number of pictures includes: 200, 66, 40 and 20; the selection range of feature sensitivity includes: high setting for smooth surface and normal setting for complex surface.
[0069] Example 10
[0070] A portable face scanning system based on laser radar includes a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is loaded by the processor, the method described in any one of Examples 1 to 9 is executed.
[0071] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.
[0072] According to one aspect of an embodiment of the present invention, a computer program product or a computer program is provided, the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in the above various optional implementations.
[0073] As another aspect, an embodiment of the present invention further provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.
Claims
1. A portable surface scanning method based on laser radar, characterized in that: The following steps are involved: Image capture, using a program to obtain images with depth information from the LiDAR image dataset; Model reconstruction: creating at least one object of the reconstruction model on the mobile terminal, the object points to the image with depth information, and then reconstructing the image; the image with depth information also has color information.
2. The portable surface scanning method based on laser radar according to claim 1 is characterized in that: The image with depth information is a HEIF format image.
3. The portable surface scanning method based on laser radar according to claim 1, characterized in that: The described program is used to obtain an image with depth information from a lidar image data set, specifically including the following sub-steps: loading the image data set from a hard disk into a memory, traversing the image, determining whether the image is damaged, if so, continuing to traverse the next image, if not, further determining whether the image is greater than a set reference value, if so, compressing the image, if not, proceeding to the next step until the last image is traversed.
4. The portable surface scanning method based on laser radar according to claim 1, characterized in that: The mobile terminal includes a mobile phone and a tablet computer.
5. The portable surface scanning method based on laser radar according to claim 3 is characterized in that: The image reconstruction specifically includes the following sub-steps: performing image reconstruction with optional precision: determining the image reconstruction process with optional precision according to the compression precision of the picture, the number of pictures and the feature sensitivity.
6. The portable surface scanning method based on laser radar according to claim 5, characterized in that: The image reconstruction process can be performed locally or on a cloud server.
7. The portable surface scanning method based on laser radar according to claim 5, characterized in that: The image reconstruction process specifically includes the following sub-steps: After adding an image to the workspace, determine whether it is a sequential input. If so, select the next image to add to the workspace. If not, select the image in the image data set with the largest overlap with the modeling in the current workspace to add to the workspace; Then find the best match between the newly added image and the existing model in the workspace to form a new model; Finally, it is determined whether the image data set has been used up. If so, the modeling results are written to the file and then the process ends. If not, the process returns to the step of determining whether it is a sequential input and continues to execute.
8. The portable surface scanning method based on laser radar according to claim 3 is characterized in that: The images are compressed as they are uploaded to your computer.
9. The portable surface scanning method based on laser radar according to claim 5, characterized in that: The compression accuracy selection range includes: fastest, fast, moderate, high definition and original image from low to high; the number of images includes: 200, 66, 40 and 20; the feature sensitivity selection range includes: high for smooth surfaces and normal for complex surfaces.
10. A portable face scanning system based on laser radar, characterized in that: The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is loaded by the processor, the method according to any one of claims 1 to 9 is executed.
