Three-dimensional modeling and three-dimensional printing method, device, electronic equipment and storage medium

By performing initial and further smoothing processing on the contour point set of the medical model, the problems of uneven and folded model edges were solved, achieving a more efficient modeling effect.

CN116051753BActive Publication Date: 2025-11-21北京瑞医博科技有限公司 +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310180982.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2025-11-21
Estimated Expiration
2043-02-16

AI Technical Summary

Technical Problem

In the process of modeling medical models, the initial model is prone to noise under conditions such as insufficient lighting, resulting in uneven edges and contours. Conventional smoothing processes cause mesh edges to fold, affecting the modeling effect.

Method used

By performing initial smoothing on the contour point set of the 3D meshed medical model, determining the neighborhood point set, and further smoothing based on the neighborhood point set, methods such as Laplacian smoothing are used to improve the smoothness of the model edges and its resistance to folding.

Benefits of technology

This effectively prevents edge folding in medical models, improves the robustness and smoothness of modeling, and enhances the model's resistance to distortion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116051753B_ABST
    Figure CN116051753B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a three-dimensional modeling and three-dimensional printing method, device, electronic equipment and storage medium. The three-dimensional modeling method comprises: based on each contour point in a contour point set of a three-dimensional gridded medical model, performing initial smoothing processing on the contour point set itself to obtain an initial smoothed contour point set. A neighborhood point set of the initial smoothed contour point set is determined. Based on the neighborhood point set, further smoothing processing is performed on the initial smoothed contour point set. A modeling operation of the medical model is performed on the further smoothed contour point set. The three-dimensional modeling method of the embodiments of the present application avoids the situation that the edge of the medical model appears to be folded, and improves the robustness of modeling for the medical model.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of computer technology, and particularly relate to a three-dimensional modeling and three-dimensional printing method and device, electronic equipment and storage medium. BACKGROUND

[0002] In the modeling process of a medical model, a medical entity needs to be three-dimensionally scanned. In the case of insufficient light and the like, the initial medical model obtained by scanning is likely to have noise points, resulting in a locally irregular jagged non-smooth line on the edge and contour line of the initial medical model, which interferes with the correct description of the model morphological characteristics.

[0003] Generally, the conventional smoothing processing mode can cause the edges of the medical model to be folded, resulting in poor subsequent processing effect in the modeling process. For example, the stretching processing after the smoothing processing can cause unreasonable distortion of the grid distribution. SUMMARY

[0004] Therefore, embodiments of the present application provide a three-dimensional modeling and three-dimensional printing method and device, electronic equipment and storage medium to at least solve the above problems.

[0005] According to a first aspect of the present application, a three-dimensional modeling method is provided, including performing initial smoothing processing on a contour point set based on each contour point in the contour point set of a three-dimensional gridded medical model, to obtain an initial smoothed contour point set. Determining a neighborhood point set of the initial smoothed contour point set. Performing further smoothing processing on the initial smoothed contour point set based on the neighborhood point set. Performing a modeling operation of the medical model on the further smoothed contour point set.

[0006] In another implementation manner of the present application, performing initial smoothing processing on the contour point set based on each contour point in the contour point set of the three-dimensional gridded medical model includes determining the adjacent positional relationship of each contour point in the contour point set of the medical model. Performing initial smoothing processing on the contour point set based on the adjacent positional relationship between each contour point.

[0007] In another implementation manner of the present application, performing initial smoothing processing on the contour point set based on the adjacent positional relationship between each contour point includes determining the three-dimensional coordinate position of each contour point. The three-dimensional coordinate positions of the contour points having the adjacent positional relationship are weighted and averaged to obtain the three-dimensional coordinate position of the initial smoothed contour point.

[0008] In another implementation manner of the present application, determining the neighborhood point set of the initial smoothed contour point set includes determining each grid point having a first edge number threshold range from each contour point in the initial smoothed contour point set as a first neighborhood point set of the contour point.

[0009] In another implementation form of the present application, the further smoothing of the initial smoothed contour point set based on the neighborhood point set comprises Laplace smoothing of each contour point in the initial smoothed contour point set based on the first neighborhood point set of the contour point.

