Three-dimensional model topology optimization method and device and storage medium

By acquiring the basic morphological characteristics of the three-dimensional model, segmenting and generating the primary topological model, the problems of appearance deformation and detail loss in the prior art are solved, and the effect of efficiently reducing the number of polygons and retaining model details is achieved.

CN119027611APending Publication Date: 2024-11-26山东浪潮智能生产技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411085978.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The existing three-dimensional model optimization technology causes the model to be too deformed and the details are severe, which cannot effectively reduce the number of polygons in the model, affecting the rendering efficiency.

Method used

By obtaining the basic morphological characteristics of the three-dimensional model, segmenting and generating the basic model structure, generating the primary topological model, and aligning the three-dimensional model and the primary topological model, using convolutional neural network to automatically distinguish and segment, ensuring the accuracy of segmentation and the retention of model details. .

Benefits of technology

Significantly reduce manual intervention, efficiently reduce the number of polygons in the model, while ensuring that the key details of the model are accurately preserved and improving rendering efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027611A_ABST
    Figure CN119027611A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of three-dimensional models, and relates to a three-dimensional model topology optimization method and device and a storage medium, and the method comprises the steps: obtaining a three-dimensional model; generating a basic model structure according to the three-dimensional model; generating a primary topological model according to the basic model structure; and aligning the three-dimensional model and the primary topological model. According to the three-dimensional model topology optimization method and device and the storage medium, the degree of manual intervention can be remarkably reduced, the number of polygons of the model is efficiently reduced, and meanwhile it is ensured that key details of the model are accurately reserved.
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 three-dimensional model topology optimization method, device and storage medium. Background Art

[0002] Currently, with the growing demand for high-quality 3D content in virtual reality applications, the sophistication and complexity of 3D models are increasing. However, high-density model topology structures not only occupy a large amount of memory resources, but also seriously affect rendering efficiency.

[0003] In the existing technology, model optimization mainly relies on complex manual operations or simple algorithm automation to reduce the number of faces, which often leads to excessive deformation of the model shape and serious loss of details after topology and filling, so improvement is needed. Summary of the invention

[0004] In view of this, the present invention provides a three-dimensional model topology optimization method, device and storage medium.

[0005] Specifically, the present invention is achieved through the following technical solutions:

[0006] According to a first aspect of the present invention, a three-dimensional model topology optimization method is provided, the method comprising the steps of:

[0007] Obtaining a three-dimensional model;

[0008] generating a basic model structure according to the three-dimensional model;

[0009] Generate a primary topology model according to the basic model structure;

[0010] The three-dimensional model and the preliminary topological model are aligned.

[0011] Optionally, the obtaining of the three-dimensional model comprises the steps of:

[0012] Identifying basic morphological features of the surface of the three-dimensional model;

[0013] The basic morphological features are extracted.

[0014] Optionally, generating a basic model structure according to the three-dimensional model comprises the steps of:

[0015] Acquiring basic morphological features of the surface of the three-dimensional model;

[0016] The basic morphological features are segmented and a number of basic model structures are obtained.

[0017] Optionally, the step of generating a basic model structure according to the three-dimensional model further comprises the following steps:

[0018] Previewing the basic model structure;

[0019] Determining whether the basic model structure is segmented accurately;

[0020] If yes, save the basic model structure;

[0021] If not, the basic model structure is adjusted.

[0022] Optionally, the determining whether the basic model structure is segmented accurately comprises the steps of:

[0023] evaluating a segmentation accuracy score of the base model structure;

[0024] Determining whether the segmentation accuracy score exceeds a threshold;

[0025] If yes, determining that the basic model structure segmentation is accurate;

[0026] If not, it is determined that the basic model structure segmentation is inaccurate.

[0027] Optionally, generating a primary topology model according to the basic model structure comprises the following steps:

[0028] Acquiring basic morphological features of the surface of the three-dimensional model;

[0029] Obtaining all basic model structures after segmentation of the basic morphological features;

[0030] Obtaining the relative positions of all the basic model structures in the basic morphological features;

[0031] All the basic model structures are fused according to the relative positions to obtain a primary topological model.

[0032] Optionally, the aligning the three-dimensional model and the primary topological model comprises the steps of:

[0033] Acquire a first part of the three-dimensional model;

[0034] Acquire a second part corresponding to the first part on the primary topological model;

[0035] The first portion and the second portion are aligned.

[0036] According to a second aspect of the present invention, there is provided a three-dimensional model topology optimization device, comprising:

[0037] A model acquisition module, used for acquiring a three-dimensional model;

[0038] A structure generation module, used for generating a basic model structure according to the three-dimensional model;

[0039] A model generation module, used to generate a primary topology model according to the basic model structure;

[0040] A model alignment module is used to align the three-dimensional model and the primary topology model.

