Scanning data splicing method and apparatus, and device and medium

By obtaining the pose of the face and mouth scanning grid results, and using the facial pose and tooth pose for data splicing, the existing technology's problems of low tooth splicing accuracy and insufficient anti-noise ability are solved, and efficient and accurate Scanned data stitching.

WO2024183760A1PCT designated stage expired Publication Date: 2024-09-12SHINING 3D TECH CO LTD

Patent Information

Application Number
PCT/CN2024/080360
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-07
Filing Date
2024-03-06
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In the existing technology, the tooth splicing accuracy of mouth scan data and facial scan data is low, and the anti-noise ability is insufficient, which leads to increased difficulty in splicing, especially when the resolution of facial scan data is low and the proportion of tooth data is small.

Method used

By obtaining the pose of the face and mouth scan grid results, using facial pose and tooth pose for data splicing, using feature point matching and rigid body transformation matrix for splicing, combined with dental arch line fitting and iterative closest point algorithm, to improve Splicing accuracy and success rate.

Benefits of technology

It improves the accuracy and success rate of scanned data splicing, meets users' needs for high-precision splicing, and improves the efficiency and quality of scanned data splicing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024080360_12092024_PF_FP_ABST
    Figure CN2024080360_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure relate to a scanning data splicing method and apparatus, and a device and a medium. The method comprises: acquiring a facial pose corresponding to a facial scanning mesh result of a user; acquiring a tooth pose corresponding to a mouth scanning mesh result of the user; and splicing the facial scanning mesh result and the mouth scanning mesh result on the basis of the facial pose and the tooth pose, so as to obtain an initial splicing result. By means of the technical solution, a facial pose and a tooth pose assist in splicing, such that the accuracy of an initial splicing result is improved while the splicing efficiency is ensured, thereby improving a final splicing success rate.
Need to check novelty before this filing date? Find Prior Art

Description

Scanning data splicing method, device, equipment and medium

[0001] This disclosure claims priority to a Chinese patent application filed with the Patent Office of China on March 7, 2023, with application number 202310229276.6 and invention name “A method, device, equipment and medium for stitching scanned data”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present disclosure relates to the field of data processing technology, and in particular to a scan data splicing method, device, equipment and medium. Background Art

[0003] Typically, in application scenarios such as smile design and simulated orthodontics, it is necessary to accurately splice the mouth scan data onto the facial scan data to achieve the effect of linking the facial scan data with the mouth scan data, which can serve as a reference for later orthodontic diagnosis and treatment, medical aesthetics and other fields. However, the resolution difference between the mouth scan data and the facial scan data is relatively large, the proportion of the splicable area is low, the facial scan data is affected by the face, and the tooth data in the facial scan data is greatly affected by noise, resulting in difficulty in splicing the mouth scan data with the tooth data in the facial scan data.

[0004] In the related art, the splicing accuracy of the mouth scan data and the facial scan data is relatively poor.

[0005] Summary of the Invention

[0006] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a scan data stitching method, device, equipment and medium.

[0007] The present disclosure provides a method for stitching scanned data, the method comprising:

[0008] Get the facial pose corresponding to the user's facial scan mesh result;

[0009] Obtaining a tooth posture corresponding to a mesh result of an oral scan of the user;

[0010] The facial scan mesh result and the mouth scan mesh result are spliced ​​based on the facial pose and the tooth pose to obtain an initial splicing result.

[0011] The present disclosure also provides a scan data splicing device, the device comprising:

[0012] The first acquisition module is used to obtain the facial posture corresponding to the user's facial scanning grid result;

[0013] A second acquisition module is used to obtain the tooth posture corresponding to the user's mouth scanning grid result;

[0014] A splicing module is used to splice the facial scan grid result and the mouth scan grid result based on the facial posture and the tooth posture to obtain an initial splicing result.

[0015] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the scan data splicing method provided in the embodiment of the present disclosure.

[0016] An embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the scan data stitching method provided in the embodiment of the present disclosure.