[0010] In another implementation form of the present application, the further smoothing of the initial smoothed contour point set based on the neighborhood point set further comprises determining each grid point having a second edge number threshold range of each contour point in the initial smoothed contour point set as a second neighborhood point set of the contour point, the second edge number threshold range being larger than the first edge number threshold range. The re-smoothing of each contour point in the initial smoothed contour point set is performed based on the second neighborhood point set of the contour point.

[0011] In another implementation form of the present application, the Laplace smoothing of each contour point based on the first neighborhood point set of the contour point comprises determining three-dimensional coordinate positions of the contour point and each neighborhood point of the first neighborhood point set. The three-dimensional coordinate position of the contour point is obtained by weighted average of the three-dimensional coordinate positions of the contour point and each neighborhood point.

[0012] In another implementation form of the present application, the three-dimensional modeling method further comprises Laplace smoothing of the first neighborhood point set and the second neighborhood point set based on each neighborhood point in the first neighborhood point set and the second neighborhood point set.

[0013] According to a second aspect of embodiments of the present application, a three-dimensional printing method is provided, comprising obtaining a medical model, the medical model being modeled by the method according to any one of the first aspect. Performing a printing operation on the medical model.

[0014] According to a third aspect of embodiments of the present application, a three-dimensional modeling device is provided, comprising a first modeling module, performing initial smoothing of a contour point set of a three-dimensional gridded medical model based on each contour point in the contour point set, to obtain an initial smoothed contour point set. A second modeling module, determining a neighborhood point set of the initial smoothed contour point set. A third modeling module, performing further smoothing of the initial smoothed contour point set based on the neighborhood point set. A fourth modeling module, performing a modeling operation of the medical model based on the further smoothed contour point set.

[0015] According to a fourth aspect of embodiments of the present application, a three-dimensional printing device is provided, comprising an obtaining module, obtaining a medical model, the medical model being modeled by the method according to any one of the first aspect. A printing module, performing a printing operation on the medical model.

[0016] According to a fifth aspect of the embodiments of the present application, an electronic device is provided, comprising a processor and a memory storing a program. The program comprises instructions which, when executed by the processor, cause the processor to perform the method according to the first aspect and the second aspect.

[0017] According to a sixth aspect of the embodiments of the present application, a computer storage medium is provided, having stored thereon a computer program which, when executed by a processor, implements the method according to the first aspect and the second aspect.

[0018] In the scheme of the embodiments of the present application, a three-dimensional modeling method and a three-dimensional printing method, device, electronic device and storage medium are provided. The three-dimensional modeling method performs initial smoothing processing on the contour point set itself, and further smoothing processing on the initial smoothed contour point set based on the neighborhood point set, thereby avoiding the situation that the edge of the medical model is folded, and improving the robustness of modeling for the medical model. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments described in the embodiments of the present application, and other drawings can also be obtained by those skilled in the art based on these drawings.

[0020] Figure 1A A step flow chart of the three-dimensional modeling method of the embodiments of the present application;

[0021] Figure 1B A schematic diagram of an untreated medical model of the embodiments of the present application;

[0022] Figure 1C A schematic diagram of an initial smoothing processed medical model of another embodiment of the present application;

[0023] Figure 1D A schematic diagram of a further smoothing processed medical model of another embodiment of the present application;

[0024] Figure 2 A step flow chart of the three-dimensional printing method of another embodiment of the present application;

[0025] Figure 3 A structure block diagram of a three-dimensional modeling device corresponding to the embodiments; Figure 1A

[0026] A structure block diagram of a three-dimensional modeling device corresponding to the embodiments; Figure 4 Figure 2 A structure block diagram of a three-dimensional printing device corresponding to the embodiments;

[0027] Figure 5 ​A structural schematic diagram of an electronic device according to another embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to make the technical features, objectives and effects of the embodiments of the present application more clearly understood, the specific implementation of the embodiments of the present application will be described with reference to the drawings.

[0029] In this document, "illustrative" means "serving as an example, instance, or illustration." Any implementation described herein as "illustrative" is not necessarily to be construed as preferred or advantageous over other implementations.

