A three-dimensional model surface deformation method and device

Through the deformation method and device of the three-dimensional model surface, the specified movement trajectory and parameters are used to automatically deform, which solves the problems of high technical requirements and high learning cost of orthosis production in the existing technology, and improves the fit and accuracy of the orthosis. production efficiency and promotes the application of three-dimensional models.

CN118429596BActive Publication Date: 2024-09-13KLARITY MEDICAL & EQUIP GZ
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410892587.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-09-13
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

The existing three-dimensional model production method has problems such as high technical requirements, long cycle, poor fit, and material waste. In addition, hand-made orthotics require high learning costs for orthotists, which affects the application and promotion of orthotics.

Method used

Provide a method and device for deforming the surface of a three-dimensional model, which automatically deforms the surface of the three-dimensional model through specified movement trajectories and preset area radius, transition radius and amplitude, determines the outer contour and inner contour areas, and performs operations based on these areas. Deformation, simplifying the operation process.

Benefits of technology

It significantly reduces the learning cost of 3D model optimization and adjustment, improves the fit and production efficiency of orthotics, promotes the application of 3D models, helps designers quickly evaluate and optimize orthosis design, and improves the efficiency and accuracy of the treatment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118429596B
    Figure CN118429596B
Patent Text Reader

Abstract

The present invention discloses a deformation method and device for a three-dimensional model surface, the method comprising: determining a target area according to a movement track specified on the three-dimensional model surface and a preset area radius; determining the outer contour boundary of the target area according to the relative position relationship of each point in the target area, and determining the outer contour area of ​​the target area according to the outer contour boundary and a preset transition radius; determining the inner contour area and the inner contour boundary of the target area according to the outer contour area; and deforming the outer contour area and the inner contour area respectively according to a preset amplitude. The present invention can automatically realize the deformation of the three-dimensional model surface according to the specified movement track, is simple to operate, easy to use, and has an intuitive effect, which can reduce the learning cost of three-dimensional model operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of three-dimensional models, and in particular to a method and device for deforming the surface of a three-dimensional model. Background Art

[0002] In the prior art, the production of orthotics is mainly divided into two methods: traditional manual production and computer-aided design. Among them, the traditional manual production method of orthotics usually requires the orthotist to use plaster bandages to extract the patient's body shape to make a "negative mold", and then use plaster to fill the "negative mold" to form a "positive mold". According to the patient's CT (Computed Tomography) and X-ray film data, the orthotist needs to add and remove plaster from different areas of the positive mold, and finally use the plate for thermoforming and cut out the required shape. This production method has high technical requirements for orthotists, and has disadvantages such as long cycle, poor fit, and material waste. In addition, handmade orthotics also have disadvantages such as high consumables, poor air permeability, and unreasonable structural design, which not only increases the patient's treatment costs, but also increases the weight of the orthosis, affecting the patient's comfort, and poor air permeability may cause skin problems such as pressure sores, and unreasonable structural design will reduce the service life of the orthosis, ultimately affecting the orthopedic effect.

[0003] In contrast, through computer-aided design of orthoses, the patient's data can be directly converted into a three-dimensional model, optimized and adjusted on the model, and then the model can be printed layer by layer into a solid orthosis using 3D printing technology or machine tool carving technology, without the tedious process of manual production and plaster filling. This can facilitate the storage of patient data and design experience, improve production efficiency, increase fit, and reduce material waste.

[0004] However, although computer-aided design has various advantages, three-dimensional modeling and optimization and adjustment of the model require the use of professional three-dimensional modeling software through specific and precise numerical adjustment and command operation. This requires orthotists to master certain three-dimensional modeling capabilities and there is a problem of high learning costs, which to a certain extent restricts the application of computers in the auxiliary design of orthotics. Summary of the invention

[0005] In order to overcome the problems existing in the related art, the present invention provides a method and device for deforming the surface of a three-dimensional model to solve the defects in the related art.

[0006] According to a first aspect of the present invention, a method for deforming a surface of a three-dimensional model is provided, the method comprising:

[0007] Determine a target area according to a movement trajectory specified on the surface of the three-dimensional model and a preset area radius;

[0008] Determine an outer contour boundary of the target area according to the relative position relationship of each point in the target area, and determine an outer contour area of ​​the target area according to the outer contour boundary and a preset transition radius;

[0009] Determine the inner contour area and the inner contour boundary of the target area according to the outer contour area;

[0010] According to a preset amplitude, the outer contour area and the inner contour area are deformed respectively.

[0011] Preferably, determining the target area according to the movement trajectory specified on the surface of the three-dimensional model and a preset area radius includes:

[0012] Take any point A on the moving trajectory for diffusion and calculate the direction vector between the diffusion point P and point A. With trajectory direction Wherein, point B is another point on the moving trajectory;

[0013] Determine the relative position of the diffusion point P and the trajectory segment AB according to the relationship between the dot product and 0 and 1;

[0014] If the diffusion point P is on the left side of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance between the diffusion point P and point A;

[0015] If the diffusion point P is on the right side of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance between the diffusion point P and point B;

[0016] If the diffusion point P is in the middle of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance from the projection of the diffusion point P to the trajectory segment AB;

[0017] The target area is determined according to all points on the surface of the three-dimensional model whose distances from any trajectory segment of the moving trajectory are less than the area radius.

[0018] Preferably, determining the outer contour boundary of the target area according to the relative position relationship of each point in the target area includes:

[0019] Traversing all points in the target area, and determining whether the neighboring points of the point are located in the target area;

[0020] When a point in the target area has more than one neighboring point that is not in the target area, the point is determined to be an outer contour boundary point of the target area;

[0021] The outer contour boundary of the target area is determined according to all the outer contour boundary points.