[0041] According to a third aspect of the present invention, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the aforementioned methods when executing the program.

[0042] According to a fourth aspect of the present invention, there is provided a storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of any one of the aforementioned methods.

[0043] The technical solution provided by the present invention brings at least the following beneficial effects:

[0044] The three-dimensional model topology optimization method, device and storage medium provided in the present application can significantly reduce the degree of manual intervention, effectively reduce the number of polygons of the model, and ensure that the key details of the model are accurately preserved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0047] Figure 1 A schematic diagram of a process flow of a three-dimensional model topology optimization method provided by an embodiment of the present invention;

[0048] Figure 2 A schematic diagram of the structure of a three-dimensional model topology optimization device provided by an embodiment of the present invention;

[0049] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;

[0050] Figure 4 A schematic diagram of the structure of a storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] Figure 1 A schematic flow chart of a three-dimensional model topology optimization method applicable to an embodiment of the present invention is shown schematically.

[0053] See also Figure 1 The embodiment of the present invention provides a three-dimensional model topology optimization method, which can be applied to electronic devices, such as PCs, servers, terminals, etc. The method may include the following steps:

[0054] S1: Obtain a three-dimensional model;

[0055] Exemplarily, the step of obtaining a three-dimensional model includes the following steps:

[0056] Identifying basic morphological features of the surface of the three-dimensional model;

[0057] The basic morphological features are extracted.

[0058] In an embodiment of the present application, a convolutional neural network is used to automatically identify and extract basic morphological features of the surface of a three-dimensional model to achieve highly automated feature recognition.

[0059] S2: generating a basic model structure according to the three-dimensional model;

[0060] Exemplarily, generating a basic model structure according to the three-dimensional model comprises the steps of:

[0061] Acquiring basic morphological features of the surface of the three-dimensional model;

[0062] The basic morphological features are segmented and a number of basic model structures are obtained.

[0063] In an embodiment of the present application, the identified basic morphological features of the three-dimensional model surface are finely segmented into a plurality of independent and clear basic model structures.

[0064] Exemplarily, the step of generating a basic model structure according to the three-dimensional model further comprises the following steps:

[0065] Previewing the basic model structure;

[0066] Determining whether the basic model structure is segmented accurately;

[0067] If yes, save the basic model structure;

[0068] If not, the basic model structure is adjusted.

[0069] In an embodiment of the present application, by previewing the basic model structure, it is evaluated whether the basic model structure is segmented accurately; if the accuracy requirement is met, the basic model structure is saved; if the accuracy requirement is not met, the basic model structure is adjusted to ensure that the basic structure model is accurate.

[0070] Exemplarily, the determining whether the basic model structure is segmented accurately comprises the steps of:

[0071] evaluating a segmentation accuracy score of the base model structure;

[0072] Determining whether the segmentation accuracy score exceeds a threshold;

[0073] If yes, determining that the basic model structure segmentation is accurate;

[0074] If not, it is determined that the basic model structure segmentation is inaccurate.

[0075] In an embodiment of the present application, the segmentation accuracy of the basic model structure is scored. If the score exceeds a threshold (that is, the required lower limit of accuracy), it is determined that the segmentation of the basic model structure is accurate; otherwise, it is determined that the segmentation of the basic model structure is inaccurate.

[0076] S3: generating a primary topology model according to the basic model structure;

[0077] Exemplarily, the generating of the primary topology model according to the basic model structure comprises the steps of:

[0078] Acquiring basic morphological features of the surface of the three-dimensional model;

[0079] Obtaining all basic model structures after segmentation of the basic morphological features;

[0080] Obtaining the relative positions of all the basic model structures in the basic morphological features;

[0081] All the basic model structures are fused according to the relative positions to obtain a primary topological model.

[0082] In an embodiment of the present application, the basic model structure that has been accurately verified through segmentation is fused so that the basic morphological features before segmentation and the corresponding positions of all the basic model structures after fusion remain unchanged, and then a convolutional neural network algorithm is used to automatically generate a primary topological model, during which the wiring structure is optimized to promote the smoothness of subsequent processing.

[0083] S4: Aligning the three-dimensional model and the primary topology model.

[0084] Exemplarily, the aligning the three-dimensional model and the primary topological model comprises the steps of:

[0085] Acquire a first part of the three-dimensional model;

[0086] Acquire a second part corresponding to the first part on the primary topological model;

[0087] The first portion and the second portion are aligned.

[0088] In the embodiment of the present application, the primary topology model after wiring optimization is ensured to perfectly match the original three-dimensional model in terms of spatial position, so as to maintain the overall consistency of the three-dimensional model; by controlling the wiring levels added to the primary topology model, all the subtle features of the original three-dimensional model are carefully restored without losing its visual richness; the coordinate system of the primary topology model finally topologically completed is precisely aligned with the coordinates of the original three-dimensional model to ensure the accurate integration of the model in various applications; and the above process is executed repeatedly until the preset optimization goal is achieved.