[0030] For the sake of brevity, the drawings of the various aspects will not be described in detail herein. Rather, only the features pertinent to understanding the present application will be discussed. In addition, for the sake of brevity, like reference numerals will be used throughout the drawings and detailed description to refer to like elements.

[0031] In order for those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art should belong to the scope of protection of the present application.

[0032] The specific implementation of the embodiments of the present application will be further described below with reference to the drawings of the embodiments of the present application.

[0033] According to a first aspect of the embodiments of the present application, a three-dimensional modeling method is provided. Referring to Figure 1A A step flowchart of the three-dimensional modeling method according to the embodiments of the present application is described, including:

[0034] In step S110, based on each contour point in the contour point set of the three-dimensional gridded medical model, the contour point set itself is initially smoothed to obtain an initially smoothed contour point set.

[0035] It should be understood that the three-dimensional gridded medical model is a non-closed model, and therefore, the scheme of the present application is applicable to any non-closed model.

[0036] It should also be understood that the contour point set is composed of each point at the edge grid of the three-dimensional gridded medical model.

[0037] Illustratively, referring to Figure 1B For the sake of description of the schematic diagram of the untreated three-dimensional gridded medical model, referring to Figure 1CA medical model schematic diagram for describing the initial smoothing processing is shown. The initial smoothing processing is performed on the contour point set itself to obtain an initial smoothing contour point set, and the smoothness of the edge of the medical model is improved.

[0038] In step S120, a neighborhood point set of the initial smoothing contour point set is determined.

[0039] It should be understood that the neighborhood point set of the initial smoothing contour point set can be set according to actual conditions.

[0040] In step S130, the initial smoothing contour point set is further smoothed based on the neighborhood point set.

[0041] It should be understood that the medical model established based on the initial smoothing contour point set has a preliminary anti-fold capability. If the anti-fold capability of the medical model is to be further improved, the initial smoothing contour point set needs to be further smoothed.

[0042] Exemplarily, referring to Figure 1D A medical model schematic diagram for describing the further smoothing processing is shown. The edge of the medical model obtained by further smoothing the initial smoothing contour point set has a high smoothness and a strong anti-fold capability, thereby improving the robustness of the modeling of the medical model.

[0043] In step S140, the modeling operation of the medical model is performed on the further smoothing contour point set.

[0044] In summary, in the three-dimensional modeling method of the embodiment of the present application, the initial smoothing processing is performed on the contour point set itself, and the initial smoothing contour point set is further smoothed based on the neighborhood point set, so that the edge of the medical model is prevented from being folded, and the robustness of the modeling of the medical model is improved.

[0045] In another implementation manner of the present application, the initial smoothing processing performed on the contour point set itself based on each contour point in the contour point set of the three-dimensional meshed medical model includes determining the adjacent position relationship of each contour point in the contour point set of the medical model. The initial smoothing processing is performed on the contour point set based on the adjacent position relationship between the contour points.

[0046] In another implementation manner of the present application, the initial smoothing processing performed on the contour point set based on the adjacent position relationship between the contour points includes determining the three-dimensional coordinate position of each contour point. The three-dimensional coordinate positions of the contour points having the adjacent position relationship are weighted and averaged to obtain the three-dimensional coordinate position of the initial smoothing contour point.

[0047] For example, as shown in the formula: new P=(p1+p2) / 2, the three-dimensional coordinate position p1 of the previous contour point adjacent to a certain contour point and the three-dimensional coordinate position p2 of the next contour point are determined, and weighted average is performed to obtain the three-dimensional coordinate position new P of the initial smoothed contour point.

[0048] As another example, as shown in the formula: new P=(p1+p2+p3) / 3, the three-dimensional coordinate position p1 of the previous contour point adjacent to a certain contour point p2 and the three-dimensional coordinate position p3 of the next contour point are determined, and weighted average is performed to obtain the three-dimensional coordinate position new P of the initial smoothed contour point.

[0049] By performing initial smoothing processing on the contour point set itself, the smoothing degree of the edge of the medical model is improved.

[0050] In another implementation mode of the present application, determining the neighborhood point set of the initial smoothed contour point set comprises determining, as the first neighborhood point set of each contour point in the initial smoothed contour point set, each grid point having a first edge number threshold range with the contour point.