[0022] Preferably, determining the outer contour area of ​​the target area according to the outer contour boundary and a preset transition radius includes:

[0023] Starting from any outer contour boundary point on the outer contour boundary, traversing, cyclically calculating the distance between the outer contour boundary point and all points in the target area, and recording the point whose distance is less than the transition radius as an outer contour point;

[0024] After traversing all outer contour boundary points, the outer contour area of ​​the target area is determined according to all recorded outer contour points.

[0025] Preferably, determining the inner contour area and the inner contour boundary of the target area according to the outer contour area includes:

[0026] Obtaining an inner contour area of ​​the target area by subtracting all points within the outer contour area from all points within the target area;

[0027] Traverse all points in the inner contour area to determine whether the neighboring points of the point are located in the outer contour area;

[0028] When a point in the inner contour area has more than one neighboring point in the outer contour area, the point is determined to be an inner contour boundary point of the target area;

[0029] The inner contour boundary of the target area is determined according to all the inner contour boundary points.

[0030] Preferably, the deforming the outer contour area and the inner contour area respectively according to a preset amplitude comprises:

[0031] For a point in the outer contour area, determining a deformation coefficient of the point according to the shortest distance between the point and the outer contour boundary and the shortest distance between the point and the inner contour boundary;

[0032] Determining a first deformation value of each point in the outer contour area according to the deformation coefficient and the amplitude;

[0033] Each point in the outer contour area is deformed according to the first deformation value.

[0034] Preferably, the deforming the outer contour area and the inner contour area respectively according to a preset amplitude comprises:

[0035] determining a first deformation value of each point in the inner contour area according to the amplitude;

[0036] Deforming each point in the inner contour area according to the first deformation value;

[0037] Obtaining the radius of each point in the inner contour area after deformation;

[0038] For each point in the inner contour area, determining a second deformation value of the point according to the median value of the radius of all neighboring points of the point;

[0039] Each point in the inner contour area is deformed according to the second deformation value.

[0040] Preferably, the method further comprises:

[0041] When the target area forms a closed loop area, diffusion starts from the highest point and the lowest point among all points in the target area, respectively, to obtain a first outer contour boundary where the highest point is located, and a second outer contour boundary where the lowest point is located;

[0042] When the first outer contour boundary and the second outer contour boundary are included in each other, diffusion starts from any point in the closed-loop region, and the outer contour region of the closed-loop region is determined according to all points whose distances from the first outer contour boundary are not greater than the transition radius, and the inner contour region of the closed-loop region is determined according to all points whose distances from the first outer contour boundary are greater than the transition radius;

[0043] According to the amplitude, the outer contour area and the inner contour area of ​​the closed-loop area are deformed respectively.

[0044] Preferably, after the target area is deformed, the method further comprises:

[0045] Expanding the target area according to a specified correction trajectory with a starting point within the target area and an end point outside the target area, and re-deforming the expanded target area;

[0046] and / or,

[0047] According to a specified correction trajectory with a starting point outside the target area and an end point inside the target area, the target area is extruded, and the extruded target area is deformed again.

[0048] According to a second aspect of the present invention, there is provided a device for deforming a surface of a three-dimensional model, the device comprising:

[0049] A moving detection module, used for determining a target area according to a moving track specified on the surface of the three-dimensional model and a preset area radius;

[0050] An outer contour drawing module, used to determine the outer contour boundary of the target area according to the relative position relationship of each point in the target area, and determine the outer contour area of ​​the target area according to the outer contour boundary and a preset transition radius;

[0051] An inner contour drawing module, used to determine the inner contour area and the inner contour boundary of the target area according to the outer contour area;

[0052] The deformation module is used to deform the outer contour area and the inner contour area respectively according to a preset amplitude.

[0053] The present invention discloses a deformation method and device for a three-dimensional model surface, which can automatically realize deformation of a designated area on the three-dimensional model surface through preset parameters such as area radius, transition radius and amplitude, and according to the movement trajectory of a designer sliding on the three-dimensional model surface. The method and device are simple to operate, easy to use, and have intuitive effects. The method can significantly reduce the learning cost of optimizing and adjusting the three-dimensional model, thereby promoting the application of three-dimensional models.

[0054] Furthermore, based on the various advantages of computer-aided design of orthotics, when performing computer-aided orthosis design, the present invention provides orthotists with a method for selecting irregular and rugged surfaces of models and performing certain deformations, so as to help designers evaluate the correction effects of different design schemes, quickly generate brace designs, optimize and verify the designs, reduce trial and error and adjustment time, thereby selecting the best treatment plan and improving the efficiency and accuracy of the treatment process.

[0055] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 The figure is a flow chart of a method for deforming a surface of a three-dimensional model according to an embodiment of the present invention.

[0057] Figure 2 It is a schematic diagram showing determination of a target area and an outer contour and an inner contour according to a moving trajectory AC according to an embodiment of the present invention.

[0058] Figure 3 FIG. 4 is a schematic diagram showing the calculation of the distance from the diffusion point P to the trajectory segment AB according to an embodiment of the present invention.

[0059] Figure 4 It is a schematic diagram showing a situation where a target area forms a closed-loop area according to an embodiment of the present invention.

[0060] Figure 5It is a schematic diagram showing another situation where a target area forms a closed loop area according to an embodiment of the present invention.

[0061] Figure 6 It is a schematic structural diagram of a three-dimensional model surface deformation device according to an embodiment of the present invention.

[0062] Figure 7 It is a schematic diagram of the structure of a computing device hardware according to an embodiment of the present invention. DETAILED DESCRIPTION

[0063] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0064] The terms used in the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0065] It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0066] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0067] like Figure 1 As shown, Figure 1 FIG. 1 is a flow chart of a method for deforming a surface of a three-dimensional model according to an embodiment of the present invention, comprising the following steps:

[0068] Step S101, determining a target area according to a movement trajectory specified on a surface of a three-dimensional model and a preset area radius;

[0069] Step S102, determining an outer contour boundary of the target area according to the relative position relationship of each point in the target area, and determining an outer contour area of ​​the target area according to the outer contour boundary and a preset transition radius;

[0070] Step S103, determining the inner contour area and the inner contour boundary of the target area according to the outer contour area;

[0071] Step S104: deforming the outer contour area and the inner contour area respectively according to a preset amplitude.

[0072] Specifically, in step S101, the target area that needs to be deformed can be determined by capturing the movement trajectory specified on the surface of the three-dimensional model and combining it with a preset area radius.

[0073] Specifically, in some embodiments, the above-mentioned specified movement trajectory can be obtained by means of a mouse, keyboard, or touching a touch screen, such as according to the movement trajectory of the mouse when it passes over the surface of the model. It can be specifically set according to actual needs, and the present invention is not limited to this.

[0074] Specifically, the area radius is a value pre-input or selected by a user designer and is used to specify the size of the target area where deformation occurs. The specific value is set according to design requirements.

[0075] Specifically, Figure 2 As shown, after obtaining the specified moving trajectory AC by, for example, sliding the mouse over the model surface, the moving trajectory is diffused from the starting point A of the moving trajectory to all vertices of the three-dimensional model, and it is determined whether the distance between each vertex and the moving trajectory AC is within the area radius input by the user, so that the point that needs to be deformed, that is, the target area that needs to be deformed, can be determined.

[0076] Specifically, in step S101, the specific process of determining the target area according to the movement track specified on the surface of the three-dimensional model and the preset area radius may include:

[0077] Take any point A on the moving trajectory for diffusion and calculate the direction vector between the diffusion point P and point A. With trajectory direction The dot product of ; where point B is another point on the moving trajectory;

[0078] According to the relationship between the dot product and 0 and 1, the relative position of the diffusion point P and the trajectory segment AB is determined;

[0079] If the diffusion point P is on the left side of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance between the diffusion point P and point A;

[0080] If the diffusion point P is on the right side of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance between the diffusion point P and point B;

[0081] If the diffusion point P is in the middle of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance from the projection of the diffusion point P to the trajectory segment AB;

[0082] The target area is determined according to all points on the surface of the three-dimensional model whose distances from any trajectory segment of the moving trajectory are less than the area radius.

[0083] Specifically, Figure 3 As shown, Figure 3 : is a schematic diagram of calculating the distance from the diffusion point P to the trajectory segment AB according to an embodiment of the present invention; wherein point A and point B are the two end points of the trajectory segment AB, and for the diffusion point P1, the direction vector is calculated With trajectory direction When the dot product is less than 0, it means that the diffusion point P1 is located on the left side of the trajectory segment AB. Therefore, the distance from the diffusion point P1 to the trajectory segment AB can be determined by calculating the distance from the diffusion point P1 to point A. For the diffusion point P2, the direction vector is calculated. With trajectory direction When the dot product is greater than 0 and less than 1, it means that the diffusion point P2 is located in the middle of the trajectory segment AB. Therefore, the distance from the diffusion point P2 to the trajectory segment AB can be determined by calculating the projection distance from the diffusion point P2 to the trajectory segment AB. For the diffusion point P3, the direction vector is calculated. With trajectory direction When the dot product is greater than 1, it means that the diffusion point P3 is located on the right side of the trajectory segment AB. Therefore, the distance from the diffusion point P3 to the trajectory segment AB can be determined by calculating the distance between the diffusion point P3 and point B.

[0084] Specifically, Figure 2 As shown, the target area can be divided into an outer contour area and an inner contour area, wherein the inner contour area is used to represent the central area where deformation occurs, and the degree of internal deformation is basically the same as a whole, while the outer contour area is used to represent the edge area where deformation occurs, and the degree of internal deformation changes in a slope according to its distance from the moving trajectory AC to simulate the gentle drop between the deformed target area and the non-deformed area; and the outer contour boundary is the contour line in the outer contour area farthest from the moving trajectory AC, which is used to define the edge of the target area; and the inner contour boundary is the contour line in the inner contour area farthest from the moving trajectory AC, which is used to define the boundary between the inner contour area and the outer contour area.

[0085] Specifically, in step S102 , diffusion may be started from any point in the target area, and all points in the target area may be traversed to find the outer contour boundary in the target area.

[0086] Specifically, in step S102, determining the outer contour boundary of the target area according to the relative position relationship of each point in the target area may include:

[0087] Traverse all points in the target area and determine whether the neighboring points of the point are in the target area;

[0088] When a point in the target area has more than one neighboring point that is not in the target area, the point is determined to be the outer contour boundary point of the target area;

[0089] The outer contour boundary of the target area is determined according to all the outer contour boundary points.

[0090] Specifically, in the present invention, on the surface of the three-dimensional model, the neighboring points of each vertex refer to several other vertices that are closest to the vertex. Specifically, in some embodiments, the neighboring points can be determined by the index values ​​of each vertex on the surface of the three-dimensional model. Specifically, the four upper, lower, left and right neighboring points can be obtained by increasing or decreasing the index value of the vertex by a specified index difference, wherein the specified index difference can be determined according to the difference between the indexes of the neighboring points in the three-dimensional model surface, such as the difference between the left and right neighboring points can be set to 1, and the specific value of the index difference is not limited by the present invention. Specifically, in other embodiments, the neighboring points of each vertex can also be determined by other methods, and the present invention is not limited to this.