[0017] The scanning data stitching solution provided by the embodiment of the present disclosure obtains the facial pose corresponding to the user's facial scanning grid result, and obtains the tooth pose corresponding to the user's mouth scanning grid result, and stitches the facial scanning grid result and the mouth scanning grid result based on the facial pose and the tooth pose to obtain an initial stitching result. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0019] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0020] FIG1 is a schematic diagram of a flow chart of a scan data stitching method provided by an embodiment of the present disclosure;

[0021] FIG2 is a flow chart of another scan data stitching method provided by an embodiment of the present disclosure;

[0022] FIG3 is a schematic structural diagram of a scan data splicing device provided by an embodiment of the present disclosure;

[0023] FIG4 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0026] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

[0027] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0028] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0030] At present, the proportion of dental data in facial scan data is very low, the stitching area is small, and the dental data of oral scans is relatively fine. The resolution of facial scan data is low, and the dental data in facial scan data is often interfered by noise. There is also the problem of incomplete data. These situations have greatly increased the difficulty of stitching. The existing stitching method has a relatively large amount of calculation, weak anti-noise ability, and low stitching accuracy.

[0031] In response to the above problems, the embodiments of the present disclosure propose a scan data stitching method, which improves the existing rough stitching method and increases the stitching success rate for the tooth stitching scenario of oral scan data and facial scan data.

[0032] Specifically, FIG1 is a flow chart of a scan data stitching method provided by an embodiment of the present disclosure. The method can be performed by a scan data stitching device, wherein the device can be implemented using software and / or hardware and can generally be integrated into an electronic device. As shown in FIG1 , the method includes:

[0033] Step 101: Obtain the facial pose corresponding to the user's facial scan grid result.

[0034] The facial scan mesh result refers to the mesh data of the user's face. This can be obtained by scanning the user's face with a device such as a facial scanner, obtaining facial point cloud data, and then meshing it. The facial pose, such as the frontal face orientation and the angle of the side face, can be obtained.

[0035] In an embodiment of the present disclosure, after obtaining the facial scanning grid result, the facial pose corresponding to the facial scanning grid result can be obtained. In some embodiments, a facial image of the user is obtained, and the facial image is recognized to obtain the dental area and key facial feature points. The dental area and key facial feature points are projected onto the facial scanning grid result to obtain the facial scanning grid result to be processed. Calculation is performed based on the facial scanning grid result to obtain the facial pose corresponding to the facial scanning grid result.

[0036] In other embodiments, facial feature points corresponding to the facial scan grid result are obtained, and the facial pose corresponding to the facial scan grid result is determined based on the facial feature points. The above two methods are merely examples of obtaining the facial pose corresponding to the user's facial scan grid result. This disclosure does not specifically limit the implementation method of obtaining the facial pose corresponding to the user's facial scan grid result.

[0037] Step 102: Obtain the tooth posture corresponding to the user's mouth scan grid result.

[0038] The mouth scanning grid result refers to the grid data of the user's mouth. The mouth of the user can be scanned by a device such as a mouth scanner to obtain the mouth point cloud data, and then the data is gridded to obtain the mouth scanning grid result.

[0039] In the embodiments of the present disclosure, tooth posture refers to the direction of the front teeth area. There are many ways to obtain the tooth posture corresponding to the mouth scanning grid result. In some embodiments, the mouth scanning grid result is projected onto a two-dimensional plane to obtain two-dimensional coordinate points of the mouth. The two-dimensional coordinate points of the mouth are processed according to a preset processing method to obtain a two-dimensional curve. The parameters corresponding to the two-dimensional curve are fitted based on the dental arch line fitting method to obtain the tooth posture; in other embodiments, the mouth scanning grid result is directly calculated based on a preset posture estimation formula to obtain the tooth posture; the above two methods are only examples of obtaining the tooth posture corresponding to the mouth scanning grid result. The embodiments of the present disclosure do not specifically limit the method of obtaining the tooth posture corresponding to the mouth scanning grid result.

[0040] Step 103: splice the facial scan mesh result and the mouth scan mesh result based on the facial pose and the tooth pose to obtain an initial splicing result.