[0051] It should be understood that the first edge number threshold range can be freely set according to actual conditions, and each grid point having the first edge number threshold range with each contour point in the initial smoothed contour point set must be in the grid plane.

[0052] By determining the first neighborhood point set from each grid point having the first edge number threshold range with each contour point in the initial smoothed contour point set, the subsequent smoothing processing of the contour point based on the first neighborhood point set is performed to improve the smoothing degree of the edge of the medical model, and further improve the robustness of modeling for the medical model.

[0053] In another implementation mode of the present application, the further smoothing processing of the initial smoothed contour point set based on the neighborhood point set comprises performing Laplace smoothing on each contour point based on the first neighborhood point set of the contour point.

[0054] For example, an optional contour point is determined from the initial smoothed contour point set as the contour point p, the first neighborhood point set {p1, p2, p3, p4, p5} of p is determined, and Laplace smoothing is performed on the contour point: new P=(p1+p2+p3+p4+p5+p) / 6. The determined new P replaces the contour point p, and thus one Laplace smoothing is completed. Another optional contour point is selected from the remaining contour points in the initial smoothed contour point set and its first neighborhood point set is determined, and Laplace smoothing is performed thereon. The foregoing operation is repeated until all contour points in the initial smoothed contour point set are subjected to Laplace smoothing.

[0055] The further smoothing processing based on the neighborhood point set on the initial smoothed contour point set avoids the edge folding of the medical model, and improves the robustness of the medical model.

[0056] In another implementation of the present application, the further smoothing processing based on the neighborhood point set on the initial smoothed contour point set further comprises determining each grid point having a second edge number threshold range from each contour point in the initial smoothed contour point set as a second neighborhood point set of the contour point, and the second edge number threshold range is larger than the first edge number threshold range.

[0057] It should be understood that the second edge number threshold range is larger than the first edge number threshold range, and each grid point having the second edge number threshold range as the second neighborhood point set of the contour point can be selected from other parts except the first neighborhood point set.

[0058] It should be further understood that the method used for performing the re-smoothing is other weighted average method except Laplace smoothing, and the actual use can be determined according to the specific situation, which is not limited herein.

[0059] In another implementation of the present application, the Laplace smoothing based on the first neighborhood point set of each contour point comprises determining the three-dimensional coordinate position of each contour point and each neighborhood point of the first neighborhood point set.

[0060] In another implementation of the present application, the three-dimensional modeling method further comprises performing Laplace smoothing on the first neighborhood point set and the second neighborhood point set based on each neighborhood point in the first neighborhood point set and the second neighborhood point set.

[0061] In another implementation of the present application, the Laplace smoothing based on each neighborhood point in the first neighborhood point set and the second neighborhood point set comprises determining each grid point having a first edge number threshold range from each neighborhood point in the first neighborhood point set and the second neighborhood point set as a sub-neighborhood point set of the neighborhood point; and performing Laplace smoothing on each neighborhood point in the first neighborhood point set and the second neighborhood point set based on the sub-neighborhood point set.

[0062] It should be understood that each grid point having the first edge number threshold range from each neighborhood point in the first neighborhood point set and the second neighborhood point set must be in the grid plane.

[0063] It should also be understood that the Laplacian smoothing is performed on the first neighborhood point set and the second neighborhood point set themselves, i.e. on each neighborhood point in the first neighborhood point set and the second neighborhood point set, and the principle of the Laplacian smoothing is consistent with the principle of the Laplacian smoothing on each contour point in the contour point set.

[0064] Exemplarily, a neighborhood point q is determined from the first neighborhood point set or from the second neighborhood point set, a sub-neighborhood point set {q1, q2, q3, q4} of the neighborhood point q is determined, and the Laplacian smoothing is performed on the neighborhood point q: new q = (q1+q2+q3+q4+q) / 5. The point q is replaced by the determined new q to update the three-dimensional coordinate position of the neighborhood point. The above operation is performed on each neighborhood point in the first neighborhood point set and the second neighborhood point set until the Laplacian smoothing is completed on each neighborhood point in the first neighborhood point set and the second neighborhood point set.