[0091] Specifically, the target area determined in step S101 can be represented by a region point array composed of all points in the target area. Then, starting from a certain point in the region point array of the target area, all points in the target area can be traversed, and the index of the point can be used to determine whether the neighboring point of the point is also in the region point array. When only one of the neighboring points of the point is not in the region point array, it means that the point is located at the edge of the target area, and the point can be determined as an outer contour boundary point. After recording all outer contour boundary points, all outer contour boundary points can be reordered according to the coordinates to determine and draw the outer contour boundary. Specifically, when drawing the outer contour boundary, a specific color can be used, such as Figure 1 Draw in fluorescent green to highlight the outer contour boundary.

[0092] Specifically, after the outer contour boundary is determined, diffusion can be performed from each outer contour boundary point on the outer contour boundary to traverse all points in the target area, and the distance between the point and the outer contour boundary point is calculated, so as to determine the outer contour area.

[0093] Specifically, in step S102, the outer contour area of ​​the target area is determined according to the outer contour boundary and the preset transition radius, which may specifically include:

[0094] Start traversing from any outer contour boundary point on the outer contour boundary, cyclically calculate the distance between the outer contour boundary point and all points in the target area, and record the points whose distance is less than the transition radius as outer contour points;

[0095] After traversing all outer contour boundary points, the outer contour area of ​​the target area is determined based on all recorded outer contour points.

[0096] Specifically, in the present invention, the transition radius can be pre-specified by the user to indicate the width of the outer contour area to reflect the different degrees of change in the deformation edge area. Specifically, the smaller the value of the transition radius, the smaller the width of the outer contour area, the faster the gradient deformation amplitude from the outer contour boundary to the inner contour boundary changes, showing a steeper deformation edge area, and at the same time, the inner contour area, that is, the size of the main deformation area in the middle, will be expanded; and the larger the value of the transition radius, the larger the width of the outer contour area, the slower the gradient deformation amplitude from the outer contour boundary to the inner contour boundary changes, showing a smoother deformation edge area, but at the same time, it will squeeze the inner contour area, that is, the size of the main deformation area in the middle. Therefore, the transition radius can be set and adjusted according to the desired deformation effect.

[0097] Specifically, after obtaining the outer contour area, all points in the outer contour area can be subtracted from all points in the target area to obtain all points in the inner contour area. Then, according to the positional relationship of neighboring points of all points in the inner contour area, the inner contour boundary points are found and the inner contour boundary is drawn.

[0098] Specifically, in step S103, determining the inner contour area and the inner contour boundary of the target area according to the outer contour area may specifically include:

[0099] The inner contour area of ​​the target area is obtained by subtracting all points in the outer contour area from all points in the target area;

[0100] Traverse all points in the inner contour area and determine whether the neighboring points of the point are in the outer contour area;

[0101] When a point in the inner contour area has more than one neighboring point in the outer contour area, the point is determined to be the inner contour boundary point of the target area;

[0102] The inner contour boundary of the target area is determined according to all the inner contour boundary points.

[0103] Specifically, the point array in the inner contour area can be obtained by comparing the area point array of the target area with the outer contour point array corresponding to the outer contour area.

[0104] Specifically, you can start from a point in the area point array of the inner contour area, traverse all the points in the inner contour area, and determine whether the neighboring points of the point are also in the area point array of the outer contour area through the index of the point. When there is only one neighboring point of the point in the area point array of the outer contour area, it means that the point is located at the boundary between the inner contour area and the outer contour area, and the point can be determined as an inner contour boundary point. After recording all the inner contour boundary points, all the inner contour boundary points can be reordered according to the coordinates to determine and draw the inner contour boundary. Specifically, when drawing the inner contour boundary, you can use a specific color, such as Figure 1 Draw in red to highlight the inner contour boundary.

[0105] Specifically, after the outer contour area and the inner contour area are determined, the points of the outer contour area and the inner contour area may be deformed respectively.

[0106] Among them, for a point in the outer contour area, the deformation coefficient needs to be calculated according to the ratio of the distance from the point to the outer contour boundary to achieve the purpose of smooth transition of the outer contour area.

[0107] Specifically, in step S104, the outer contour area and the inner contour area are deformed according to the preset amplitude, which may include:

[0108] For a point in the outer contour area, the deformation coefficient of the point is determined according to the shortest distance between the point and the outer contour boundary and the shortest distance between the point and the inner contour boundary;

[0109] Determine a first deformation value of each point in the outer contour area according to the deformation coefficient and the amplitude;

[0110] Each point in the outer contour area is deformed according to the first deformation value.

[0111] Specifically, the deformation coefficient of each point in the outer contour area can be calculated by: calculating the distance between the point and all vertices of the outer contour boundary array to obtain the minimum value d1; and calculating the distance between the point and all vertices of the inner contour boundary array to obtain the minimum value d2; then the deformation coefficient of the point is k=d1 / (d1+d2). After obtaining the deformation coefficient, the first deformation value of each point in the outer contour area = amplitude*k; and the deformation mode of each point in the outer contour area is to displace the distance corresponding to the first deformation value in the direction opposite to the center point of the model.

[0112] For points within the inner contour area, the median filtering method can be used to replace the radius of a point with the median of each point in a range of the point.

[0113] Specifically, in step S104, the outer contour area and the inner contour area are deformed according to the preset amplitude, which may include:

[0114] determining a first deformation value for each point in the inner contour area according to the amplitude;

[0115] Deforming each point in the inner contour area according to the first deformation value;

[0116] Get the radius of each point in the inner contour area after deformation;

[0117] For each point in the inner contour area, determine the second deformation value of the point according to the median value of the radius of all neighboring points of the point;

[0118] Each point in the inner contour area is deformed according to the second deformation value.