[0041] In an embodiment of the present disclosure, after obtaining the facial pose and tooth pose, the facial scan grid result and the mouth scan grid result are spliced ​​based on the facial pose and tooth pose to obtain an initial splicing result. In some embodiments, the mouth scan grid result is converted to a coordinate system corresponding to the facial scan grid result, and feature points with the same target number and the same position are obtained from the facial scan grid result and the mouth scan grid result respectively, and the rigid body transformation matrix between the feature points is determined. The processed facial scan grid result and the mouth scan grid result are spliced ​​according to the rigid body transformation matrix to obtain an initial splicing result. In other embodiments, the facial scan grid result is converted to a coordinate system corresponding to the mouth scan grid result, the upper teeth area is cut out from the facial scan grid result, and the front teeth area of ​​a certain width is cut out from the mouth scan grid result. Based on a fixed-direction feature descriptor (such as a point on the tooth tip, etc.), the cut front teeth area is spliced ​​to the upper teeth area to obtain an initial splicing result. The above two methods are only examples. The embodiment of the present disclosure does not impose any specific restrictions on the method of splicing the facial scan mesh results and the mouth scan mesh results based on the facial pose and the tooth pose to obtain the initial splicing result.

[0042] The scan data stitching solution provided by the disclosed embodiments obtains the facial pose corresponding to the user's facial scan grid result, and obtains the dental pose corresponding to the user's mouth scan grid result. Based on the facial pose and dental pose, the facial scan grid result and the mouth scan grid result are stitched together to obtain an initial stitching result. This technical solution, using facial pose and dental pose as auxiliary stitching, improves the accuracy of the initial stitching result while ensuring stitching efficiency, thereby increasing the final stitching success rate and meeting the user's precision requirements for scan data stitching.

[0043] FIG2 is a flow chart of another scan data stitching method provided by an embodiment of the present disclosure. This embodiment further optimizes the scan data stitching method based on the above embodiment. As shown in FIG2 , the method includes:

[0044] Step 201: Obtain a user's facial image, and recognize the facial image to obtain the tooth area and key facial feature points.

[0045] Among them, the face image refers to a two-dimensional picture including the user's face, which can be obtained by scanning the user's face through a device such as a face scanner.

[0046] In the embodiments of the present disclosure, there are many ways to recognize facial images. In some implementations, facial images can be recognized using a facial intelligent recognition algorithm in an artificial intelligence recognition algorithm to obtain various areas corresponding to the face, such as the eye area, nose area, and tooth area, etc., and obtain key facial feature points, such as the tip of the nose, the root of the nose, the chin, the center of the mouth, the left corner of the mouth, the outer corner of the left eye, and the inner corner of the right eye, etc., 75 facial feature points.

[0047] The dental area may include the upper and lower dental areas, or the entire dental area. In the disclosed embodiment, the facial scan grid result primarily exposes the upper teeth, with less exposure of the lower teeth. The dental area generally refers to the upper dental area. It should be noted that after the upper dental area is stitched together, the lower dental area can be determined based on the dental occlusion state, thereby further improving stitching efficiency.

[0048] Step 202: Project the tooth area and key facial feature points onto the facial scan grid result to obtain the facial scan grid result to be processed.

[0049] In the embodiment of the present disclosure, after obtaining the tooth area and key facial feature points based on the facial image, it is necessary to project the tooth area and key facial feature points to the facial scanning grid result to obtain the facial scanning grid result to be processed, that is, map the pixel coordinate points of the tooth area and the two-dimensional coordinate points of the facial key feature points to the facial scanning grid result, thereby obtaining the facial scanning grid result to be processed including the tooth area and key facial feature points.

[0050] It can be understood that the facial image is a two-dimensional image, so the tooth area and the key feature points of the face are all two-dimensional coordinate points in the two-dimensional image coordinate system. By obtaining the coordinate transformation matrix between the image coordinate system and the scanning camera coordinate system, the tooth area and the key feature points of the face in the image coordinate system can be converted to three-dimensional coordinate points in the scanning camera coordinate system. It can also be understood as projecting the tooth area and the key feature points of the face to the facial scanning grid result based on the camera projection principle to obtain the facial scanning grid result to be processed.

[0051] In some embodiments, the tooth area and key feature points of the face are projected onto the facial scanning grid result to obtain the facial scanning grid result to be processed, including: obtaining pixel coordinate points corresponding to the tooth area; obtaining feature coordinate points corresponding to the key feature points of the face; projecting the pixel coordinate points and feature coordinate points onto the facial scanning grid result according to the transformation relationship between the image coordinate system and the scanning camera coordinate system to obtain the facial scanning grid result to be processed.