[0065] By performing the Laplacian smoothing on each neighborhood point in the first neighborhood point set and the second neighborhood point set, the smoothness of the edge of the medical model is further improved, the situation that the edge of the medical model is folded is avoided, and the robustness of the modeling of the medical model is improved.

[0066] Reference Figure 2 A step flowchart of a three-dimensional printing method according to another embodiment of the present application is described.

[0067] Comprise:

[0068] In step S210, a medical model is obtained, which is modeled by the method according to any one of the above first aspect.

[0069] In step S220, a printing operation is performed on the medical model.

[0070] Reference Figure 3 A three-dimensional modeling device 300 according to another embodiment of the present application is described, which comprises:

[0071] A first modeling module 310 performs an initial smoothing process on the contour point set itself based on each contour point in the contour point set of the three-dimensional gridded medical model, to obtain an initial smoothed contour point set.

[0072] A second modeling module 320 determines a neighborhood point set of the initial smoothed contour point set.

[0073] A third modeling module 330 performs a further smoothing process on the initial smoothed contour point set based on the neighborhood point set.

[0074] A fourth modeling module 340 performs a modeling operation of the medical model on the further smoothed contour point set.

[0075] The three-dimensional modeling device 300 of the embodiment of the present application avoids the situation that the edge of the medical model is folded by performing initial smoothing on the contour point set itself and further smoothing on the initial smoothed contour point set based on the neighborhood point set, and improves the robustness of modeling the medical model.

[0076] The first modeling module 310 is further configured to determine the adjacent position relationship of each contour point in the contour point set of the medical model. The initial smoothing is performed on the contour point set itself based on the adjacent position relationship between the contour points.

[0077] The first modeling module 310 is further configured to determine the three-dimensional coordinate position of each contour point. The three-dimensional coordinate positions of the contour points having the adjacent position relationship are weighted and averaged to obtain the three-dimensional coordinate position of the initial smoothed contour point.

[0078] The second modeling module 320 is further configured to determine each grid point having a first edge number threshold range with each contour point in the initial smoothed contour point set as the first neighborhood point set of the contour point.

[0079] The third modeling module 330 is further configured to perform Laplace smoothing on each contour point based on the first neighborhood point set of the contour point.

[0080] The third modeling module 330 is further configured to determine the three-dimensional coordinate position of each neighborhood point of each contour point and the first neighborhood point set of the contour point. The three-dimensional coordinate position of the contour point and the three-dimensional coordinate positions of the neighborhood points are weighted and averaged to obtain the three-dimensional coordinate position of the Laplace smoothed contour point.

[0081] The third modeling module 330 is further configured to determine each grid point having a second edge number threshold range with each contour point in the initial smoothed contour point set as the second neighborhood point set of the contour point, the second edge number threshold range being greater than the first edge number threshold range. The Laplace smoothing is further performed on each Laplace smoothed contour point based on the second neighborhood point set of the contour point.

[0082] The third modeling module 330 is further configured to perform Laplace smoothing on the first neighborhood point set and the second neighborhood point set based on each neighborhood point in the first neighborhood point set and the second neighborhood point set.

[0083] The three-dimensional modeling device 300 of the embodiment of the present application is used to implement the corresponding method in the plurality of method embodiments of the first aspect, and has the beneficial effects of the corresponding method embodiments.

[0084] Reference Figure 4 A three-dimensional printing device 400 according to another embodiment of the present application is described, which comprises:

[0085] The acquisition module 410 acquires the medical model, and the medical model is modeled by the method of any one of the first aspect.

[0086] The printing module 420 performs a printing operation on the medical model.

[0087] The three-dimensional printing device 400 of the embodiment is used to implement the corresponding method in the foregoing method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be described here. In addition, the functions of each module in the device of the embodiment can be implemented by referring to the description of the corresponding part in the foregoing method embodiments, which will not be described here.

[0088] According to a fifth aspect of the embodiments of the present application, an electronic device is provided, referring to Figure 5 A structural block diagram of an electronic device 500 that can be a server or a client of the present application will now be described, which is an example of a hardware device that can be applied to each aspect of the present application. The electronic device is intended to represent various forms of digital electronic computer devices, such as a laptop computer, a desktop computer, a workstation, a user digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as a user digital processing, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown in this figure, their connections, and their functions, are merely examples and are not intended to limit implementations of the present application described and / or claimed herein.