[0119] Specifically, the first deformation value of each point in the inner contour area = amplitude, that is, each point in the inner contour area is deformed by a distance corresponding to the amplitude. However, since the points on the surface of the three-dimensional model are not flat, the inner contour area that is deformed only according to the first deformation value with equal amplitude is also not flat. Therefore, the deformed points can be fine-tuned by using median filtering to make the deformed inner contour area smooth.

[0120] Specifically, the radius of each point on the surface of the three-dimensional model is the distance between the point and the center point of the model.

[0121] Specifically, the above median filtering process can be expressed as the following formula:

[0122]

[0123] Where n is the number of each point. represents the radius of point n after deformation, It represents the median radius of point n, that is, the median of the radius of all neighboring points of point n; median is the median filter function; k represents the range of neighboring points obtained in the median filter, which can be set according to actual needs, and the present invention is not limited to this.

[0124] Specifically, the median radius of each point in the inner contour area is calculated After that, we can use the median radius of point n The original radius after deformation of point n To calculate the second deformation value of point n = - After deforming each point in the inner contour area according to the second deformation value, each point in the inner contour area can be deformed to a position corresponding to the median radius, so that the deformed inner contour area finally obtained is a relatively flat area.

[0125] Specifically, in the present invention, the amplitude is a numerical value specified by the user, which is used to indicate the degree of deformation of the three-dimensional model surface, that is, the height difference between the deformed three-dimensional model surface and the undeformed three-dimensional model surface. Specifically, the larger the amplitude, the larger the deformation amplitude of the three-dimensional model surface; the smaller the amplitude, the smaller the deformation amplitude of the three-dimensional model surface. Specifically, the deformation of the three-dimensional model surface can include two deformation modes: convex and concave. When the amplitude is a positive number, the deformation mode of each point on the three-dimensional model surface is to displace a distance corresponding to the deformation value in the direction opposite to the center point of the model, which is manifested as an upward convexity; and when the amplitude is a negative number, the deformation mode of the three-dimensional model surface is to displace a distance corresponding to the deformation value in the direction toward the center point of the model, which is manifested as a downward concave.

[0126] Specifically, since the movement tracks such as mouse tracks are generally presented as linear tracks, the corresponding deformation target area is also a strip area. In some cases, the movement track specified by the user may be connected to the previous movement track, so that the target area forms a closed loop area. Depending on the movement track, the closed loop area formed by the target area may have the following characteristics: Figure 4 and Figure 5 Two different situations are shown.

[0127] like Figure 4 As shown, the closed-loop area formed by the target area may be a sheet-like area on the surface of one side of the three-dimensional model. At this time, the outer contour boundary and the inner contour boundary of one side of the original strip-shaped target area are completely surrounded by the inner contour boundary of the other side. The enclosed outer contour boundary and the inner contour boundary can be covered, and the inner contour area can be re-determined by the inner contour boundary of the outer circle, and the interior of the closed-loop area formed by the strip-shaped area can be completely deformed.

[0128] like Figure 5 As shown, the closed-loop area formed by the target area may also be a ring-shaped strip area formed around the three-dimensional model. The outer contour area and inner contour area generated by the new moving trajectory are respectively connected to the generated outer contour area and inner contour area to form two outer contour boundaries and two inner contour boundaries without deforming other areas.

[0129] Specifically, when the target area forms a closed-loop area, the specific situation of the closed-loop area can be determined by the relationship between the outer contour boundary point arrays associated with the highest point and the lowest point in the outer contour boundary. Figure 4In the case of the closed-loop area shown in the figure, since the highest point and the lowest point in the outer contour boundary belong to the outer contour boundary of the outermost circle, the outer contour boundary point arrays associated with the highest point and the lowest point in the outer contour boundary have a containment and overlap relationship; Figure 5 In the closed-loop area shown, since the highest point and the lowest point in the outer contour boundary belong to the outer contour boundary of the upper circle and the outer contour boundary of the lower circle respectively, there is no inclusion and overlap relationship between the outer contour boundary point arrays associated with the highest point and the lowest point in the outer contour boundary.

[0130] Specifically, in some embodiments, the method of the present invention may further include:

[0131] When the target area forms a closed loop area, diffusion starts from the highest point and the lowest point among all the points in the target area, respectively, to obtain the first outer contour boundary where the highest point is located, and the second outer contour boundary where the lowest point is located;

[0132] When the first outer contour boundary and the second outer contour boundary are contained, diffusion starts from any point in the closed-loop region, and the outer contour region of the closed-loop region is determined according to all points whose distances to the first outer contour boundary are not greater than the transition radius, and the inner contour region of the closed-loop region is determined according to all points whose distances to the first outer contour boundary are greater than the transition radius;

[0133] According to the amplitude, the outer contour area and the inner contour area of ​​the closed loop area are deformed respectively.

[0134] Specifically, we can find the point with the largest z value in the outer contour boundary and start diffusion, so as to find the adjacent edge relationship of the point on the triangle patch and get the corresponding outer contour boundary array; at the same time, we find the point with the smallest z value in the outer contour boundary and start diffusion, and find the corresponding outer contour boundary array according to the adjacent edge relationship; if the two arrays have an inclusion relationship, then we judge that the current user operation belongs to Figure 4 In the case where the array is the outer contour boundary of the outermost circle, only one outer contour boundary and inner contour boundary are generated, and the area inside the inner contour boundary is re-diffused and completed; otherwise, the user's current operation is judged to be Figure 5 In the case of, two outer contour boundaries and inner contour boundaries are generated, wherein the calculation method of the outer contour boundary, the outer contour area, the inner contour boundary and the inner contour area is the same as step S102 and step S102.