[0052] Specifically, after identifying the tooth area (usually refers to the pixel point collection area corresponding to the upper teeth area) and the key facial feature points on the face image (a two-dimensional face image taken of a user including the face) through the artificial intelligence recognition algorithm of the image, the tooth area and the key facial feature points are projected onto the facial scanning grid result based on the camera projection principle.

[0053] Specifically, the pixel coordinate points corresponding to the tooth area are obtained, and the feature coordinate points corresponding to the key feature points of the face are obtained. According to the transformation relationship between the image coordinate system and the scanning camera coordinate system, the pixel coordinate points and the feature coordinate points are projected onto the facial scanning grid result to obtain the facial scanning grid result to be processed.

[0054] Step 203: Calculate based on the face scan grid result to be processed to obtain the facial pose corresponding to the face scan grid result.

[0055] In the embodiment of the present disclosure, after obtaining the face scan grid result to be processed, it means that each facial feature point in the face scan grid result to be processed, that is, the facial feature points in the three-dimensional space, can be obtained, and the facial pose can be estimated based on each facial feature point. For example, 75 facial feature points are input into a preset facial pose calculation formula for calculation to obtain facial poses such as the frontal face orientation, the side face orientation, etc.; for example, multiple facial directions are determined by each facial feature point, and the facial pose is determined based on the multiple facial directions; the specific settings are selected according to the application scenario, and the embodiment of the present disclosure does not impose any specific restrictions.

[0056] In some embodiments, the facial contour, the first feature area, and the second feature area are determined based on the facial feature points, the facial plane is determined based on the facial contour and the first feature area, the first midline feature point and the second midline feature point are determined based on the facial feature points, and the longitudinal direction of the facial plane is determined based on the first midline feature point and the second midline feature point. The longitudinal direction of the facial plane is adjusted based on the center of gravity direction of the facial contour and the center of gravity direction of the second feature area to obtain the facial pose corresponding to the facial scanning grid result.

[0057] Among them, the first characteristic area can refer to the eye and eyebrow area; the second characteristic area refers to the mouth area; the first midline refers to the nose midline; and the second midline refers to the mouth midline.

[0058] Specifically, the facial pose corresponding to the facial scanning grid result is calculated based on the facial feature points in three-dimensional space. Usually, facial pose estimation can be completed based on the facial feature points. For example, the facial plane is estimated by taking the vertices of the facial contour and the eye and eyebrow areas, the longitudinal direction is estimated by taking the feature points of the nose midline and the mouth midline, and the facial orientation is calibrated by taking the center of gravity of the mouth area and the center of gravity of the facial contour, thereby determining the facial pose.

[0059] Step 204: Project the mouth scanning grid result onto a two-dimensional plane to obtain two-dimensional coordinate points of the mouth, process the two-dimensional coordinate points of the mouth according to a preset processing method to obtain a two-dimensional curve, and fit the parameters corresponding to the two-dimensional curve based on the dental arch line fitting method to obtain the tooth posture.

[0060] Specifically, the mouth scanning grid results are projected onto a two-dimensional plane to obtain the two-dimensional coordinate points of the mouth, which are then converted into a two-dimensional curve (represented by a two-dimensional curve formula) through diffusion corrosion on the two-dimensional plane. Finally, the parameters corresponding to the two-dimensional curve are fitted through the dental arch line fitting method to obtain the tooth posture.

[0061] Step 205: Based on the facial pose and the tooth pose, the facial scan mesh result and the mouth scan mesh result are unified into the same coordinate system to obtain the facial scan mesh result to be spliced ​​and the mouth scan mesh result to be spliced.

[0062] In an embodiment of the present disclosure, the facial scan grid result and the mouth scan grid result are unified into the same coordinate system based on the facial posture and the tooth posture, including: determining the coordinate transformation matrix between the facial scan grid result and the mouth scan grid result based on the facial posture and the tooth posture, and transforming the mouth scan grid result into the coordinate system corresponding to the facial scan grid result according to the coordinate transformation matrix; or, transforming the facial scan grid result into the coordinate system corresponding to the mouth scan grid result according to the coordinate transformation matrix.