[0089] The electronic device 500 can include a processor 502, a communications interface 504, a memory 506, and a communications bus 508.

[0090] The processor 502, the communications interface 504, and the memory 506 complete mutual communication through the communications bus 508. The communications interface 504 is used to communicate with other electronic devices or servers.

[0091] The processor 502 is configured to execute the program 510, and specifically can execute the related steps in the method embodiments described above.

[0092] Specifically, the program 510 can include program code, and the program code includes computer operation instructions.

[0093] The processor 502 can be a processor CPU, or an application specific integrated circuit ASIC, or one or more integrated circuits configured to implement embodiments of the present application. The one or more processors of the smart device can be of the same type, such as one or more CPUs; or can be of different types, such as one or more CPUs and one or more ASICs.

[0094] The memory 506 is configured to store a program 510. The memory 506 can include a high-speed RAM memory, and can further include a non-volatile memory, such as at least one disk memory.

[0095] The program 510 can be specifically configured to cause the processor 502 to perform the steps performed by the method described in any of the embodiments.

[0096] In addition, the specific implementation of each step in the program 510 can refer to the corresponding description in the corresponding steps and units in the above method embodiments, which will not be described here. It can be clearly understood by those skilled in the art that, for the convenience and brevity of description, the specific working process of the above-described device and module can refer to the corresponding process description in the above method embodiments, which will not be described here.

[0097] It should be noted that, according to the needs of implementation, each component / step described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or part of the operations of the components / steps can be combined into a new component / step, to achieve the purpose of the embodiments of the present application.

[0098] According to a sixth aspect of the embodiments of the present application, a computer storage medium is provided, which stores a computer program, and the program is executed by a processor to implement the method according to the first aspect and the second aspect. The corresponding process description in the above method embodiments can be referred to, which will not be described here.

[0099] The above-described methods according to embodiments of the application can be implemented in hardware, firmware, or software, or any combination thereof, and can be implemented as software storable on a recording medium which is readable from a general use computer, a processor, or a programmable or hardware (such as ASIC, or FPGA) using a recording medium, and can be processed by such software. It is understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component (for example, RAM, ROM, flash memory, etc.) which can store or receive software or computer code, when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the above-described methods are implemented. Furthermore, when a general use computer accesses the code for implementing the above-described methods, the execution of the code converts the general use computer into a special purpose computer for executing the above-described methods.

[0100] Thus far, specific embodiments of the application have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired results. Additionally, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve the desired results. In certain implementations, multitasking and parallel processing can be advantageous.

[0101] It should be noted that all directional directions (such as up, down, left, right, back, etc.) in the embodiments of the present application are only used to explain the relative position relationship, motion condition, etc. between components in a certain specific posture (as shown in the drawings), if the specific posture changes, the directional directions also change accordingly.

[0102] In the description of the present application, the terms "first", "second" are only used for the convenience of describing different components or names, and cannot be understood as indicating or implying the order relationship, relative importance, or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can be explicitly or implicitly included at least one of the features.

[0103] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0104] It should be understood that although the present specification is described in terms of various embodiments, not every embodiment contains only one independent technical solution, and the present specification is described in this way only for the sake of clarity, and those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that those skilled in the art can understand.

[0105] The examples of the embodiments of the present application are intended to simply illustrate the technical features of the embodiments of the present application, so that those skilled in the art can directly understand the technical features of the embodiments of the present application, and are not improper limitations of the embodiments of the present application.

[0106] Finally, it should be noted that: the above implementation manners are only used to illustrate the embodiments of the present application, and not to limit the embodiments of the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application, therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application, and the patent protection scope of the embodiments of the present application should be defined by the claims.

Claims