[0135] Specifically, for Figure 4In the case shown, when the target area forms a closed loop area, it can start from the outermost outer contour boundary and spread inward, traverse all points in the target area and all points in the surface area of ​​the three-dimensional model contained in the target area, cyclically calculate the distance between the outer contour boundary point and all points, record the points with a distance less than or equal to the transition radius as outer contour points, generate the corresponding outer contour area and determine the outer contour boundary; and record the points with a distance greater than the transition radius as inner contour points, generate the corresponding inner contour area and determine the inner contour boundary; and use different colors to draw the outer contour boundary and inner contour boundary respectively. Then, the newly generated outer contour area and inner contour area are deformed respectively.

[0136] Specifically, the present invention can also realize real-time dynamic adjustment of the target area that has been deformed, such as expansion and extrusion.

[0137] Specifically, in some embodiments, after the target area is deformed, the method further includes:

[0138] Expand the target area according to a specified correction trajectory whose starting point is within the target area and whose end point is outside the target area, and re-deform the expanded target area;

[0139] and / or,

[0140] According to a specified correction trajectory with a starting point outside the target area and an end point inside the target area, the target area is extruded and the extruded target area is re-deformed.

[0141] Specifically, for the shape of the target area that has completed deformation, the correction trajectory can be specified by moving the mouse, etc., and the shape of the deformed target area can be expanded and squeezed, that is, the shape of the target area is rendered in real time according to the mouse trajectory, and the user can more intuitively see whether the drawing of the shape can achieve the target effect or determine the range of the deformation; at the same time, dynamic control is convenient for the user to make real-time adjustments when he is not satisfied with the deformed shape, ultimately achieving the purpose of more beautiful design, higher degree of freedom, more precise design, and better correction effect.

[0142] After the user click event is monitored, the points near the mouse and all points whose distance from the mouse click is less than the area radius can be calculated according to the area radius, and it is determined whether the point exists in the target area array. If so, it means that the starting point of the specified correction track is outside the target area, and it is determined that the user's current operation is to expand the previous target area; if no point exists in the target area array, it means that the starting point of the specified correction track is within the target area, and it is determined that the user's current operation is to squeeze the previous target area.

[0143] Specifically, the points of the user-specified correction trajectory that meet the area radius requirements can be calculated in the same way as the target area points, and compared with the existing target area point array to obtain the intersection points. And according to the judgment of expansion or extrusion, the target area array is added with new area points or the overlapping area points are subtracted, so as to achieve the purpose of expansion and extrusion. After the arrays are merged or subtracted, the array containing all points of the new target area is recalculated in steps S102-S103 to draw the outer contour area and inner contour area after expansion or extrusion, and the deformation is re-performed.

[0144] In summary, the present invention discloses a deformation method and device for a three-dimensional model surface, which can automatically realize deformation of a specified area on the three-dimensional model surface through preset parameters such as area radius, transition radius and amplitude, and according to the movement trajectory of a designer sliding on the three-dimensional model surface. The operation is simple, easy to use, and the effect is intuitive. It can significantly reduce the learning cost of optimizing and adjusting the three-dimensional model, thereby promoting the application of three-dimensional models.

[0145] Furthermore, the present invention can also provide orthotists who use computer-aided design of orthotics with a method for selecting irregular and rugged surfaces of models and performing certain deformations, so as to help designers evaluate the correction effects of different design schemes, quickly generate brace designs, improve correction effects, shorten orthotic manufacturing time, optimize and verify designs, reduce trial and error and adjustment time, thereby selecting the best treatment plan and improving the efficiency and accuracy of the treatment process.

[0146] Specifically, the method of the present invention can form a strip-shaped area on the orthosis, and after the strip-shaped areas are connected, pressure can be applied to or released on a part of the human body; by applying pressure by pressing down on one side and releasing pressure on the opposite side bulge, the soft tissue of the human body moves to the idle position, generating a rotational force, thereby achieving correction of scoliosis torsion.

[0147] Moreover, the strip-shaped deformation area is usually used to define the design range of the orthosis. During the process of thermoplastic shell extraction, it is convenient for the orthotist to locate the design position of the orthosis and facilitate cutting and polishing. At the same time, the strip-shaped area is also used to deal with problems such as insufficient edge height of the block area. At this time, the deformation of the block area can no longer be superimposed, and the strip area needs to be superimposed. It can better assist the orthotist to complete the design of the orthosis, achieve the purpose of precise treatment of patients through refined design, and realize personalized customization; instead of using a single block area to press down or bulge for different patients to solve all problems.

[0148] Corresponding to the above-mentioned embodiment of the method for deforming the surface of a three-dimensional model, the present invention also provides a device for deforming the surface of a three-dimensional model.

[0149] like Figure 6 As shown, Figure 6 1 is a schematic diagram of a structure of a deformation device for a three-dimensional model surface according to an embodiment of the present invention, comprising the following modules:

[0150] A motion detection module 610, for determining a target area according to a motion trajectory specified on a surface of a three-dimensional model and a preset area radius;

[0151] The outer contour drawing module 620 is used to determine the outer contour boundary of the target area according to the relative position relationship of each point in the target area, and determine the outer contour area of ​​the target area according to the outer contour boundary and a preset transition radius;

[0152] An inner contour drawing module 630 is used to determine the inner contour area and the inner contour boundary of the target area according to the outer contour area;

[0153] The deformation module 640 is used to deform the outer contour area and the inner contour area according to a preset amplitude.

[0154] Specifically, the mobile verification module 610 can be used to:

[0155] Take any point A on the moving trajectory for diffusion and calculate the direction vector between the diffusion point P and point A. With trajectory direction The dot product of ; where point B is another point on the moving trajectory;

[0156] According to the relationship between the dot product and 0 and 1, the relative position of the diffusion point P and the trajectory segment AB is determined;