[0063] Step 206: Determine a first tooth region to be spliced ​​from the mesh results of the face scan to be spliced, and determine a second tooth region to be spliced ​​of a target width from the mesh results of the face scan to be spliced.

[0064] Step 207: Acquire the same target number and position of feature points in the first tooth region to be spliced ​​and the second tooth region to be spliced, respectively, and determine the rigid body transformation matrix between the feature points in the first tooth region to be spliced ​​and the feature points in the second tooth region to be spliced. Splice the face scan mesh result to be processed and the mouth scan mesh result according to the rigid body transformation matrix to obtain an initial splicing result.

[0065] Specifically, based on the facial posture and tooth posture, the mouth scanning grid result and the mouth scanning grid result are aligned to the same coordinate system, and a preset number of feature points are selected from the facial scanning grid result and the mouth scanning grid result respectively, wherein the number of feature points in the facial scanning grid result is equal to the number of feature points in the mouth scanning grid result and the positions are the same, and the rigid body transformation matrix between the feature points in the facial scanning grid result and the feature points in the mouth scanning grid result is determined, and the facial scanning grid result and the mouth scanning grid result are spliced ​​according to the rigid body transformation matrix to obtain an initial splicing result.

[0066] For example, the upper teeth region is captured from the facial scan mesh, and a certain width (set based on empirical values) of the front teeth region is captured from the mouth scan mesh. Based on a fixed-direction (pre-set) feature descriptor (e.g., a point on the tooth cusp), the captured mouth scan mesh is spliced ​​onto the facial scan mesh to obtain the initial splicing result. It is understandable that, given that the pose has been confirmed, the feature descriptor no longer requires a local coordinate system estimate. A fixed-direction local coordinate system ensures minimal pose changes during the splicing process, further improving the success rate of splicing.

[0067] Step 208: Process the overlapping source scan point cloud and target scan point cloud in the initial stitching result to obtain a rotation and translation matrix. Transform the source scan point cloud to the coordinate system of the target scan point cloud according to the rotation and translation matrix, and determine the error between the transformed source scan point cloud and the target scan point cloud until the error is less than or equal to a preset error threshold, thereby obtaining the target stitching result.

[0068] Specifically, the initial stitching result is adjusted using the Iterative Closest Point (ICP) algorithm. This involves processing the overlapping source and target scan point clouds in the initial stitching result to obtain a rotation and translation matrix. The source scan point cloud is then transformed into the target scan point cloud's coordinate system based on the rotation and translation matrix. The error between the transformed source and target scan point clouds is then determined until the error is less than or equal to a preset threshold, resulting in the target stitching result. The threshold is set based on the application scenario.

[0069] The scanning data splicing solution provided by the embodiment of the present disclosure obtains the user's facial image, recognizes the facial image, obtains the tooth area and key facial feature points, projects the tooth area and key facial feature points to the facial scanning grid result, obtains the facial scanning grid result to be processed, performs calculation based on the facial scanning grid result to obtain the facial posture corresponding to the facial scanning grid result, projects the mouth scanning grid result to a two-dimensional plane, obtains the two-dimensional coordinate points of the mouth, processes the two-dimensional coordinate points of the mouth according to a preset processing method, obtains a two-dimensional curve, fits the parameters corresponding to the two-dimensional curve based on the dental arch line fitting method, obtains the tooth posture, unifies the facial scanning grid result and the mouth scanning grid result into the same coordinate system based on the facial posture and tooth posture, obtains the facial scanning grid result to be spliced ​​and the mouth scanning grid result to be spliced, and obtains the facial scanning grid result to be spliced ​​and the mouth scanning grid result to be spliced. A first tooth region to be spliced ​​is determined from the facial scanning grid result, and a second tooth region to be spliced ​​of a target width is determined from the mouth scanning grid result. Feature points with the same target number and position are obtained from the first tooth region to be spliced ​​and the second tooth region to be spliced, respectively, and a rigid body transformation matrix between the feature points in the first tooth region to be spliced ​​and the feature points in the second tooth region to be spliced ​​is determined. The processed facial scanning grid result and the mouth scanning grid result are spliced ​​according to the rigid body transformation matrix to obtain an initial splicing result. The overlapping source scanning point cloud and target scanning point cloud in the initial splicing result are processed to obtain a rotation and translation matrix. The source scanning point cloud is transformed into the coordinate system of the target scanning point cloud according to the rotation and translation matrix. The error between the transformed source scanning point cloud and the target scanning point cloud is determined until the error is less than or equal to a preset error threshold to obtain a target splicing result. The above technical solution solves the technical problem of difficult tooth splicing between oral scan data and facial scan data. Through auxiliary splicing of facial posture and tooth posture, the accuracy of the initial splicing result is improved while ensuring the stitching efficiency, thereby improving the accuracy of the target splicing result, ensuring the success rate of the final scan data stitching, meeting the user's requirements for the accuracy of scan data stitching, and improving the user's scanning and stitching experience.

