Automatic trimming of surface meshes
By calculating function values and isolines on the grid, the boundary area of the 3D open curved grid model is automatically trimmed, which solves the problems of irregular boundaries and false information in the existing technology, and achieves smooth and efficient processing of the boundaries.
Patent Information
- Application Number
- CN201980081372.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-12-20
- Filing Date
- 2019-12-19
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2039-12-19
AI Technical Summary
It is difficult to automatically trim the boundary areas of 3D open-curved mesh models with existing technology, especially in intraoral scanning, resulting in irregular boundaries and flap areas containing false information, which affects further processing and application of the model.
By calculating function values on the grid, the changing areas of local surface characteristics are identified and grouped, and contours are used to define the trimmed boundary areas to achieve automatic trimming to ensure smooth boundaries without modifying the grid model.
It realizes automatic trimming of the boundary area of the curved surface mesh, removes false information, ensures the smoothness of the boundary, reduces user interaction, and improves processing efficiency.
Smart Images

Figure CN113168731B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method for automatically trimming a boundary region of a three-dimensional (3D) open surface mesh model, the 3D open surface mesh model including an inner mesh region delimited by boundary vertices and edges. In a specific embodiment, the present invention relates to a method for automatically trimming an open surface mesh representing an intraoral region. Background Art
[0002] In many different applications, including engineering applications, entertainment applications, law enforcement applications, and medical applications, the use of 3D models of real-world objects is becoming commonplace. These 3D models are typically constructed from data collected using a 3D scanning device. Different types of 3D scanning devices are used, and these 3D scanning devices can be classified according to the technology used to capture 3D data. Each technology has its own limitations and advantages. Optical 3D scanning devices are limited by their field of view and only collect 3D data of object surfaces that can be placed within the field of view of the scanning device. In addition, obtaining a 3D model of an object or part thereof typically requires capturing multiple scans from many different directions to collect data on different sides of the object. These scans are registered relative to each other and merged into a single data set. 3D scanning devices typically register 3D surface data as a point cloud, which is converted into a model such as a structured point cloud, a polygonal mesh model, a NURBS surface model, or a CAD model based on editable features according to the further use of the 3D data. The polygonal surface mesh model includes a collection of vertices, edges, and faces that define the shape of the polyhedron face.
[0003] When only a portion of an object is scanned, either because a 3D model of the entire object is not required, or because some parts of the object cannot be adequately placed within the field of view of the 3D scanning device, an open surface mesh model including an inner mesh area delimited by boundary vertices and edges is obtained. For example, due to incomplete scanning within the boundary area, the boundaries of such an open surface mesh are usually irregular or jagged.
[0004] A specific example of an open surface mesh model is a surface representation of the intraoral cavity, including a representation of a dental arch obtained using a 3D intraoral scanner (IOS). As an alternative to dental arch simulation impressions, the use of such intraoral scanners is becoming increasingly popular because their use has proven to be time-saving and less inconvenient for the patient. In addition, the surface model of the patient's dentition obtained by an intraoral scanner can be used immediately for treatment planning, for example by merging the surface model with a CBCT scan of the maxillofacial area of the same patient. In contrast, the simulation impression needs to be sent to the laboratory where it is prepared for 3D scanning. However, the boundary areas of the intraoral surface mesh model (usually a triangular mesh model generated by an intraoral scan) often include areas that do not contain relevant information or incorrect information and need to be removed. These false scan areas are called flap areas, which may be artificial data or may represent part of the patient's lip, cheek, tongue, or retromolar area. In addition, the boundaries of the intraoral scan surface mesh are often jagged, which is visually unsatisfactory and may complicate further processing of the intraoral surface model. Figure 1 An intraoral scanned model with jagged borders and large flap areas is shown. In order to remove these flap areas and to some extent smooth the borders, currently available intraoral scanning software applications offer the user the possibility to manually trim the border areas of the intraoral surface model by indicating cut-off lines for trimming on the model. This is very time consuming and manual trimming does not allow to obtain a satisfactory smoothness of the surface mesh borders. Therefore, there is a need to automatically trim the outer areas of the open surface mesh including the intraoral surface model, so as to remove the flap areas and ensure a smooth border without modifying or adding artificial surface areas to the mesh model.
[0005] Bose (2009) described a level set method for detecting open surfaces embedded in 3D volumes. Summary of the invention
[0006] In order to meet or at least partially meet the above objects, a method, a system and a computer program according to the invention are defined in the independent claims. Specific embodiments are defined in the dependent claims.
[0007] In one embodiment, a method is implemented (i.e., performed) by a computer or by a group of computers, the method comprising receiving an open surface mesh, which may be received as data from a 3D scanning system or as an electronic file containing the open surface mesh data. The method also includes determining an area of the open surface mesh to be retained after the trimming, and finally trimming the open surface mesh by removing one or more areas outside the area to be retained from the mesh. Determining the area to be retained may include the following steps:
[0008] - calculating function values at a plurality of locations on said open surface mesh, wherein said function values vary gradually over said mesh, preferably relative to a metric indicative of local surface mesh properties, and
[0009] - Identifying regions of the open surface mesh to be retained after pruning, wherein the regions group mesh locations having function values within a selected range.
[0010] More preferably, determining the zone to be maintained comprises the following steps:
[0011] - calculating a function value for a plurality of locations on said open surface mesh, wherein said function value varies gradually over said mesh, preferably with respect to a metric indicative of a local surface mesh property,
[0012] - calculating one or more contour lines according to the function value, the contour lines connecting the surface grid positions having the same function value,
[0013] - selecting contour lines of interest surrounding the open surface mesh,
[0014] - Use the selected contours to define a cutoff line enclosing the surface mesh area to be retained after trimming.
[0015] Preferably, the method according to the invention is performed in an automated manner with minimal user interaction.
[0016] In one embodiment, the present invention also relates to a system for automatically trimming an open surface mesh. The system includes a processing unit configured to perform the operations of the above method.
[0017] The present invention also relates to a computer program, a computer program product and a storage medium comprising computer-readable instructions, wherein the computer-readable instructions are configured to cause the computer to execute the above method or implement the functions of the above system when executed on the computer. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 : Example of an intraoral curved scan (1) with a jagged outer border (2) and several large flap areas (3).
[0019] Figure 2 : Vertex v i Voronoi region A in its 1-ring neighborhood (gray area) i (A) and mixed areas Also indicated is the edge ij =(v i ,v j ) ij and β ij .
[0020] Figure 3 : Black and white representation of a heat map on a 2D toy surface mesh with noisy boundaries, flaps (right) and cracks (left). The radius of the circular surface is 10 mm. Heat diffusion is applied and the boundaries are kept at u(v B )=1° and all other locations have heat dissipation (λ=0.01). The steady-state solution is visualized with 20 contour lines at evenly spaced temperatures.
[0021] Figure 4 : An open surface mesh with a false upper boundary, representing a 3D scan of a human head. A cutoff line (5) is defined to trim the mesh by applying a heat diffusion function.
[0022] Figure 5 : Simplified representation of the intraoral surfaces of the mandible (A) and maxilla (B). Typically, in dentistry, the darker grey areas are of interest, while the lighter grey areas are trimmed away when processing the intraoral surface mesh.
[0023] Figure 6 : View of a plane that establishes the principal curvatures on a surface (adapted from an image by Steve Garvie, released under GFDL).
[0024] Figure 7 : Schematic diagram of the 1-ring neighborhood of an interior vertex (A) and a boundary vertex (B). The edge vectors are represented as regular arrows, and the mean curvature normal κ n Indicated by bold arrows.
[0025] Figure 8 : Black and white representation of a heat map showing the contours resulting from applying a heat spread function with a curvature-dependent thermal dissipation coefficient (λ) on a challenging intraoral curved surface mesh.
[0026] Fig. 9 : Steady-state solution for dissipative heat diffusion applied to a surface mesh inside the mouth. Twenty contour lines for visualization.
[0027] Fig.10 : Schematic representation of the different temperature contour line variables that are determined and used when automatically selecting contour lines that enclose the grid area of interest.
[0028] Fig.11 : (A) Temperature threshold calculated using equation (20) and (B) corresponding selected contours indicated on the intraoral surface grid .
[0029] Fig.12 : Example of an intraoral surface mesh that may benefit from the post-processing steps described in Section 5.
[0030] Fig.13 : Schematic representation of the shortest distances between the selected contour lines and the vertices that delimit the outer boundary segments of the flap area and the fissure, respectively.
[0031] Fig.14 : Schematic representation of the possible intersections between a selected contour or cutoff line and the triangles of a surface mesh.
[0032] Fig.15 : Schematic representation of the outer boundary mesh segment delimiting a fracture. Dashed one-way arrows indicate, for a given vertex, the neighboring vertices with the highest ratio of boundary geodesic distance to Euclidean distance. Full two-way arrows indicate outer boundary vertices that are neighboring vertices with the highest ratio of boundary geodesic distance to Euclidean distance to each other. Such vertices provide candidate entry vertex pairs. The candidate entry pair on the left will not be retained as an entry pair because the outer boundary vertices enclosed by this pair constitute a subset of the candidate entry pairs on the right.
[0033] Fig.16 : Comparison of cut-off lines identified using different post-processing steps for an intraoral surface mesh with cracks (6) in the molar area.
[0034] Fig.17 : Heat diffusion applied to (a) a toy surface mesh and (b) an intra-mouth scan with one heat source and one heat sink: (7) indicates the newly discovered cutoff line; (8) and (9) indicate the lines delineating the local area around the heat source (10) and heat sink (11), respectively, over which the heat diffusion equations were reapplied.
[0035] Fig.18 : Schematic diagram of an exemplary implementation of a system according to one embodiment of the present invention. DETAILED DESCRIPTION
[0036] The present invention will be described with respect to particular embodiments and with reference to certain drawings but the invention is not limited thereto but only by the claims.
[0037] In addition, the terms first, second, etc. in the specification and claims are used to distinguish between similar elements and are not necessarily used to describe a sequence in time, space, level, or in any other manner. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, and that the embodiments of the invention described herein are capable of operating in a sequence other than that described or illustrated herein.
[0038] It should be noted that the term "comprising" used in the claims should not be interpreted as being limited to the means listed thereafter; it does not exclude other elements or steps. It should therefore be interpreted as specifying the presence of the features, integers, steps or components mentioned, but does not exclude the presence or addition of one or more other features, integers, steps or components or groups thereof. Thus, the scope of the expression "a device comprising means A and B" should not be limited to devices consisting only of components A and B. This means that with respect to the present invention, the only relevant components of the device are A and B.
[0039] Throughout the specification, references to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the phrases "in one embodiment" or "in an embodiment" appearing in various places throughout the specification do not necessarily all refer to the same embodiment, but may refer to the same embodiment. Furthermore, in one or more embodiments, the particular features, structures, or characteristics may be combined in any suitable manner, as will be apparent to one of ordinary skill in the art from this disclosure.
[0040] Similarly, it should be understood that in the description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof to simplify the disclosure and aid in understanding one or more of the various inventive aspects. However, the method of the present disclosure should not be interpreted as reflecting the following intention: the claimed invention requires more features than the features explicitly recited in each claim. Rather, as reflected in the appended claims, inventive aspects lie in less than all the features of a single preceding disclosed embodiment. Therefore, the claims attached to the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim independently serving as an independent embodiment of the present invention.
[0041] In addition, although some embodiments described herein include some other features that are not included in other embodiments, the feature combinations of different embodiments are intended to be included within the scope of the present invention and form different embodiments that will be understood by those skilled in the art. For example, in the appended claims, any claimed embodiment can be used in any combination.
[0042] It should be noted that when describing certain features or aspects of the present invention, the use of a particular term is not meant to imply that the term is redefined herein to be limited to include any particular feature of the feature or aspect of the present invention associated with the term.
[0043] In the description provided herein, many specific details are set forth. However, it should be understood that embodiments of the present invention can be practiced without these specific details. In other cases, well-known methods, structures, and techniques are not shown in detail to avoid obstructing understanding of this description.
[0044] As used herein, "surface mesh" refers to a polygonal surface mesh model comprising a collection of vertices, edges, and faces that define the shape of a polyhedral face representation. The skilled person will understand that in the context of the present invention, the term "surface mesh" may also refer to an organized point cloud in which neighborhood relationships between points are defined. Surface meshes and organized point clouds have a wide range of applications in 3D computer graphics. For example, 3D surface data obtained using a scanning device such as a 3D intraoral scanner may be digitally stored and / or displayed as a surface mesh or an organized point cloud.
[0045] As used herein, "open surface mesh" refers to a surface mesh that includes an inner mesh region defined by an outer boundary of boundary vertices and boundary edges connecting the boundary vertices. These boundary vertices are characterized in that they are not completely surrounded by other vertices. The inner mesh region may include one or more holes defined by a plurality of connected boundary vertices that define an area lacking surface data. In the present invention, the outer boundary of the open surface mesh preferably corresponds to the longest extension of the connected boundary vertices of the surface mesh.
[0046] "Trimming" is used herein to refer to the removal of boundary regions of an open surface mesh. Typically, trimming of an open surface mesh involves completely or partially repositioning the outer boundaries of the mesh inward on the original mesh surface.
[0047] As used herein, "function value" refers to a value calculated for a given mesh location (e.g., a particular vertex or a location on an edge connecting two vertices) by applying a function on the mesh, wherein the function includes a metric indicative of a local surface mesh property as an independent variable. In a preferred embodiment, the function is a heat transfer function and the function value is a virtual temperature.
[0048] As used herein, "contour lines" refer to lines traced on the open surface mesh connecting mesh locations with the same function value. In the context of the present invention, these contour lines preferably form closed curves that enclose the open surface mesh area. For example, when applying a heat transfer function on an open surface mesh, the contour lines correspond to isothermal lines that connect locations on the mesh with the same virtual temperature.
[0049] As used herein, "curvature" refers to the deviation of a curved surface from a flat plane. This deviation from a flat plane can be "convex," meaning that the curved surface bulges outward, or "concave," meaning that the curved surface bulges inward. Different metrics can be used to describe curvature. Given that the curvature of a surface can be determined in multiple directions ( Figure 6 ), so it is preferred that, for a given grid location, the metric combines curvatures in different directions into a single value. Examples of such metrics are "mean curvature" and "Gaussian curvature" as defined in Section 3.2. Following this definition, if the overall surface curvature at a given location is convex, then the mean curvature will be positive; if the overall curvature is concave, then the mean curvature will be negative. Some open surface meshes have small local variations in curvature within regions with overall convex or concave curvature. Noise caused by this local curvature variation can be addressed by smoothing the curvature metric (such as mean curvature) over the open surface mesh or its regions.
[0050] As used herein, "color" refers to a perceived optical property, including one or more of the following: hue, chroma, value, translucency, reflectivity. In digital applications, color data can be used as a color code associated with a surface mesh location. Such a color code can be a combination of colorant values, for example, red (R), green (G), and blue (B) (collectively referred to as RGB in an additive color space) or cyan (C), magenta (M), yellow (Y), and black (B) (collectively referred to as CMYK in a subtractive color space). In addition, YCbCr, Y'CbCr, or Y Pb / Cb Pr / Cr (also known as YCBCR or Y′CBCR) is a family of color spaces frequently used as part of a color image pipeline in video and digital photography systems (where Y' is the luminance component, CB and CR are the blue-difference and red-difference chrominance components, and Y is the luminance component).
[0051] As used herein, "geodesic distance" refers to the distance between two mesh vertices in a mesh measured along the mesh, i.e., the total length of the edges in the shortest path connecting the vertices. In the description of the present invention, reference is made to "boundary geodesic distance" in different cases. This term is used to refer to the shortest distance between boundary vertices along the path defined by the boundary edges connecting these boundary vertices.
[0052] The use of 3D surface mesh models constructed from 3D scan data has become commonplace in many different applications, from entertainment to medical and dental intervention planning. When 3D surface data of only a portion of an object is acquired, either because a 3D model of the entire object is not required, or because some portions of the object cannot be adequately placed within the field of view of a 3D scanning device, an open surface mesh model comprising an inner mesh region delimited by boundary vertices and edges connecting these vertices may be obtained. For example, due to incomplete scanning within the boundary region, the boundaries of such an open surface mesh are often irregular or jagged. In addition, the boundary region of the open surface mesh may include an extended or protruding flap region that includes surface data of a portion of the object outside the region of interest that was accidentally scanned. Generally speaking, irregular and spurious boundary regions are undesirable when presenting an open surface mesh model. In addition, unnecessary or inaccurate data in the boundary region may prevent the mesh model from being fully used in certain applications. For example, when an open surface mesh is overlaid on another 2D or 3D image, the flap region may hide relevant information in the underlying image. An example of an open surface mesh model is a surface representation of the intraoral cavity of a patient's mouth, showing the dental arch obtained using a 3D intraoral scanner (IOS). Figure 1 An intraoral scan model with jagged borders and large flap areas is shown. Another example of an open surface mesh with false border areas is Figure 4 A 3D surface mesh of a partially scanned surface of a human head is presented. In order to remove these flap areas and to smooth the boundaries to some extent, currently available software products for processing surface meshes allow the user to manually trim the boundary areas of the open surface model by indicating the cutoff lines for trimming on the displayed surface model. This manual trimming is very time consuming and does not actually provide the desired smooth boundaries for the trimmed open surface mesh. Therefore, an object of the present invention is to provide a computer-based method that is capable of semi-automatically or automatically trimming the boundary areas of an open surface mesh, including an intraoral surface model, thereby removing the flap areas and ensuring smooth boundaries without modifying or adding artificial surface areas in the mesh model. The trimming method of the present invention generally involves repositioning the outer boundaries of the mesh inwardly on the original surface mesh, while minimizing or avoiding the addition of new surfaces or the introduction of modifications to the portion of the surface mesh retained after trimming.
[0053] In an initial step, the computer-based pruning method of the present invention includes receiving an open surface mesh. The open surface mesh may be received as data from a 3D scanning system or as an electronic file including the open surface mesh data. The method also includes determining areas of the open surface mesh that should be retained after pruning, and ultimately pruning the open surface mesh by removing one or more areas from the mesh outside of the areas to be retained. Determining the areas to be retained may include the following steps:
[0054] - calculating a function value for a plurality of locations on said open surface mesh, wherein said function value varies gradually over said mesh, preferably with respect to a metric indicative of a local surface mesh property, and
[0055] - Identifying regions of the open surface mesh to be retained after pruning, wherein the regions group mesh locations having function values within a selected range.
[0056] More preferably, determining the zone to be maintained comprises the following steps:
[0057] - calculating a function value for a plurality of locations on said open surface mesh, wherein said function value varies gradually over said mesh, preferably with respect to a metric indicative of a local surface mesh property,
[0058] - calculating one or more contour lines according to the function value, the contour lines connecting the surface grid positions having the same function value,
[0059] - selecting contour lines of interest surrounding the open surface mesh,
[0060] - Use the selected contours to define a cutoff line enclosing the surface mesh area to be retained after trimming.
[0061] Typically, these function values are calculated by applying a function on the mesh, wherein the function includes a measure indicating a local surface mesh property as an independent variable. Preferably, the values are calculated for a plurality of positions distributed on at least one zone bordering the entire outer boundary of the open surface mesh, more preferably, for positions distributed on the entire mesh surface. Typically, function values are calculated at least for the vertex positions of the open surface mesh or any zone thereof. In certain embodiments, the function value of a position between two vertices on an edge is obtained by interpolating the function values of the vertices connected by the edge.
[0062] Preferably, the calculated function value varies with respect to a metric indicative of a local surface mesh property, the metric being selected from a metric of the distance between a grid position and an outer boundary, a metric indicative of the surface curvature at a grid position, or a metric indicative of the color at a grid position. Preferably, the distance metric is a geodesic distance or a Euclidean distance between a grid position and an outer boundary. Given that the curvature of a surface may be determined in multiple directions ( Figure 6), it is therefore preferred that, for a given grid position, the metric describing the curvature of the grid combines curvatures in different directions into a single value. Therefore, it is found that particularly suitable curvature metrics are Gaussian curvature and mean curvature, respectively. Certain open surface grids (including grids representing intraoral surfaces) may have locally smaller curvature variations in regions with overall convex or concave curvature. For such grids, it has been found to be advantageous to smooth or blur the curvature metric found for the corresponding grid position. Different types of color codes are suitable for use as metrics indicating the color of the grid. In certain embodiments, it is advantageous to smooth or blur the color metric found for the corresponding grid position.
[0063] In a specific embodiment, the method of the present invention includes calculating two or more contour lines each having a different function value on the open surface mesh, and selecting one of the contour lines as the contour line surrounding the surface mesh area of interest. The selection of the contour line may include presenting a representation of the surface mesh indicating two or more calculated contour lines on a display, and selecting one of the contour lines by a user as the contour line surrounding the mesh area of interest. Alternatively, the contour line may be automatically selected using an optimization function and an appropriate optimization criterion. In certain embodiments, the contour lines are calculated to be evenly spaced. By taking the calculated lowest function value (f min ) and the highest function value (f max ) is divided into S equally spaced intervals, and multiple uniformly spaced contour lines can be calculated, thereby defining an ordered set of S+1 contour lines, where the difference between the contour line values of two adjacent contour lines is In other words, uniformly spaced contours are characterized in that the absolute difference between the function value of a contour and the function value of an adjacent contour is the same for all contours. Uniformly spaced contours have been found to be particularly useful in the case of automatically selecting contours using an optimization function. In a particular embodiment, contours that enclose a region of interest are automatically selected from three or more uniformly spaced contours using an optimization function that takes into account the following optimization criteria: (i) the minimum average distance between a selected contour and its adjacent contours; and (ii) the maximum total surface area within a selected contour.
[0064] Therefore, the contour line selected to enclose the region of interest can therefore be used as a cutoff line for trimming the open surface mesh. Alternatively, a post-processing step is performed in which the selected contour line is used as a reference for defining the cutoff line. For example, a user can manually define the cutoff line by moving the position of the selected contour line or a portion thereof on a display of the surface mesh model. Preferably, the cutoff line is automatically defined based on the selected contour line. It has been found that a suitable strategy for automatically defining the cutoff line based on the selected contour line includes: positioning the cutoff line on the mesh closer to the outer boundary than the selected contour line at a position where the minimum distance between the outer boundary and the selected contour line is less than a threshold distance, and the position of the cutoff line is defined to substantially coincide with the position of the selected contour line at a position where the minimum distance between the outer boundary and the selected contour line exceeds the threshold distance.
[0065] Once the cutoff line is established, the open surface mesh is pruned by removing the surface mesh region between the cutoff line and the outer boundary of the open surface mesh. The cutoff line may cut through one or more polygons of the open surface mesh such that at least one polygon vertex is within the region enclosed by the contour line and at least one polygon vertex is outside the region. Thus, preferably, the pruning of the mesh comprises the step of reconstructing new surface mesh polygons, wherein the line cuts through the original polygons of the open surface mesh. The reconstructing typically comprises introducing new boundary vertices at locations where the cutoff line intersects edges between vertices.
[0066] In a specific embodiment, calculating the function value for a plurality of grid positions according to the present invention includes: using the type Equation (e1) of applies a diffusion function on an open surface mesh; and applies boundary conditions specifying function values of solutions to the equation along the outer boundaries of the open surface mesh, where v is the spatial position, t is the time, is the divergence operator, A is a positive definite matrix, is a gradient operator, and f is a function defined on the open surface mesh. Such a diffusion function describes the evolution of a certain number of spatial distributions on the open surface over time. Preferably, the diffusion function includes an independent variable, which is a measure of a local surface mesh characteristic selected from a measure of the distance between the grid position and the outer boundary, a measure indicating the surface curvature at the grid position, or a measure indicating the color at the grid position. The function value can be obtained from an intermediate solution or a steady-state solution of the diffusion equation. The use of a steady-state solution is more advantageous than an intermediate solution in terms of the diffusion equation and boundary conditions applied to ensure a non-uniform steady-state solution (wherein the resulting function value varies on the mesh). The use of an intermediate solution requires iteration using a time step, defining a stopping criterion and handling different numerical stability issues. It is also an expensive operation in terms of computational time when dealing with relatively large surface meshes. On the other hand, a steady-state solution can be obtained by solving a linear system of equations. The advantage of using a diffusion function is that the contours calculated based on the resulting function value have smooth trajectories on the mesh. Typically, the cutoff lines obtained from such contours inherit smooth trajectories, thus guaranteeing smooth boundaries for the final trimmed open surface mesh.
[0067] In certain embodiments, the user may also specify boundary conditions for selected vertices within the inner mesh region, thereby specifying function values of the solutions to the equation for the inner mesh vertices. The user may specify boundary conditions for the inner mesh vertices, for example, by indicating the inner mesh region on a display of the mesh and entering function values for the vertices within the mesh region.
[0068] The open surface mesh can be considered as an infinitely thin heat conducting plate. Thus, in another specific embodiment, applying the diffusion function on the mesh comprises using the type The heat equation (e2) is Specify the thermal diffusion term, where α is the diffusion coefficient It describes the virtual heat transfer on the grid and represents the Laplace-Beltrami operator applied to the function u, and where u(v,t) returns the virtual temperature at a given surface grid location. Contour lines connecting grid locations having the same function value (temperature) as obtained from an intermediate or steady-state solution to this equation can be considered as isotherms on the grid. Preferably, the heat equation also includes a heat dissipation term -λu(v,t) that provides the equation Where λ is the heat dissipation coefficient (s -1), where λ≥0. In certain embodiments, the thermal diffusion coefficient (α) and / or the thermal dissipation coefficient (λ) vary according to local changes in the open surface mesh characteristics. As previously described, such mesh characteristics can be curvature, distance from the outer boundary, or mesh color. For example, the thermal dissipation coefficient (λ) may increase with increasing geodesic distance between the mesh position and the outer boundary. In this way, the function value (virtual temperature) in the inner mesh area will tend to be lower than the function value in the mesh area adjacent to the outer boundary, and of course the boundary condition sets the outer boundary as a heat source. In another example, the thermal dissipation coefficient (λ) may increase with a color metric indicating white or yellow shades, which color metric favors "cooler" function values (virtual temperatures) within the yellow-white surface mesh area. In another example, the thermal diffusion coefficient (α) and / or the thermal dissipation coefficient (λ) may increase with a convexity metric indicating the surface mesh, which convexity metric favors "cooler" function values within the convex mesh area. In a specific example, calculating the function value includes using the heat equation (12), where the heat dissipation coefficient (λ) depends on the smooth mean curvature metric, where λ follows the positive increases with the increase of .
[0069] Interestingly, using a heat diffusion function to calculate the function value, where the heat diffusion coefficient (α) and / or the heat dissipation coefficient (λ) varies according to a metric indicative of a grid property, can provide a solution where, in certain regions of the grid, contour lines with different function values are located close to each other. This close positioning of the contour lines can be more easily observed by evenly spaced contour lines. By dividing the calculated minimum virtual temperature (u min ) and the maximum virtual temperature (u max ) is divided into S equally spaced intervals, and multiple uniformly spaced contour lines can be calculated, thereby defining an ordered set of S+1 contour lines, where the difference between the contour line values of two adjacent contour lines is For example, for positive mean curvature By using the heat diffusion equation that the heat dissipation coefficient (λ) increases with increasing convexity, the evenly spaced contours are generally closely located in the transition region of the open surface mesh where concave and convex regions interface with each other.
[0070] The use of diffusion functions and boundary conditions to produce regions with closely positioned contours can advantageously facilitate the automatic selection of contours that enclose the region of interest. For example, the contour can be automatically selected from a plurality of calculated contours using an optimization function that takes into account the following optimization criteria: (i) the minimum average distance between the selected contour and its neighboring contours; and (ii) the maximum total surface area within the selected contour. If the convex regions of the open surface mesh are of interest, it is recommended to use a method that provides a dense alignment of contours (preferably uniformly spaced contours) in certain mesh regions where concave and convex regions border each other. As previously described, such a solution can be obtained from function values calculated using a heat diffusion function (12) whose heat dissipation coefficient (λ) varies with the positive mean curvature. The contour line surrounding the region of interest can then be automatically determined from the plurality of calculated contour lines using an optimization function that takes into account the following optimization criteria: (i) the minimum average distance between the selected contour line and its neighboring contour lines; and (ii) the maximum total surface area within the selected contour line; and (iii) the maximum overall mean curvature or overall smooth mean curvature of the surface mesh area within the selected contour line.
[0071] In certain embodiments involving a heat spread function, the user can specify boundary conditions for vertices of selected inner mesh regions by setting high temperature function values (e.g., the same temperature as set for outer boundary vertices) or low temperature function values for said vertices. These settings will determine whether such regions are more likely to be inside or outside the contours selected for defining the cutoff line. Alternatively, the vertices of the selected inner mesh region are defined as heat sources or heat sinks. When using this alternative approach, applying the heat spread function requires using the heat equation (12), which is adjusted to include a force term F that is negative for heat sinks, positive for heat sources, and zero for other inner vertices:
[0072]
[0073] As previously described, the contour line selected to enclose the region of interest can therefore be used as a cutoff line for trimming the open surface mesh, or the method of the present invention may include a post-processing step in which the selected contour line is used as a reference for defining a cutoff line. Typically, the cutoff line is identified in the post-processing step using the selected contour line as a reference for identifying the cutoff line, wherein the cutoff line moves toward the outer boundary at a position where the shortest distance between the selected contour line and the outer boundary is below a threshold relative to the selected contour line, and wherein the cutoff line is substantially maintained at the level of the selected contour line at a position where the minimum distance between the selected contour line and the outer boundary is below the threshold. In one embodiment, the post-processing step involves recalculating function values for multiple positions on the open surface mesh by applying a diffusion function on the mesh using adapted boundary conditions. Subsequently, one or more new contour lines are calculated based on the recalculated function values. These adapted boundary conditions are preferably set to favor a solution in which the position of the new contour line, compared to the initial contour line, is (i) shifted toward the outer boundary at a position where the minimum distance between the initially selected contour line and the outer boundary is below a threshold distance, and (ii) substantially maintained at a position where the minimum distance exceeds the threshold distance. For example, such new contour lines may be calculated based on function values (virtual temperatures) calculated using a heat diffusion function having a boundary condition that fixes the temperature at positions along the outer boundary, wherein for outer boundary positions where the shortest distance between the position and the initially selected contour line is below a threshold distance, the temperature is set to a lower level than for outer boundary positions where the minimum temperature exceeds the threshold distance. Preferably, the outer boundary position is an outer boundary vertex, and the shortest distance is the shortest Euclidean distance between the outer boundary vertex and the vertex of the selected contour line. If the surface mesh is an intraoral surface mesh, the threshold distance is preferably set to 3 mm. After calculating the new contour lines, one of the new contour lines is selected as a contour line of the region of interest surrounding the open surface mesh. Finally, the newly selected contour is used to define a cutoff line enclosing the surface mesh region to be retained after pruning, wherein the newly selected contour is used as a cutoff line or as a reference for identifying a cutoff line in a further step.
[0074] Some open surface meshes contain so-called cracks, which are elongated areas of scan data absence that are delimited by outer boundary segments that curve into the surface mesh ( Fig.16; 6). When these cracks are due to lack of data caused by incomplete scanning, they are associated with artificial outer boundary segments and may cause undesirable trimming of the surface mesh. Therefore, it may be advantageous to identify the outer boundary segments that delimit such cracks. In one embodiment, the method of the present invention includes initially selecting contour lines (as described above) that surround the surface mesh area of interest, followed by a post-processing step, which includes using the initially selected contour lines to identify outer boundary segments, which either delimit cracks and bend into the open surface mesh, or delimit the protruding flap area of the mesh. The post-processing step also includes using data on either or both of these inwardly curved or protruding outer boundary segments to define a cutoff line. In the first step, identifying the inwardly curved or protruding outer boundary segments includes determining the distance along the outer boundary for each boundary vertex, which is called the boundary geodesic distance and the Euclidean distance between the outer boundary vertex and the adjacent outer boundary vertex in the zone surrounding the boundary vertex. The zone containing adjacent boundary vertices can be imagined as a volume, usually a sphere or a cube, and the outer boundary vertex is located at its center. Preferably, the diameter of the volume is between 1 and 3 times the expected width of the fissure or flap area, for example between 1.5 and 2 times the width. If the open surface mesh is an intraoral surface mesh, the diameter of the volume is preferably between 2 mm and 10 mm, such as between 4 mm and 8 mm, such as for example 6 mm. When the ratio of the boundary geodesic distance to the Euclidean distance between the outer boundary vertex and the adjacent outer boundary vertex exceeds a threshold, the outer boundary vertex is detected as a vertex of an outer boundary segment that bends or protrudes inwardly.
[0075] In a further step, entry vertex pairs are identified that define the start and end points of the inwardly curved or protruding boundary segments. The identification of these entry vertex pairs generally includes the following steps:
[0076] - for each outer boundary vertex detected as being located in an inwardly curved or protruding outer boundary segment, identifying as the corresponding boundary vertex the adjacent boundary vertex having the highest ratio of boundary geodesic distance to Euclidean distance;
[0077] - retain the vertices detected as corresponding boundary vertices to each other as candidate entry vertex pairs;
[0078] - comparing the retained candidate entry vertex pairs, wherein a candidate entry vertex pair is discarded when the outer boundary vertices along the shortest path between the candidate entry vertices are a subset of the outer boundary vertices between another candidate entry vertex pair; and
[0079] - Mark the remaining candidate entry vertex pairs as the entry vertex pairs of the inwardly curved or protruding boundary segments.
[0080] The outer boundary segment defined by the pair of entry vertices is subsequently marked as an inwardly curved outer boundary segment demarcating the cleft or an outer boundary segment demarcating the protruding flap area. Preferably, if all the shortest distances (preferably, Euclidean distances) between the corresponding vertices of the segment including the pair of entry vertices and the initially selected contour line are lower than the threshold distance, the outer boundary segment is marked as an inwardly curved outer boundary segment. In terms of the intraoral curved surface mesh, the threshold distance is preferably set between 1mm and 10mm, such as between 2mm and 6mm, for example, 3mm. It is further preferred that if the shortest distance between at least one vertex of the segment including the pair of entry vertices and the initially selected contour line exceeds the threshold distance, the outer boundary segment is marked as an outer boundary segment demarcating the protruding flap area. In terms of the intraoral curved surface mesh, the threshold distance is preferably set between 1mm and 10mm, such as between 2mm and 6mm, for example, 3mm.
[0081] After the identification of the inwardly curved and protruding outer boundary segments, the data can be used to define a cutoff line. Preferably, this identification includes recalculating the function value by applying the diffusion function on the grid using specific boundary conditions along the inwardly curved boundary segments and / or protruding boundary segments. Based on these recalculated function values, one or more new contour lines are calculated, and one of the contour lines is selected as the contour line surrounding the area of interest. The newly selected contour line can be used as a cutoff line for trimming the open surface grid, or can be used as the reference in further steps. In a specific example, the post-processing step includes recalculating the function value (virtual temperature) for multiple grid positions using a heat diffusion function, which has a boundary condition that fixes the temperature at the position along the outer boundary, wherein the temperature at the inwardly curved outer boundary segment is set to be lower than the temperature at other outer boundary segments, thereby resulting in a relatively low grid surface temperature at the inner grid position near the inwardly curved segment. The contour lines calculated based on these surface grid temperatures tend to shift toward the inwardly curved outer boundary segment. Alternatively, no boundary conditions are defined for the outer boundary vertices within the inward curving segments, which also results in such a shift of the contour lines towards these inward curving segments.
[0082] Additional embodiments include a post-processing step in which a user, after reviewing the initial cutoff obtained according to the method of the present invention, can edit the surface mesh to include or exclude certain selected mesh regions in the surface mesh region to be retained after pruning, as determined by reapplying a heat spread function on the mesh. Such editing can include specifying boundary conditions for vertices of selected inner mesh regions by setting high temperature function values (e.g., the same temperature set for outer boundary vertices) or low temperature function values for the vertices. When the heat spread function (12) is reapplied on the mesh, these settings will determine whether such regions are more likely to be located inside or outside the contour selected to define the cutoff. Alternatively, the editing can include defining the vertices of these selected inner mesh regions as heat sources or heat sinks. When this alternative method is used, reapplying the heat spread function requires the use of the heat equation (12), which is adjusted to include a force term F that is negative for heat sinks, positive for heat sources, and zero for other inner surface vertices:
[0083]
[0084] Considering that the effect of a heat sink or heat source defined by a force term is usually limited to the selected mesh zone and the surrounding area, it is possible to reapply the heat spreading function (30) only locally, thereby reducing the computation time of this post-processing step. From the post-processing step according to this embodiment, contour lines can be selected to define the cut-off line, as described above.
[0085] In certain embodiments of the present invention, the open surface mesh is an intraoral surface mesh representing a portion of the intraoral surface of a human or animal subject. Generally speaking, the intraoral surface mesh includes a convex dental arch or jaw area and one or more concave boundary areas, typically representing a buccal surface, a lip surface, or a tongue surface. Such an intraoral surface mesh can be acquired by directly scanning the patient's oral cavity using a 3D intraoral scanning device, or by optically or tactilely scanning a bite mark or a cast thereof (e.g., a plaster cast). In dental and maxillofacial surgery, such intraoral surface meshes can be acquired for diagnostic purposes, for planning surgical procedures, or as a reference for the design and preparation of (dental) prostheses. In most of these applications, the convex dental arch or (in the case of partially or completely edentulous patients) the convex jaw area covered by soft tissue is of particular interest, while data of the intraoral mesh area representing the concave tongue area, lip area, or cheek area is considered less relevant or unnecessary. When applying the method of the present invention to trim an intraoral surface mesh, it has been found that it is advantageous to calculate the function value using a function that includes a measure of the local mesh surface curvature (such as mean curvature or Gaussian curvature) as an independent variable. As previously described, it is preferred that the curvature measure is smooth or fuzzy, thereby reducing the impact of small local curvature changes. In a specific embodiment, the method according to the present invention includes calculating the function value for multiple mesh positions by applying a heat diffusion function on the intraoral surface mesh using equation (12) including a heat diffusion term and a heat dissipation term, wherein the heat diffusion coefficient (α) and / or the heat dissipation coefficient (λ) depends on the local surface curvature of the intraoral surface mesh. For example, determining the cutoff line may include using the heat equation (12), wherein the heat dissipation coefficient (λ) depends on the smooth mean curvature. metric, where λ follows the positive In addition, the calculation of the function value may also take into account color data associated with the intraoral grid. Grid positions associated with color metrics indicating shades of white or yellow may be located within a grid region representing tooth material, while positions associated with metrics indicating shades of red or pink may be located within a soft tissue region. This color information may be taken into account when calculating the function value by setting certain boundary conditions for positions associated with certain color codes and / or by introducing color metrics as independent variables in the function used to calculate the function value.
[0086] For an intraoral surface mesh, calculation of contour lines based on function values calculated using a function including a metric reflecting the local mesh curvature as an independent variable indicates that these contour lines tend to be more densely located in the transition zone between the concave surface mesh portion and the convex surface mesh portion. As previously described, this dense location in the transition zone is best observed with uniformly spaced contour lines. This local dense spacing of contour lines has proven useful in the process of automatically selecting contour lines that enclose the convex dental arch region of interest. In one embodiment, the step of automatically selecting contour lines that enclose the region of interest includes using an optimization function that combines the following optimization criteria: (i) the minimum average distance between the selected contour line and its neighboring contour lines; (ii) the maximum total surface area contour line within the selected contour line; and (iii) the maximum overall average curvature within the selected contour line. The automatically selected contour line is used as a cutoff line for trimming the intraoral surface, or as a reference for defining a cutoff line in a post-processing step, as previously described.
[0087] It has been found that the trimming method of the present invention is particularly useful as the last step of a scanning procedure in 3D scanning software. For example, when used in intraoral scanning software, the method allows the scanning session to end with a smoothly trimmed intraoral surface mesh. Alternatively, the method of the present invention is used as an initial trimming step in a software application that receives and processes the output of a scanning program. For example, in digital dental applications, different types of software use intraoral surface meshes generated by optical scanning programs as input. CAD / CAM software applications for designing dental prostheses use intraoral surface meshes as references for designing prostheses. The intraoral surface meshes received and processed by the CAD / CAM software can be exported to a rapid prototyping device to generate a physical model of the patient's intraoral condition. The surface mesh is usually trimmed as part of a program that generates an electronic file suitable for driving a rapid prototype. Surgical planning software (such as implant or maxillofacial surgery planning software) also uses intraoral surface meshes as input. In such planning software, the intraoral surface mesh can be matched with corresponding CT scan data of the patient's skull. This matching usually requires appropriate trimming of the intraoral surface mesh to avoid undesirable interference of false boundary areas with the matching process.
[0088] Exemplary Implementation
[0089] 1. Laplace–Beltrami operator
[0090] Laplacian operator captures the second derivative of a function u defined on a spatial constellation (such as a grid or mesh). In 3D space, this second derivative is defined as
[0091]
[0092] where v represents a vertex with continuous coordinates (x, y, z). This operator can be generalized to operate on functions defined on surfaces in Euclidean space [1,2]. It is usually implemented using a finite difference based Approximation. Given a grid The piecewise linear function defined above Vertex v i The finite-difference-based discrete Laplace–Beltrami operator at is given by:
[0093]
[0094] in is the v connected by the edge i The adjacent vertices of the triangle. The edge weight of the triangle is w ij =w ji Usually defined as
[0095]
[0096] Parameter A in (2) i is the vertex v i The Voronoi area, and the parameter α in (3) ij and β ij is with edge ij =(v i ,v j ) two relative angles, such as Figure 2 a. Vertex v i The Voronoi area of is defined as follows [5]:
[0097]
[0098] Since the cotangent term has been calculated in (3), the Voronoi area can be calculated efficiently. However, if there are obtuse triangles (a triangle with an angle greater than 90°) between adjacent (i.e., 1-ring) neighbors, the Voronoi region extends beyond 1-ring, as Figure 2 Therefore, in Figure 2 An alternative surface area metric A is defined in [5] as visualized in b. * In this example, all vertex regions A are preferably mixed vertex regions A. * .
[0099] Following (2), the discrete Laplace-Beltrami operator for the entire grid is given by:
[0100]
[0101] Where M is a ii =Ai is a diagonal matrix of , and C is a symmetric square n×n matrix (where n is the number of vertices), given by:
[0102]
[0103] 2. Calculating contours using the heat transfer model
[0104] Thermal diffusion is the natural phenomenon of heat transfer from a high temperature region to a low temperature region through a conductive material. It can be described by a partial differential equation that gives the distribution of temperature u(v,t) (where v is a spatial coordinate (e.g., 3D spatial coordinate: (x,y,z))) in a given region over time t:
[0105]
[0106] Where is the thermal diffusion coefficient and represents the Laplace operator (1) applied to the temperature function u. In addition, λ represents the heat dissipation coefficient (s -1 ), the thermal dissipation coefficient should have a value ≥ 0. Given an initial temperature profile, heat will diffuse through the medium at a rate controlled by α, while heat will be lost through thermal dissipation at a rate controlled by λ. Eventually, when the rate of temperature change becomes zero, a steady-state temperature is reached. This steady-state temperature depends on the boundary conditions applied to the region of interest.
[0107] The open surface mesh can be considered as an infinitely thin metal plate that can easily conduct heat. Given certain boundary conditions, the heat diffusion equation (12) can be used to calculate the virtual temperature distribution on the open surface mesh. The virtual isotherms or contours of the intermediate or steady-state solution thus generated provide candidate cutoff lines for trimming the boundary regions of the surface mesh. Preferably, the steady-state solution is used because it can be obtained by solving the linear equation system derived from the finite difference discretization of (12). In contrast, the intermediate solution requires (i) iteration with a certain time step, (ii) definition of a stopping criterion, and (iii) handling of different numerical stability issues.
[0108] In one embodiment, the virtual temperature of the outer boundary of the surface mesh is fixed to a warm temperature (e.g., u(v B )=1°, where v B is an outer boundary vertex), acting as a heat source, and the heat dissipation term λ is applied to all inner surface locations (not part of the outer boundary), acting as a heat sink, to find The steady-state solution u is defined as *(v). In general, the outer boundary is defined as the longest stretch of connected boundary vertices of the surface mesh. The surface mesh may include boundary vertices that are not part of the outer boundary, such as boundary vertices that delimit holes in the inner mesh. Such boundary vertices that are not part of the outer boundary are considered to be part of the inner mesh (v). I ) part.
[0109] Figure 3 The heat diffusion equation (12) is presented for a 2D surface with jagged boundaries, outward flaps, and inward cracks. Figure 3 It can be concluded that, except for the maximum temperature contour, all other contours have smooth trajectories, which can be selected to define the cutoff line that replaces the outer noise boundary.
[0110] 2.1. Solving partial differential equations on triangular meshes
[0111] In the steady state, the heat dissipation equations (12)-(13) can be discretized using the Laplace-Beltrami discretization (5)-(6) as follows:
[0112] αM -1 Cu(v)-Λu(v)=0
[0113] (αC-MΛ)u(v)=0
[0114] Lu(v)=0,(15)
[0115] where Λ is a diagonal matrix with constant λ on the diagonal at each vertex i, and u(v) is the column vector of temperatures at each vertex v. Dirichlet boundary conditions are applied to the outer boundary vertices:
[0116] u(v B )=1°, (16)
[0117] Since the values at the boundary are known from (16), u(v B ) value is no longer a variable. Therefore, in (15), the vector of unknowns u can be divided into two parts, resulting in the following linear equations:
[0118]
[0119] Where u(v I ) represents the vertex temperature of the inner surface (without boundary), i.e., the calculation range. Since u(v B ) is known, so we only need to calculate u(v I )Solve the following equation:
[0120] L II u(v I )=-L IB u(vB ), (18)
[0121] This linear system of equations is very sparse and can be exploited by using an appropriate linear solver.
[0122] 2.2. Solving the partial differential equations for the 3D surface mesh representation of the human head
[0123] A 3D image of a human head is acquired using a Minolta laser scanner. At the edge of the camera's field of view, the data is captured incorrectly and incompletely. Figure 4 This results in a 3D open surface mesh with a false flap region (dark area) on the upper part of the head as shown. Solving the heat dissipation equation, this surface mesh provides a virtual isotherm according to Section 2.1, which allows the definition of a cutoff line (5) to trim the upper false flap region. This results in a smooth upper contour of the head.
[0124] 3. Calculate contour lines based on surface curvature analysis
[0125] 3.1. Curvature of the intraoral area
[0126] Figure 5 A simplified model of the upper (maxilla) and lower (mandible) parts of the intraoral area is shown, with areas of particular interest to the dentist indicated, including the dental arches of both the mandible and maxilla or the corresponding edentulous jaw areas and the palate of the maxilla. Typically, areas of the model representing the lip, cheek or tongue portions are of little interest. In addition, these areas are difficult to enter the field of view of the intraoral scanning device, resulting in incomplete or incorrect scan data for these areas. Therefore, when processing a surface mesh model of the intraoral area for dental purposes, it is advantageous to trim off these lip, cheek and tongue areas. Interestingly, the areas of little interest (cheek, lip and tongue areas) typically have concave surface areas, while the dental arch or jaw area is characterized by an overall convex surface area. The palate has an overall concave surface, but is mostly surrounded by a convex dental arch. It can be understood from this that the surface curvature can be analyzed to determine a suitable cutoff line for trimming the open surface mesh representing the intraoral area.
[0127] 3.2. Determining and smoothing mean surface curvature
[0128] Intuitively, the curvature of a surface is the degree to which the surface deviates from a flat plane. Due to the inherent manifold dimension of a surface in 3D space, the curvature of a surface can be measured in many directions. The maximum and minimum values of the curvature are called the principal curvatures κ1 and κ2, respectively (see Figure 6 ). These values can be combined in a single metric called the Gaussian curvature κ G =κ1κ2 or mean curvature For the purposes of this embodiment, the average curvature κ is used. HIn the following text, the mean curvature is denoted by κ without the subscript H.
[0129] From the mean curvature normal κ n The mean curvature κ is derived, and the mean curvature normal is a vector perpendicular to the surface with magnitude κ. It can be shown that applying the Laplace-Beltrami operator (2) directly to the mesh vertex coordinates v i We can conclude [5]:
[0130]
[0131] where κ i is the mean curvature, and n i is the vertex v defined by the Laplace-Beltrami operator in (2) i The vertex normals in , where ‖n i ‖=1. Note that n i points inwards for convex vertices and outwards for concave vertices (see also Figure 7 ). Note also that the Laplace–Beltrami operator applied to a vector returns a vector because the operator is applied to each coordinate (x i ,y i ,z i ). The mean curvature normal κ n Projection onto the so-called Gouraud vertex normal n G To find the mean curvature, the vertex normal is computed as the normalized average of the surface normals of the 1-torus at that vertex, as follows:
[0132]
[0133]
[0134] in Representation Grid The triangle in is the normal of the triangle. By computing the mean curvature on a surface mesh representing the mandibular region of the mouth, it can be seen that most vertices in the dental arch region are convex (positive mean curvature), while most vertices in the flap region (lip, cheek) are concave. However, the results can sometimes be noisy. It has been found that the distinction between concave and convex areas of a surface mesh can be improved by smoothing the mean curvature. A straightforward method for smoothing a function t that depends on the vertices f(v,t) on the mesh and the time v is to apply diffusion:
[0135]
[0136] Where α is the diffusion coefficient and Defined by (1). For example, the diffusion equation can be discretized using the Laplace-Beltrami discretization (5)-(6) or by combining Laplace operators such as the umbrella operator [6], where (C) ij As defined in (6), where w ij =w ji = 1. Performing implicit integration (e.g., using the backward Euler method), the discretized diffusion equation is as follows:
[0137] (I n -αΔtM -1 C) t+1 =f t , (10)
[0138] Among them I n is the identity matrix of size n×n and number of vertices n, M -1 C is the normalized combined Laplacian operator with M being the diagonal matrix of normalized weights and C being the combined Laplacian matrix, and Δt being the time step. When the initial value is set to the mean curvature (f0 = κ), the following sparse linear equation system can be solved over one time step to find the smooth mean curvature
[0139]
[0140]
[0141] For simplicity, α can be set to The time step Δt can be adjusted to provide sufficient smoothness. Sufficient can be intuitively understood as the amount of convexity distributed over the dental arch area. Experiments have shown that a time step Δt of 25 seconds provides a sufficiently accurate solution, providing smooth mean curvature contours. One of these contours can be selected to define a cutoff line for trimming the surface mesh.
[0142] 4. Calculate contours by combining surface curvature analysis and heat transfer modeling
[0143] 4.1. Incorporating smooth mean curvature into the heat transfer equation
[0144] For intraoral surface meshes, it has been found that the difference between the dental arch region and the less desirable flap regions originating from the tongue, lip, or cheek regions can be improved using the dissipative heat transfer equation (see (12)), where the heat transfer coefficient Incorporates the smoothed mean curvature calculated as in Section 3.2
[0145]
[0146]
[0147] where β is a linear scaling factor. This scaling factor depends on the expected size of the grid and the distance units. For the specific application of intraoral representation of dental arches with a trimmed width of about 60-70 mm, β is set to 2 and the distance units are in millimeters. In steady state, the dissipative heat equation (14) combined with the smooth mean curvature can be solved as shown in Section 2.1. However, with respect to equation (15), it should be considered that in this case Λ is a diagonal matrix with On the diagonal of each vertex i.
[0148] Figure 8 Results of the diffusive heat equation combined with a smooth mean curvature applied to some challenging intraoral scans are shown in . Figure 8 d, the jaw is mostly indicated as a "cold" area, even though the area is concave. The reason for the low temperature of the jaw is that its outer boundary is short compared to the length of the dental arch surrounding the jaw. The jaw is "heated" only via the short outer boundary (see Figure 8 d), while it is "cooled" from the surrounding dental arch (convex area with high heat dissipation) (see Figure 8 d). Figure 8 As further shown, using (14) the smooth mean curvature Incorporating into the dissipation factor has further advantages. First, when When This ensures that no heat is dissipated in the concave areas (usually the flap areas). As a result, a fast virtual heat flow is obtained in these areas. Therefore, the concave flap areas, even large ones, are easy to identify because their temperature is close to the fixed thermal boundary temperature (see Figure 8 a). In addition, the transition zone between the flap region (concave) and the arch region (convex) is marked by a change in the sign of the smooth mean curvature from negative to positive, providing a sharp temperature transition and therefore contours that are closely located to each other in this zone (see Fig. 9 ). In addition, the heat dissipation function Make sure that λ ≥ 0, which is a necessary condition to avoid ill-posed oscillatory solutions. This function also allows to adjust the stiffness of the contours by changing the parameter β. The lower β is, the stiffer the contours will become, and vice versa. Taking β too low will result in toothless areas being excluded, taking β too high will not result in smooth contours. As mentioned before, find a balance between the two by setting β to about 2.
[0149] 4.2. Threshold function used to automatically select contours that include surface mesh regions of interest.
[0150] After applying the heat diffusion equation (14) to the intraoral surface as described above, the vertex temperature u is obtained * (v) is a steady-state solution in the range [0°, 1°]. This is due to the boundary condition u(v B)=1°(16) and heat dissipation resulting in an exponential decay of temperature (so that 0° is the lowest temperature). In order to obtain a smooth boundary and remove the flap area, it is necessary to select appropriate temperature contours as the cutoff lines for the triangular surface mesh. Considering the surface mesh representing an intraoral scan that does not include a flap area and a relatively smooth boundary, it can be intuitively understood that temperature contours with temperatures close to 1° may be suitable as cutoff lines for trimming the surface mesh (almost no surface needs to be removed). On the other hand, for a surface mesh representing an intraoral scan with a large flap area, it can be expected that temperature contours with temperatures sufficiently below 1° must be selected to define a suitable cutoff line for trimming.
[0151] exist Fig. 9 In , the top and front views of the steady-state solution with 20 contour lines are visualized, resulting in S = 19 zones between two contour lines. In general, the contour lines in the outer boundary zone are more spaced apart from each other due to faster heat transfer in the concave flap zone due to local low heat dissipation (14). The contour lines in the dental arch are also more spaced apart because this zone is very cold (close to 0°) due to local high heat dissipation. The transition zone where the concave flap zone meets the convex dental arch zone is characterized by a denser density of temperature contour lines. Contour lines suitable for determining the cutoff line for trimming the surface mesh can usually be found within this zone.
[0152] To construct a temperature threshold function for automatically selecting temperature contours that can be used to define the cutoff line, first set the range [u min ,u max ] is divided into S intervals, for example, S equally spaced intervals. This defines a temperature [u0 = u min <…<u S-1 <u s =u max ] isoline where S+1 is the number of contour lines and S is the number of regions between two consecutive contour lines. The temperature difference between the isotherms is chosen to be equal to:
[0153] The optimization criteria of the threshold function are set as follows (see Fig.10 ):
[0154] The average distance between the selected contour and its adjacent contours is minimized. The average contour distance d can be defined as follows: Where ΔA S-1,S =A S -A S-1 is the surface area between two consecutive contour lines, and is the average length of these two contour lines. S and ΔA S-1,SIt is preferably calculated based on triangle surface area rather than vertex Voronoi area.
[0155] The total surface area A within the selected contour line S should be maximized. This ensures that at low temperatures, thresholding does not occur on the contours due to small bumps in the surface.
[0156] The overall smooth mean curvature within the region enclosed by the selected contour should be maximized. This ensures that the surface within the contour is as convex as possible and targets the transition between the concave flap area and the convex arch area. Overall smooth mean curvature within the contour s It can be defined as:
[0157] Where u(v i )≤u s , (19)
[0158] Then, the proposed method for selecting the temperature threshold value of the contour lines to be used to define the cut-off line is It can be determined as follows:
[0159]
[0160] With corresponding temperature Fig.11 The figure is used to represent Fig. 9 An example of this temperature threshold function for a surface mesh of an intraoral scan of . In this figure, the selected contour index is 70 / 100, and its temperature is
[0161] 5. Post-processing
[0162] As described in Section 4, curvature-based heat diffusion and automatic contour selection often provide contours that are suitable for use as cutoffs for trimming the intraoral mesh. Fig.11 The selected contour line for the intraoral mesh shown in b provides a smooth cutoff line that preserves the tooth surface along the dental arch. However, for some intraoral surface meshes, it was observed that the automatically selected contour line does not fully meet the requirements for the most appropriate trimming. For example, for an intraoral surface mesh where one segment of its outer boundary contains a large flap area, while another segment of the outer boundary is relatively smooth without protruding parts, the presence of the large flap area causes the automatically selected contour line to be quite cold. In this case, using this contour line as a cutoff line will result in over-trimming of the mesh along the said smooth segment of the original outer boundary (e.g. Fig.12Other intraoral curved surface meshes include so-called cracks that are caused by incomplete data capture during the scanning process, resulting in the outer boundary bending to the tooth area of the intraoral curved surface, usually to the molar area. When such an intraoral mesh is trimmed using a cutoff line corresponding to the contour line selected as described above, the resulting portion of the tooth that intersects the inwardly curved outer boundary is trimmed away (e.g. Fig.12 b).
[0163] It has been found that in the above case, a more appropriate cut-off line can be defined in a post-processing step, which involves the use of the selected isoline. Interestingly, the shortest distance between the outer boundary vertex and the selected isoline allows to assess whether the outer boundary vertex is more likely to be within the flap region or the region of interest (e.g., the tooth region). This is Fig.13 The smaller the distance, the more likely it is that the outer boundary vertex is not part of the outer boundary segment that delimits the flap area. The larger the distance, the more likely it is that the outer boundary vertex is part of the segment that delimits the flap area. This information can be used to define a cutoff line. Essentially, the position of the cutoff line is set to correspond to the position of a selected contour line, where the contour line is next to the flap area and the contour line is positioned closer to the outer boundary than it is within other surface mesh areas. Two post-processing methods were developed, one based on distance and the other involving identifying the outer boundary segment that delimits the crack. Both methods use the contour lines selected as described in Section 4 to define the cutoff line.
[0164] 5.1. Defining the dividing line using a distance-based approach
[0165] The distance-based approach involves reapplying the heat diffusion function (14) on the mesh surface, wherein the boundary conditions are adjusted so that the temperature of each outer boundary vertex is fixed according to the shortest Euclidean distance between the outer boundary vertex and the vertices of the selected contour. Thus, in a first step, the distance-based approach involves determining the vertices of the selected contour. Thereafter, the temperature of the outer boundary vertices is set relative to the shortest Euclidean distance and the diffusion function is solved using the adjusted boundary conditions.
[0166] 5.1.1. Determine the vertices of the selected contour line
[0167] Given a grid with a steady-state temperature distribution and a grid with temperature The selected contour lines can be grid There are vertices (v i ,v j ,v k ) and the temperature u(v i )≤u(v j )≤u(v k ) is assigned to one of the following three categories:
[0168] - All three vertices have temperatures below (the triangles that will be retained when using the chosen contour as cutoff),
[0169] - All three vertices have temperatures above (the triangles that will be pruned when using the chosen contour as the cutoff line), and
[0170] - A vertex has a temperature higher than and another vertex with a temperature below this value (triangles that will be cut off when using the chosen contour as cutoff).
[0171] The triangles in the last category can be divided into two more categories:
[0172] - A vertex below The triangle ( Fig.14 (a))
[0173] - Two vertices below The triangle ( Fig.14 (b))
[0174] First and refer to Fig.14 For the latter two categories, a new vertex v is calculated f :
[0175]
[0176] Where: u(v i )≤u(v j )≤u(v k )
[0177] v f =(1-m f )v i +m f v k . (27)
[0178] When only one vertex has a temperature below and When g was found as follows (see Fig.14 a):
[0179]
[0180] v g =(1-m g )v i +m g v j . (28)
[0181] When the temperature of the two vertices is lower than and When g was found as follows (see Fig.14 b):
[0182]
[0183] v g =(1-m g )v k +m g v j . (28)
[0184] 5.1.2. Adjusting the temperature of the outer boundary vertices and defining the cutoff line
[0185] The temperature of the given contour The outer boundary vertex temperature u(v B ) is adjusted to, for example, between and 1 (or higher). In practice, the temperature of each outer boundary vertex i is set using the following function:
[0186]
[0187]
[0188] in is the vertex of the selected contour line, u 裕度 is the temperature added to the selected contour The margin (here set to about 0.05°), d min is the first percentile shortest distance between the outer boundary and the selected contour vertex, and d max is the shortest distance between the selected contour vertex and the outer boundary vertex (here set to d min +3mm), above which the outer boundary vertex is considered to define the flap area. For the outer boundary vertex that defines the flap area, u(v B ) = 1 or higher (25), i.e., equal to or greater than the original boundary condition (16). Therefore, the position of the newly calculated contour lines will not change significantly along the flap area. For the outer boundary vertices that are within the outer boundary segment that does not delineate the flap area or delineate the outer boundary of the crack, d B is relatively small, resulting in u(v B ) value between and 1°. Therefore, the second thermal diffusion will make the new contour line more towards the direction containing u(v B) values below 1 are locally offset. From the newly calculated contours, you can select The contour line of is taken as the final cut-off line.
[0189] 5.2. Defining the cut-off line by detecting cracks
[0190] The method of Section 5.1 generally provides an acceptable cut-off for trimming the intra-oral surface mesh. However, if the intra-oral mesh contains significant cracks in teeth or tooth regions, it may be advantageous to use a method that involves identifying outer boundary segments delimiting the cracks, which are typically elongated and thin inlets in the mesh surface delimited by the outer boundary segments. This property can be exploited in a post-processing step that involves detecting outer boundary segments delimiting the cracks and then defining a cut-off to avoid trimming away the mesh regions bordering the cracks. This post-processing step involves (re)applying the heat diffusion function using the adjusted boundary conditions.
[0191] By calculating each outer boundary vertex v Bi The weight ω Bi , as the maximum ratio between the distance along the outer boundary and the Euclidean distance to other boundary vertices in the neighborhood around each boundary vertex, the thinness property of the crack can be used to assess whether the outer boundary vertex lies within the segment delimiting the crack:
[0192]
[0193] in‖·‖ g is the geodesic distance along the boundary and ‖·‖2 is the Euclidean distance. For vertices in the outer boundary segment delineating the protruding flap area or cleft, the ratio (ω) is greater than that of the outer boundary vertices in other segments. Bi ) will be relatively high. In particular, near the flap area and the start / entrance of the cleft, ω Bi will be high (see Fig.13 , Fig.15 ). To further restrict the types of cracks and protruding flap areas detected, constraints can be applied. In this particular example, the following constraints are used:
[0194] A spherical neighborhood with a Euclidean distance radius of 3 mm is used around each boundary vertex
[0195] · Geodesic distance along the boundary || v Bi -v Bj || g Limited to the range of [25mm,60mm]. This avoids detecting flaps or cracks that are too large or too small.
[0196] Ratio ω Bi Should be greater than a certain value (set to 10). This limit imposes a certain minimum elongation on the crack.
[0197] Combining (26) with the above constraints provides a list of outer boundary vertices that are within the outer boundary segments delimiting the fissure or flap region. However, no information is obtained about the individual fissure or flap region delimiting segments. At this point, pairs of vertices are identified, each pair defining an entrance or a start of a fissure or flap region. For each outer boundary vertex in the list, the maximum ratio ω Bi and the corresponding vertex v Bj are stored. When two listed outer boundary vertices refer to each other, they are stored as a candidate entry pair. Thereafter, the candidate entry pairs are compared, and if the outer boundary vertices between the first candidate entry pair are a subset of the outer boundary vertices between the second candidate entry pair, the first candidate entry pair is removed. This ultimately provides a list of entry pairs, each pair defining an outer boundary segment delimiting a fissure or flap area. Fig.15 The method for defining inlet pairs is visualized in for a crack delimiting an outer boundary segment. In a final step, crack detection consists in distinguishing the outer boundary segments defining the crack from the outer boundary segments delimiting the flap area. This is done by determining the shortest Euclidean distance between each outer boundary vertex of the segment defined by the inlet pair and the vertices of the selected contour (see 5.1.1). If for one of the outer boundary vertices this shortest distance exceeds a threshold d max (here it is set to 3mm), the pair of entrances is considered to define an outer boundary segment that delimits the flap area, otherwise the pair of entrances is considered to define an outer boundary segment that delimits the cleft.
[0198] Once the outer boundary segment delimiting the fracture is identified, the heat diffusion function (14) can be solved again on the mesh using the adjusted boundary conditions. In a first option, the temperature of the boundary vertices within the outer boundary segment delimiting the fracture is fixed to This ensures that the newly calculated temperature is The contour lines selected will be closer to the fracture boundaries than the initially selected contour lines.
[0199] The second option is to not fix the temperature for the outer boundary vertices within the crack demarcating segment when setting the boundary conditions for the second heat transfer. This option generally provides more protection and results in most of the crack outer boundary vertices being included in the final trimmed mesh. Fig.16 A comparison of the three post-processing options compared to using the initially selected contours is shown in .
[0200] 6. Trimming the Mesh
[0201] In the last step, the mesh is cut along the defined cutoff line. In the initial step, the vertices of the cutoff line need to be determined. This can be done in the same way as described for the selected contour lines, see Sections 5.1.1 and Fig.14Once the vertex v of the cutoff line is found f and vertex v g , a new triangle is constructed where the cutoff line cuts through the original triangle. The triangle ( Fig.14 (a)), construct a new triangle For two vertices below The triangle ( Fig.14 (b)), construct two triangles. These can be and or or
[0202] 7. Specify the conditions for the inner grid area
[0203] Optionally, the user, after reviewing the pruning solutions proposed according to the method of the present invention, may exclude or may include certain regions of the intraoral surface mesh. In this example, this is done by indicating vertices within the selected mesh region as heat sinks or heat sources. Indication of these vertices may be accomplished by marking the mesh region as a heat source or heat sink region on the displayed representation of the intraoral surface mesh. Following this marking, the cutoff line may be re-estimated by applying the following heat diffusion equation on the surface mesh or on the portion of the mesh that includes the selected region and its surroundings:
[0204]
[0205] Where F is a force term that should be positive for vertices inside the heat source, negative for vertices inside the heat sink, and zero for other inner vertices. The size of F can be adjusted to determine the influence area of the heat source / heat sink. The equation can be solved in the same manner as discussed in Section 2.1. In order to limit the required computational time, and considering that the influence of a heat sink or heat source defined by a force term is generally limited to its surroundings, it is sufficient to solve (30) locally within a region that includes the selected region and adjacent regions. The local region can be determined by starting with a list containing only heat source vertices / heat sink vertices and then iteratively adding 1-ring vertices of the vertices in the list to the list until the predetermined Voronoi region is covered. Fig.17 Examples of heat sources and heat sinks applied to a toy example and an intra-mouth surface mesh are presented in .
[0206] 8. Additional Embodiments and Considerations
[0207] Fig.18 is a schematic diagram of an exemplary implementation of a system 700 that may be used in embodiments of the present invention.
[0208] like Fig.17As shown, system 700 may include bus 755, processing unit 753, main memory 757, ROM 758, storage device 759, input device 752, output device 754, and communication interface 756. Bus 755 may include a path that allows communication between components of system 700.
[0209] Processing unit 753 may include a processor, microprocessor, or processing logic that can interpret and execute instructions. Main memory 757 may include RAM or another type of dynamic storage device that can store information and instructions for execution by processing unit 753. ROM 758 may include a ROM device or another type of static storage device that can store static information and instructions for use by processing unit 753. Storage device 759 may include magnetic and / or optical recording media and their corresponding drives.
[0210] Input device 752 may include mechanisms that allow a user to input information to system 700, such as a keypad, keyboard, mouse, pen, voice recognition and / or biometric recognition mechanisms, etc. Output device 754 may include mechanisms that output information to a user, including a display, printer, speaker, etc. Communication interface 756 may include any transceiver-like mechanism or receiver and transmitter that enables system 700 to communicate with other devices and / or systems (such as with an imaging device as described above, etc.). For example, communication interface 756 may include a mechanism for communicating with another device or system over a telecommunications network.
[0211] System 700 may perform certain operations or processes described herein. These operations may be performed in response to processing unit 753 executing software instructions contained in a computer-readable medium (such as main memory 757, ROM 758, and / or storage device 759). Computer-readable media may be defined as physical or logical memory devices. For example, a logical memory device may include storage space within a single physical memory device or storage space distributed on multiple physical memory devices. Each of main memory 757, ROM 758, and storage device 759 may include a computer-readable medium. The magnetic and / or optical recording medium (e.g., a readable CD or DVD) of storage device 759 may also include a computer-readable medium. Software instructions may be read into main memory 757 from another computer-readable medium (such as storage device 759) or from another device through communication interface 756.
[0212] The software instructions contained in the main memory 759 may cause the processing unit 753 to perform the operations or processes described herein, such as steps 100, 200, 300, and 400 described above. Alternatively, hard-wired circuits may be used in place of or in combination with software instructions to implement the processes and / or operations described herein. Therefore, the embodiments described herein are not limited to any specific combination of hardware and software.
[0213] In another embodiment of the present invention, any of the above-mentioned procedures, steps or processes may be implemented using computer-executable instructions, for example in the form of computer-executable programs, methods, etc., in any kind of computer language, and / or in the form of embedded software on firmware, integrated circuits, etc.
[0214] Although the present invention has been described based on detailed examples, the detailed examples are only used to provide a better understanding to the skilled person and are not intended to limit the scope of the present invention, which is defined by the appended claims.
[0215] References
[0216] BISWAIJT BOSE: “Detecting Open Surfaces in Three Dimension,” Dissertation submitted to the Department of Electrical Engineering and Computer Science in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Electrical Engineering and Computer Science, June 1, 2009, pp. 1-104.
Claims
1. A method for trimming an intraoral surface mesh (1) representing a portion of an intraoral region, the intraoral surface mesh comprising an inner mesh region defined by an outer boundary (2), the method comprising: Surface mesh inside the receiving port; determining a cutoff line for trimming the intraoral surface mesh, wherein for the determination, the intraoral surface mesh is considered to be an infinitely thin thermally conductive plate, and the determination includes - Calculating virtual temperatures for a plurality of locations on the intraoral surface mesh by solving a thermal diffusion function describing the evolution of the spatial distribution of virtual temperatures u(v,t) on the surface mesh over time (t), the thermal diffusion function being characterized by an equation of the type Where v is the spatial position, t is the time, Specifies the thermal diffusion term, where α is the thermal diffusion coefficient (with units describes the virtual heat transfer rate on the grid, represents the Laplace-Beltrami operator applied to the function u and wherein solving the diffusion equation returns a virtual temperature u(v,t) for each of the grid locations, and applying boundary conditions specifying a virtual temperature u(v,t) of the solution of the equation along the outer boundary; - calculating one or more contour lines (12) according to said virtual temperature, each such contour line connecting surface grid locations having the same virtual temperature, - selecting a contour line (12) from the one or more contour lines (12) that encloses a region of interest of the intraoral surface mesh, wherein selecting the contour line comprises presenting on a display a representation of the surface mesh indicating two or more calculated contour lines, and selecting by a user one of the contour lines as the contour line enclosing the mesh region of interest, or in, automatically selecting the contour lines using an optimization function and a suitable optimization criterion; - using the selected contour as a cut-off line enclosing a surface mesh region to be retained after pruning, or using the selected contour as a reference for defining a cut-off line in a post-processing step, wherein the cut-off line is moved towards the outer boundary relative to the selected contour line at a position where the shortest distance between the selected contour line and the outer boundary is below a threshold value, and wherein the cut-off line is substantially maintained at the level of the selected contour line at a position where the shortest distance between the selected contour line and the outer boundary exceeds the threshold value; as well as The intra-oral surface mesh is trimmed by removing the surface mesh area between the cut-off line and the outer boundary of the intra-oral surface mesh.
2. The method of claim 1 , wherein calculating the virtual temperature comprises calculating a steady-state solution u of the heat diffusion function * (v) definition.
3. The method according to claim 1 or 2, wherein the heat equation further comprises a heat dissipation term -λ(v,t), which provides the equation Where λ is the heat dissipation coefficient (s -1 ), where λ≥0.
4. The method of claim 3, wherein the thermal diffusion coefficient (α) and / or the thermal dissipation coefficient (λ) depends on a measure indicating the curvature of the surface at a grid position, a measure indicating the color at a grid position, or a measure indicating the distance between a grid position and the outer boundary.
5. The method according to claim 4, wherein the thermal diffusion coefficient (α) and / or the thermal dissipation coefficient (λ) depends on the mean surface curvature or the smooth mean surface curvature as determined for the vertex position, wherein the thermal diffusion coefficient (α) and / or the thermal dissipation coefficient (λ) increases as the mean surface curvature or the smooth mean surface curvature indicates that the convexity of the surface mesh at the vertex position increases.
6. The method according to claim 1 or 2, comprising: min ) and the maximum virtual temperature (u max ) is divided into S equally spaced intervals, thereby defining an ordered set of S+1 contour lines to calculate multiple uniformly spaced contour lines, where the difference between the contour line values of two adjacent contour lines is 7. The method of claim 6, wherein identifying an intraoral curved mesh region of interest comprises selecting one of the evenly spaced contour lines as the contour line enclosing the region of interest based on the following criteria: (i) the minimum average distance between the selected contour line and its adjacent contour lines; (ii) the maximum total surface area within the selected contour line; and (iii) the maximum overall mean curvature or smooth mean curvature within the selected contour line.
8. The method according to claim 1 or 2, wherein the selected contour line surrounding the surface mesh region of interest is identified as the cut-off line.
9. The method according to claim 1 or 2, wherein the post-processing step comprises - recalculating function values for a plurality of locations on the intraoral surface mesh by applying the heat diffusion function according to any one of claims 1 to 8 on the mesh using adapted boundary conditions; - calculating one or more new contour lines according to said recalculated function values; - selecting from the new contour lines the contour lines surrounding the region of interest of the intraoral surface mesh; - using said newly selected contour lines to define a cut-off line enclosing the surface mesh region to be retained after pruning; wherein the adapted boundary condition favors a solution wherein the position of the new contour line, compared to the initial contour line, is (i) offset toward the outer boundary at a location where the minimum distance between the initially selected contour line and the outer boundary is below a threshold distance; and (ii) substantially maintaining at a location where the minimum distance exceeds the threshold distance.
10. The method according to claim 1 or 2, wherein the post-processing step comprises detecting boundary vertices of an outer boundary segment, the outer boundary segment either being bent into the intraoral curved surface mesh and delineating a cleft, or delineating a protruding flap area of the curved surface mesh, wherein the detecting comprises determining, for each outer boundary vertex, a geodesic distance along the outer boundary and a Euclidean distance between the outer boundary vertex and adjacent outer boundary vertices within a region surrounding the boundary vertex, When the ratio of the geodesic distance to the Euclidean distance between the outer boundary vertex and any one of the adjacent boundary vertices exceeds a threshold, the outer boundary vertex is detected as a boundary vertex of an outer boundary segment that bends or protrudes inward.
11. The method of claim 10, wherein the entry vertex pairs defining the start and end points of the inwardly curved or protruding boundary segments are identified using a method comprising: - for each outer boundary vertex detected as being located in an inwardly curved or protruding outer boundary segment, identifying as the corresponding boundary vertex the adjacent boundary vertex having the highest ratio of boundary geodesic distance to Euclidean distance; - retain the vertices detected as corresponding boundary vertices to each other as candidate entry vertex pairs; - comparing the retained candidate entry vertex pairs, wherein a candidate entry vertex pair is discarded when the outer boundary vertices between the candidate entry vertices are a subset of the outer boundary vertices between another candidate entry vertex pair; as well as - Mark the remaining candidate entry vertex pairs as the entry vertex pairs of the inwardly curved or protruding boundary segments.
12. The method according to claim 11, wherein if all shortest distances between the corresponding vertices of the entry vertex pair and the initially selected contour line of the outer boundary segment defined by the entry vertex pair are lower than a threshold distance, the outer boundary segment defined by the entry vertex pair is marked as an inwardly curved outer boundary segment.
13. A method according to claim 11, wherein if the shortest distance between at least one vertex of the outer boundary segment defined by the entry vertex pair and the initially selected contour line exceeds a threshold distance, the outer boundary segment defined by the entry vertex pair is marked as an outer boundary segment demarcating a protruding flap area.
14. The method of claim 12, wherein the post-processing step further comprises repositioning the selected contour lines toward the inwardly curved boundary segments.
15. The method of claim 14, wherein the post-processing step comprises: (i) calculating new function values by reapplying the diffusion function on the intraoral surface mesh using adapted boundary conditions along the inwardly curved or protruding outer boundary segments; (ii) recalculating contour lines according to the new function value; (iii) selecting one of the selected recalculated contour lines as the contour line surrounding the region of interest; and (iv) using the selected recomputed contour lines to determine the cutoff line for trimming the intra-oral surface mesh.
16. The method of claim 1 or 2, wherein the intraoral curved surface mesh comprises a convex dental arch and one or more concave mesh areas.
17. Use of the method according to any one of claims 1 or 2 for designing a dental prosthesis or for planning an intraoral surgical procedure.
18. A system for trimming an intra-oral surface mesh representing a portion of an intra-oral region, the intra-oral surface mesh comprising an inner mesh region delimited by an outer boundary, the system comprising a processing unit configured to: Surface mesh inside the receiving port; determining a cutoff line for trimming the intraoral surface mesh, wherein for the determination, the intraoral surface mesh is considered to be an infinitely thin thermally conductive plate, and the determination includes - calculating the virtual temperature for a plurality of locations on the intraoral curved surface mesh by solving a heat diffusion function describing the temporal evolution of the spatial distribution of the virtual temperature on the curved surface mesh, the heat diffusion function being characterized by an equation of the type Where v is the spatial position, t is the time, Specifies the thermal diffusion term, where α is the thermal diffusion coefficient (with units describes the virtual heat transfer rate on the grid, represents the Laplace-Beltrami operator applied to the function u and wherein solving the diffusion equation returns a virtual temperature u(v,t) for each of the grid locations, and applying boundary conditions specifying a virtual temperature u(v,t) of the solution of the equation along the outer boundary; - calculating one or more contour lines according to the virtual temperature, the contour lines connecting the surface grid positions having the same virtual temperature, - selecting a contour line from the one or more contour lines that encloses a region of interest of the intraoral surface mesh, wherein selecting the contour line comprises presenting on a display a representation of the surface mesh indicating two or more calculated contour lines, and selecting by a user one of the contour lines as the contour line enclosing the mesh region of interest, or in, automatically selecting the contour lines using an optimization function and a suitable optimization criterion; - using the selected contour as a cut-off line enclosing a surface mesh region to be retained after pruning, or using the selected contour as a reference for defining a cut-off line in a post-processing step, wherein the cut-off line is moved towards the outer boundary relative to the selected contour line at a position where the shortest distance between the selected contour line and the outer boundary is below a threshold value, and wherein the cut-off line is substantially maintained at the level of the selected contour line at a position where the shortest distance between the selected contour line and the outer boundary exceeds the threshold value; as well as The intraoral surface mesh is trimmed by removing the surface mesh region between the cutoff line and the outer boundary of the intraoral surface mesh.