[0157] If the diffusion point P is on the left side of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance between the diffusion point P and point A;

[0158] If the diffusion point P is on the right side of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance between the diffusion point P and point B;

[0159] If the diffusion point P is in the middle of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance from the projection of the diffusion point P to the trajectory segment AB;

[0160] The target area is determined according to all points on the surface of the three-dimensional model whose distances from any trajectory segment of the moving trajectory are less than the area radius.

[0161] Specifically, the outer contour drawing module 620 can be used to:

[0162] Traverse all points in the target area and determine whether the neighboring points of the point are in the target area;

[0163] When a point in the target area has more than one neighboring point that is not in the target area, the point is determined to be the outer contour boundary point of the target area;

[0164] The outer contour boundary of the target area is determined according to all the outer contour boundary points.

[0165] Specifically, the outer contour drawing module 620 can also be used for:

[0166] Start traversing from any outer contour boundary point on the outer contour boundary, cyclically calculate the distance between the outer contour boundary point and all points in the target area, and record the points whose distance is less than the transition radius as outer contour points;

[0167] After traversing all outer contour boundary points, the outer contour area of ​​the target area is determined based on all recorded outer contour points.

[0168] Specifically, the inner contour drawing module 630 can be used to:

[0169] The inner contour area of ​​the target area is obtained by subtracting all points in the outer contour area from all points in the target area;

[0170] Traverse all points in the inner contour area and determine whether the neighboring points of the point are in the outer contour area;

[0171] When a point in the inner contour area has more than one neighboring point in the outer contour area, the point is determined to be the inner contour boundary point of the target area;

[0172] The inner contour boundary of the target area is determined according to all the inner contour boundary points.

[0173] Specifically, the deformation module 640 can be used to:

[0174] For a point in the outer contour area, the deformation coefficient of the point is determined according to the shortest distance between the point and the outer contour boundary and the shortest distance between the point and the inner contour boundary;

[0175] Determine a first deformation value of each point in the outer contour area according to the deformation coefficient and the amplitude;

[0176] Each point in the outer contour area is deformed according to the first deformation value.

[0177] Specifically, the deformation module 640 can also be used for:

[0178] determining a first deformation value for each point in the inner contour area according to the amplitude;

[0179] Deforming each point in the inner contour area according to the first deformation value;

[0180] Get the radius of each point in the inner contour area after deformation;

[0181] For each point in the inner contour area, determine the second deformation value of the point according to the median value of the radius of all neighboring points of the point;

[0182] Each point in the inner contour area is deformed according to the second deformation value.

[0183] Specifically, the movement verification module 610, the outer contour drawing module 620, the inner contour drawing module 630 and the deformation module 640 of the device of the present invention can also be used for:

[0184] When the target area forms a closed loop area, diffusion starts from the highest point and the lowest point among all the points in the target area, respectively, to obtain the first outer contour boundary where the highest point is located, and the second outer contour boundary where the lowest point is located;

[0185] When the first outer contour boundary and the second outer contour boundary are contained, diffusion starts from any point in the closed-loop region, and the outer contour region of the closed-loop region is determined according to all points whose distances to the first outer contour boundary are not greater than the transition radius, and the inner contour region of the closed-loop region is determined according to all points whose distances to the first outer contour boundary are greater than the transition radius;

[0186] According to the amplitude, the outer contour area and the inner contour area of ​​the closed loop area are deformed respectively.

[0187] Specifically, after the target area is deformed, the movement verification module 610, the outer contour drawing module 620, the inner contour drawing module 630 and the deformation module 640 of the device of the present invention can also be used to:

[0188] Expand the target area according to a specified correction trajectory whose starting point is within the target area and whose end point is outside the target area, and re-deform the expanded target area;

[0189] and / or,

[0190] According to a specified correction trajectory with a starting point outside the target area and an end point inside the target area, the target area is extruded and the extruded target area is re-deformed.

[0191] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.

[0192] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present invention. Those of ordinary skill in the art can understand and implement it without paying creative labor.

[0193] The present invention also provides a computer device, which at least includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any of the above embodiments when executing the program.

[0194] Figure 7 A more specific hardware structure diagram of a computing device provided by the present invention is shown, and the device may include: a processor 701, a memory 702, an input / output interface 703, a communication interface 704, and a bus 705. The processor 701, the memory 702, the input / output interface 703, and the communication interface 704 are connected to each other through the bus 705 in the device.

[0195] The processor 701 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., for executing relevant programs to implement the technical solution provided by the present invention. The processor 701 can also include a graphics card, which can be a Nvidia titan X graphics card or a 1080Ti graphics card, etc.

[0196] The memory 702 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 702 may store an operating system and other application programs. When the technical solution provided by the present invention is implemented by software or firmware, the relevant program code is stored in the memory 702 and is called and executed by the processor 701.

[0197] The input / output interface 703 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0198] The communication interface 704 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0199] The bus 705 includes a path to transmit information between various components of the device (eg, the processor 701 , the memory 702 , the input / output interface 703 , and the communication interface 704 ).

[0200] It should be noted that, although the above device only shows the processor 701, the memory 702, the input / output interface 703, the communication interface 704 and the bus 705, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the solution of the present invention, and does not necessarily include all the components shown in the figure.

[0201] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in any of the above embodiments is implemented.

[0202] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0203] It can be known from the above description of the implementation mode that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.

[0204] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0205] Each embodiment of the present invention is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the functions of each module may be implemented in the same or more software and / or hardware when implementing the scheme of the present invention. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the scheme of this embodiment. A person of ordinary skill in the art can understand and implement it without paying creative labor.

[0206] Obviously, the above embodiments of the present invention are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention shall be included in the protection scope of the claims of the present invention.