[0070] FIG3 is a schematic diagram of the structure of a scan data splicing device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. As shown in FIG3 , the device includes:

[0071] The first acquisition module 301 is configured to obtain the facial posture corresponding to the user's facial scanning grid result;

[0072] The second acquisition module 303 is configured to obtain the tooth posture corresponding to the mouth scanning grid result;

[0073] The stitching module 303 is configured to stitch the facial scan mesh result and the mouth scan mesh result based on the facial pose and the tooth pose to obtain an initial stitching result.

[0074] Optionally, the first acquisition module 301 includes:

[0075] an acquisition unit configured to acquire a facial image of a user, and recognize the facial image to obtain a tooth area and key facial feature points;

[0076] A projection unit is configured to project the tooth area and key feature points of the face onto a facial scanning grid result to obtain a facial scanning grid result to be processed;

[0077] The calculation unit is configured to perform calculations based on the face scan grid result to be processed to obtain the facial part pose corresponding to the face scan grid result.

[0078] Optionally, the projection unit is specifically configured as follows:

[0079] Get the pixel coordinate points corresponding to the tooth area;

[0080] Get the feature coordinate points corresponding to the key feature points of the face;

[0081] According to the transformation relationship between the image coordinate system and the scanning camera coordinate system, the pixel coordinate points and the feature coordinate points are projected onto the facial scanning grid result to obtain the facial scanning grid result to be processed.

[0082] Optionally, the computing unit is specifically configured as follows:

[0083] determining a facial contour, a first feature area, and a second feature area based on the facial feature points;

[0084] determining a facial plane based on the facial contour and the first feature area;

[0085] determining a first midline feature point and a second midline feature point based on the facial feature points, and determining a longitudinal direction of the facial plane based on the first midline feature point and the second midline feature point;

[0086] The longitudinal direction of the facial plane is adjusted based on the center of gravity direction of the facial contour and the center of gravity direction of the second feature area to obtain the facial pose corresponding to the facial scanning grid result.

[0087] Optionally, the second acquisition module 302 is specifically configured to:

[0088] Project the mouth scanning grid result onto a two-dimensional plane to obtain the two-dimensional coordinate points of the mouth;

[0089] Process the two-dimensional coordinate points of the mouth according to a preset processing method to obtain a two-dimensional curve;

[0090] The parameters corresponding to the two-dimensional curve are fitted based on the dental arch line fitting method to obtain the tooth posture.

[0091] Optionally, the splicing module 303 includes:

[0092] A coordinate unification unit is configured to unify the facial scan mesh results and the mouth scan mesh results into the same coordinate system based on the facial pose and the tooth pose, thereby obtaining the facial scan mesh results to be spliced ​​and the mouth scan mesh results to be spliced;

[0093] A determination unit is configured to determine a first tooth region to be spliced ​​from a mesh result of a face scan to be spliced, and to determine a second tooth region to be spliced ​​of a target width from a mesh result of a face scan to be spliced;

[0094] an acquisition and determination unit configured to acquire the same target number and the same position of feature points in the first tooth region to be spliced ​​and the second tooth region to be spliced, respectively, and determine a rigid body transformation matrix between the feature points in the first tooth region to be spliced ​​and the feature points in the second tooth region to be spliced;