[0089] like Figure 2 The present application provides a three-dimensional model topology optimization device, comprising:

[0090] A model acquisition module 10 is used to acquire a three-dimensional model;

[0091] A structure generation module 20, used to generate a basic model structure according to the three-dimensional model;

[0092] A model generation module 30, used to generate a primary topology model according to the basic model structure;

[0093] The model alignment module 40 is used to align the three-dimensional model and the primary topology model.

[0094] A three-dimensional model topology optimization device provided in the present application can execute a three-dimensional model topology optimization method provided in the above steps.

[0095] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.

[0096] Reference below Figure 3, which shows a schematic diagram of the structure of an electronic device 100 suitable for implementing the embodiment of the present disclosure. The electronic device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0097] like Figure 3 As shown, the electronic device 100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 102 or a program loaded from a storage device 108 to a random access memory (RAM) 103. In the RAM 103, various programs and data required for the operation of the electronic device 100 are also stored. The processing device 101, the ROM 102, and the RAM 103 are connected to each other via a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.

[0098] Typically, the following devices may be connected to the I / O interface 105: an input device 106 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 109. The communication device 109 may allow the electronic device 100 to communicate with other devices wirelessly or by wire to exchange data. Although the electronic device 100 having various devices is shown in the figure, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.

[0099] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 109, or installed from the storage device 108, or installed from the ROM 102. When the computer program is executed by the processing device 101, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0100] Reference below Figure 4, which shows a structural schematic diagram of a computer-readable storage medium suitable for implementing an embodiment of the present disclosure, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it can implement any of the three-dimensional model topology optimization methods described above.

[0101] The present application also provides a computer program product, which includes a computer program / computer executable instructions, and when the computer program / computer executable instructions are executed by a processor of an electronic device, the steps of any of the above-mentioned three-dimensional model topology optimization methods are implemented.

[0102] The three-dimensional model topology optimization method, device and storage medium provided in the present application can significantly reduce the degree of manual intervention, effectively reduce the number of polygons of the model, and ensure that the key details of the model are accurately preserved.

[0103] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0104] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A three-dimensional model topology optimization method, characterized in that: The method comprises the steps of: Obtaining a three-dimensional model; generating a basic model structure according to the three-dimensional model; Generate a primary topology model according to the basic model structure; The three-dimensional model and the preliminary topological model are aligned.

2. The three-dimensional model topology optimization method according to claim 1, characterized in that: The obtaining of the three-dimensional model comprises the steps of: Identifying basic morphological features of the surface of the three-dimensional model; The basic morphological features are extracted.

3. The three-dimensional model topology optimization method according to claim 1, characterized in that: Generating a basic model structure according to the three-dimensional model comprises the following steps: Acquiring basic morphological features of the surface of the three-dimensional model; The basic morphological features are segmented and a number of basic model structures are obtained.

4. The three-dimensional model topology optimization method according to claim 3, characterized in that: The generating of the basic model structure according to the three-dimensional model further comprises the steps of: Previewing the basic model structure; Determining whether the basic model structure is segmented accurately; If yes, save the basic model structure; If not, the basic model structure is adjusted.

5. The three-dimensional model topology optimization method according to claim 4, characterized in that: The step of judging whether the basic model structure is accurately segmented comprises the following steps: evaluating a segmentation accuracy score of the base model structure; Determining whether the segmentation accuracy score exceeds a threshold; If yes, determining that the basic model structure segmentation is accurate; If not, it is determined that the basic model structure segmentation is inaccurate.

6. The three-dimensional model topology optimization method according to claim 1, characterized in that: Generating a primary topology model according to the basic model structure comprises the following steps: Acquiring basic morphological features of the surface of the three-dimensional model; Obtaining all basic model structures after segmentation of the basic morphological features; Obtaining the relative positions of all the basic model structures in the basic morphological features; All the basic model structures are fused according to the relative positions to obtain a primary topological model.

7. The three-dimensional model topology optimization method according to claim 1, characterized in that: The aligning of the three-dimensional model and the primary topological model comprises the steps of: Acquire a first part of the three-dimensional model; Acquire a second part corresponding to the first part on the primary topological model; The first portion and the second portion are aligned.

8. A three-dimensional model topology optimization device, characterized in that: include: A model acquisition module, used for acquiring a three-dimensional model; A structure generation module, used for generating a basic model structure according to the three-dimensional model; A model generation module, used to generate a primary topology model according to the basic model structure; A model alignment module is used to align the three-dimensional model and the primary topology model.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.