Claims

1. A method for deforming a three-dimensional model surface, characterized in that: The method comprises: Determine a target area according to a movement trajectory specified on the surface of the three-dimensional model and a preset area radius; Determine an outer contour boundary of the target area according to the relative position relationship of each point in the target area, and determine an outer contour area of ​​the target area according to the outer contour boundary and a preset transition radius; Determine the inner contour area and the inner contour boundary of the target area according to the outer contour area; According to a preset amplitude, the outer contour area and the inner contour area are deformed respectively.

2. The method according to claim 1, characterized in that The determining of the target area according to the movement track specified on the surface of the three-dimensional model and the preset area radius includes: Take any point A on the moving trajectory for diffusion and calculate the direction vector between the diffusion point P and point A. With trajectory direction Wherein, point B is another point on the moving trajectory; Determine the relative position of the diffusion point P and the trajectory segment AB according to the relationship between the dot product and 0 and 1; If the diffusion point P is on the left side of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance between the diffusion point P and point A; If the diffusion point P is on the right side of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance between the diffusion point P and point B; If the diffusion point P is in the middle of the trajectory segment AB, the distance from the diffusion point P to the trajectory segment AB is calculated as the distance from the projection of the diffusion point P to the trajectory segment AB; The target area is determined according to all points on the surface of the three-dimensional model whose distances from any trajectory segment of the moving trajectory are less than the area radius.

3. The method according to claim 1, characterized in that Determining the outer contour boundary of the target area according to the relative position relationship of each point in the target area includes: Traversing all points in the target area, and determining whether the neighboring points of the point are located in the target area; When a point in the target area has more than one neighboring point that is not in the target area, the point is determined to be an outer contour boundary point of the target area; The outer contour boundary of the target area is determined according to all the outer contour boundary points.

4. The method according to claim 1, characterized in that: Determining the outer contour area of ​​the target area according to the outer contour boundary and a preset transition radius includes: Starting from any outer contour boundary point on the outer contour boundary, traversing, cyclically calculating the distance between the outer contour boundary point and all points in the target area, and recording the point whose distance is less than the transition radius as an outer contour point; After traversing all outer contour boundary points, the outer contour area of ​​the target area is determined according to all recorded outer contour points.

5. The method according to claim 1, characterized in that Determining the inner contour area and the inner contour boundary of the target area according to the outer contour area includes: Obtaining an inner contour area of ​​the target area by subtracting all points within the outer contour area from all points within the target area; Traverse all points in the inner contour area to determine whether the neighboring points of the point are located in the outer contour area; When a point in the inner contour area has more than one neighboring point in the outer contour area, the point is determined to be an inner contour boundary point of the target area; The inner contour boundary of the target area is determined according to all the inner contour boundary points.

6. The method according to claim 1, characterized in that The deforming the outer contour area and the inner contour area respectively according to the preset amplitude includes: For a point in the outer contour area, determining a deformation coefficient of the point according to the shortest distance between the point and the outer contour boundary and the shortest distance between the point and the inner contour boundary; Determining a first deformation value of each point in the outer contour area according to the deformation coefficient and the amplitude; Each point in the outer contour area is deformed according to the first deformation value.

7. The method according to claim 1, characterized in that The deforming the outer contour area and the inner contour area respectively according to the preset amplitude includes: determining a first deformation value of each point in the inner contour area according to the amplitude; Deforming each point in the inner contour area according to the first deformation value; Obtaining the radius of each point in the inner contour area after deformation; For each point in the inner contour area, determining a second deformation value of the point according to the median value of the radius of all neighboring points of the point; Each point in the inner contour area is deformed according to the second deformation value.

8. The method according to claim 1, characterized in that The method further comprises: When the target area forms a closed loop area, diffusion starts from the highest point and the lowest point among all points in the target area, respectively, to obtain a first outer contour boundary where the highest point is located, and a second outer contour boundary where the lowest point is located; When the first outer contour boundary and the second outer contour boundary are included in each other, diffusion starts from any point in the closed-loop region, and the outer contour region of the closed-loop region is determined according to all points whose distances from the first outer contour boundary are not greater than the transition radius, and the inner contour region of the closed-loop region is determined according to all points whose distances from the first outer contour boundary are greater than the transition radius; According to the amplitude, the outer contour area and the inner contour area of ​​the closed-loop area are deformed respectively.

9. The method according to claim 1, characterized in that: After the target area is deformed, the method further includes: Expanding the target area according to a specified correction trajectory with a starting point within the target area and an end point outside the target area, and re-deforming the expanded target area; and / or, According to a specified correction trajectory with a starting point outside the target area and an end point inside the target area, the target area is extruded, and the extruded target area is deformed again.

10. A three-dimensional model surface deformation device, characterized in that: The device comprises: A moving detection module, used for determining a target area according to a moving track specified on the surface of the three-dimensional model and a preset area radius; An outer contour drawing module, used to determine the outer contour boundary of the target area according to the relative position relationship of each point in the target area, and determine the outer contour area of ​​the target area according to the outer contour boundary and a preset transition radius; An inner contour drawing module, used to determine the inner contour area and the inner contour boundary of the target area according to the outer contour area; The deformation module is used to deform the outer contour area and the inner contour area respectively according to a preset amplitude.

Citation Information

Patent Citations

  • Three-dimensional model local grid adjustment algorithm

    CN112509143A

  • Construction method, device and equipment of three-dimensional visceral organ model and medium

    CN115457205A

  • Modeling method and device, electronic equipment and storage medium

    CN116188693A

  • Three-dimensional model processing method and device

    CN117593495A

  • Method and / or system for reconstructing from images a personalized 3D human body model and thereof

    US20200126295A1