[0095] The splicing unit is configured to splice the face scan mesh result to be processed and the mouth scan mesh result according to the rigid body transformation matrix to obtain an initial splicing result.

[0096] Optionally, the coordinate unification unit is specifically configured as follows:

[0097] The facial pose and tooth pose determine the coordinate transformation matrix between the facial scan mesh result and the mouth scan mesh result;

[0098] The mouth scan grid result is converted to the coordinate system corresponding to the facial scan grid result according to the coordinate conversion matrix; or, the facial scan grid result is converted to the coordinate system corresponding to the mouth scan grid result according to the coordinate conversion matrix to obtain the facial scan grid result to be spliced ​​and the mouth scan grid result to be spliced.

[0099] Optionally, after obtaining the initial stitching result, the following steps are also included:

[0100] a processing module configured to process the overlapping source scan point cloud and target scan point cloud in the initial stitching result to obtain a rotation and translation matrix;

[0101] The stitching adjustment module is configured to transform the source scan point cloud into the coordinate system of the target scan point cloud according to the rotation and translation matrix, determine the error between the transformed source scan point cloud and the target scan point cloud, until the error is less than or equal to a preset error threshold, and obtain the target stitching result.

[0102] The scan data stitching device provided in the embodiment of the present disclosure can execute the scan data stitching method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0103] An embodiment of the present disclosure further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the scan data stitching method provided by any embodiment of the present disclosure.

[0104] FIG4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. Specific reference will be made below to FIG4 , which shows a schematic diagram of the structure of an electronic device 400 suitable for implementing an embodiment of the present disclosure. The electronic device 400 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), and the like, as well as fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in FIG4 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

[0105] As shown in FIG4 , the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. Various programs and data required for the operation of the electronic device 400 are also stored in the RAM 403. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0106] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although FIG4 shows the electronic device 400 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.

[0107] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the scan data stitching method of the embodiment of the present disclosure are performed.

[0108] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0109] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (Hypertext Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.

[0110] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0111] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains the facial posture corresponding to the user's facial scanning grid result, and obtains the tooth posture corresponding to the user's mouth scanning grid result, and splices the facial scanning grid result and the mouth scanning grid result based on the facial posture and tooth posture to obtain an initial splicing result.

[0112] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0114] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.

[0115] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0116] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0117] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:

[0118] processor;

[0119] a memory for storing processor-executable instructions;

[0120] The processor is configured to read executable instructions from a memory and execute the instructions to implement any scan data stitching method provided in the present disclosure.

[0121] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute any scan data stitching method provided by the present disclosure.

[0122] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0123] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0124] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims. Industrial Applicability

[0125] The scan data stitching method provided by the present disclosure improves the accuracy of the initial stitching results while ensuring the stitching efficiency through the assistance of facial posture and tooth posture, thereby improving the final stitching success rate and having strong industrial applicability.

Claims

1. A scan data splicing method, comprising: Get the facial pose corresponding to the user's facial scan mesh result; Obtaining a tooth posture corresponding to a mesh result of a mouth scan of the user; The facial scan mesh result and the mouth scan mesh result are spliced ​​based on the facial pose and the tooth pose to obtain an initial splicing result.

2. According to the scan data stitching method of claim 1, the step of obtaining the facial position and pose corresponding to the facial scan grid result of the user comprises: Acquire a facial image of the user, and identify the facial image to obtain a tooth area and key facial feature points; Projecting the tooth area and the key feature points of the face onto the facial scanning grid result to obtain a facial scanning grid result to be processed; Calculation is performed based on the face scan grid result to be processed to obtain the face pose corresponding to the face scan grid result.

3. The scan data stitching method according to claim 2, wherein projecting the tooth area and the key feature points of the face to the face scan grid result to obtain the face scan grid result to be processed comprises: Obtaining pixel coordinate points corresponding to the tooth area; Obtaining feature coordinate points corresponding to the key feature points of the face; The pixel coordinate points and the feature coordinate points are projected onto the facial scanning grid result according to the transformation relationship between the image coordinate system and the scanning camera coordinate system to obtain the facial scanning grid result to be processed.