1. A three-dimensional modeling method, characterized in that, include: Based on the contour points in the contour point set of the three-dimensional meshed medical model, the contour point set itself is initially smoothed to obtain an initially smoothed contour point set. Determine the neighborhood point set of the initial smoothed contour point set; Based on the neighborhood point set, the initially smoothed contour point set is further smoothed; The modeling operation of the medical model is performed on the further smoothed set of contour points; The step of determining the neighborhood point set of the initial smoothed contour point set includes: determining each grid point that has a first side number threshold range with each contour point in the initial smoothed contour point set, as the first neighborhood point set of that contour point; The further smoothing process of the initially smoothed contour point set based on the neighborhood point set includes: performing Laplacian smoothing on the contour point based on the first neighborhood point set of each contour point. The Laplacian smoothing of the contour point based on the first neighborhood point set of each contour point includes: Determine the three-dimensional coordinates of each contour point and each neighboring point in its first neighborhood set; The three-dimensional coordinates of the contour point are obtained by weighted averaging the three-dimensional coordinates of the contour point and the three-dimensional coordinates of each neighboring point, and then smoothed by Laplacian.

2. The method according to claim 1, characterized in that, The contour points in the contour point set of the medical model based on three-dimensional meshing are subjected to initial smoothing processing, including: determining the adjacent positional relationship of each contour point in the contour point set of the medical model. Based on the adjacent positional relationships between the contour points, the contour point set itself is subjected to initial smoothing processing.

3. The method according to claim 2, characterized in that, The initial smoothing process for the contour point set itself based on the adjacent positional relationship between the contour points includes: determining the three-dimensional coordinate position of each contour point; The three-dimensional coordinates of the contour points with adjacent positions are weighted and averaged to obtain the three-dimensional coordinates of the initially smooth contour points.

4. The method according to claim 1, characterized in that, The further smoothing process of the initially smoothed contour point set based on the neighborhood point set also includes: determining each grid point that has a second side number threshold range with each contour point in the initially smoothed contour point set, as the second neighborhood point set of the contour point, wherein the second side number threshold range is greater than the first side number threshold range. Based on the second neighborhood point set of each contour point, a second smoothing is performed on each contour point in the initially smoothed contour point set.

5. The method according to claim 4, characterized in that, The method further includes: performing Laplace smoothing on the first neighborhood point set and the second neighborhood point set based on each neighborhood point in the first neighborhood point set and the second neighborhood point set.

6. A three-dimensional printing method, characterized in that, include: A medical model is obtained, wherein the medical model is modeled using the method described in any one of claims 1 to 5; Perform the printing operation on the medical model.

7. A three-dimensional modeling device, characterized in that, include: The first modeling module performs initial smoothing processing on each contour point in the contour point set of the three-dimensional meshed medical model to obtain an initially smoothed contour point set. The second modeling module determines the neighborhood point set of the initial smoothed contour point set; The third modeling module further smooths the initially smoothed contour point set based on the neighborhood point set. The fourth modeling module performs the modeling operation of the medical model on the further smoothed contour point set; The step of determining the neighborhood point set of the initial smoothed contour point set includes: determining each grid point that has a first side number threshold range with each contour point in the initial smoothed contour point set, as the first neighborhood point set of that contour point; The further smoothing process of the initially smoothed contour point set based on the neighborhood point set includes: performing Laplacian smoothing on the contour point based on the first neighborhood point set of each contour point. The Laplacian smoothing of the contour point based on the first neighborhood point set of each contour point includes: Determine the three-dimensional coordinates of each contour point and each neighboring point in its first neighborhood set; The three-dimensional coordinates of the contour point are obtained by weighted averaging the three-dimensional coordinates of the contour point and the three-dimensional coordinates of each neighboring point, and then smoothed by Laplacian.

8. A three-dimensional printing apparatus, characterized in that, include: The module acquires a medical model, wherein the medical model is obtained by modeling using the method described in any one of claims 1 to 5; The printing module performs the printing operation on the medical model.

9. An electronic device, characterized in that, include: processor; Memory for stored programs; The program includes instructions that, when executed by the processor, cause the processor to perform the steps of the three-dimensional modeling method according to any one of claims 1 to 5 or the three-dimensional printing method according to claim 6.

10. A computer storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the steps performed by the three-dimensional modeling method as described in any one of claims 1 to 5 or the three-dimensional printing method as described in claim 6.

Citation Information

Patent Citations

  • Determining contours of a vessel using an active contouring model

    US20130064435A1