4. The scan data stitching method according to claim 2 or 3, wherein the facial scan grid result to be processed comprises: The facial feature points are calculated based on the face scan grid result to be processed to obtain the facial pose corresponding to the face scan grid result, including: Determine a facial contour, a first feature area, and a second feature area based on the facial feature points; determining a facial plane based on the facial contour and the first feature area; Determine a first midline feature point and a second midline feature point based on the facial feature points, and determine a longitudinal direction of the facial plane based on the first midline feature point and the second midline feature point; The longitudinal direction of the facial plane is adjusted based on the centroid direction of the facial contour and the centroid direction of the second feature area to obtain a facial pose corresponding to the facial scanning grid result.

5. The scan data stitching method according to any one of claims 1 to 4, wherein obtaining the tooth posture corresponding to the oral scan grid result of the user comprises: Projecting the mouth scanning grid result onto a two-dimensional plane to obtain two-dimensional coordinate points of the mouth; Processing the two-dimensional coordinate points of the mouth according to a preset processing method to obtain a two-dimensional curve; The parameters corresponding to the two-dimensional curve are fitted based on the dental arch line fitting method to obtain the tooth posture.

6. The scan data stitching method according to any one of claims 1 to 5, wherein stitching the facial scan mesh result and the mouth scan mesh result based on the facial pose and the tooth pose to obtain an initial stitching result comprises: Based on the facial posture and the tooth posture, the facial scanning grid result and the oral scanning grid result are unified into the same coordinate system to obtain the facial scanning grid result to be spliced ​​and the oral scanning grid result to be spliced; Determine a first tooth region to be spliced ​​from the face scanning grid result to be spliced, and determine a second tooth region to be spliced ​​with a target width from the face scanning grid result to be spliced; Acquire the same target number and the same position of feature points in the first tooth region to be spliced ​​and the second tooth region to be spliced, respectively, and determine a rigid body transformation matrix between the feature points in the first tooth region to be spliced ​​and the feature points in the second tooth region to be spliced; The facial scanning mesh result and the mouth scanning mesh result are spliced ​​according to the rigid body transformation matrix to obtain an initial splicing result.

7. The scan data stitching method according to claim 6, wherein the step of unifying the facial scan mesh result and the oral scan mesh result into the same coordinate system based on the facial pose and the tooth pose comprises: Determine a coordinate transformation matrix between the facial scan mesh result and the oral scan mesh result based on the facial pose and the tooth pose; Converting the mouth scan grid result to a coordinate system corresponding to the face scan grid result according to the coordinate conversion matrix; Or, the facial scan grid result is converted into a coordinate system corresponding to the mouth scan grid result according to the coordinate conversion matrix.

8. The scan data stitching method according to any one of claims 1 to 7, after obtaining the initial stitching result, the scan data stitching method further comprises: Processing the overlapping source scanning point cloud and target scanning point cloud in the initial stitching result to obtain a rotation and translation matrix; The source scan point cloud is transformed into the coordinate system of the target scan point cloud according to the rotation and translation matrix, and the error between the transformed source scan point cloud and the target scan point cloud is determined until the error is less than or equal to a preset error threshold, thereby obtaining a target stitching result.

9. A scanning data splicing device, characterized in that: include: A first acquisition module is configured to acquire the facial posture corresponding to the user's facial scanning grid result; A second acquisition module is configured to acquire a tooth posture corresponding to a mesh result of the user's mouth scan; The splicing module is configured to splice the facial scan grid result and the mouth scan grid result based on the facial pose and the tooth pose to obtain an initial splicing result.

10. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the scan data stitching method described in any one of claims 1-8.

11. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the scan data stitching method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Hybrid stitching

    CN103392191A

  • Method and device for evaluating visual positioning accuracy of circular target, storage medium and processing equipment

    CN108596980A

  • Camera pose adjustment method and system, space registration method and system and storage medium

    CN114098980A

  • Method and device for scanning oral cavity by using smart phone and storage medium

    CN114283236A

  • Tooth model generation method and device, electronic equipment and storage medium

    CN115457198A

Cited By

  • Maize straw chopping length detection method based on machine vision

    CN119399256A

  • Point cloud-based face capacity change prediction method, system and equipment after edentulous jaw implantation

    CN119559160A