Three-dimensional modeling method and apparatus, device, and storage medium

Through the combination of depth prediction and boundary information, a high-quality three-dimensional model is generated, which solves the problem of low quality three-dimensional models in the existing technology and achieves a more efficient modeling process.

WO2024174571A1PCT designated stage expired Publication Date: 2024-08-29TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/128474
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2023-10-31
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

In the existing technology, the quality of the three-dimensional model generated directly from the plane image of the target object is poor and the degree of restoration is low.

Method used

By obtaining the plane image set and boundary information of the target object, depth prediction processing is performed to obtain the depth information of the target object, and the target object is modeled based on this information to generate a three-dimensional model. Specific steps include stitching of boundary information, cutting and optimization of grid templates to improve the quality of the three-dimensional model.

Benefits of technology

The quality of the 3D model is improved, manual modeling steps are reduced, modeling efficiency is improved, and the generated 3D model is closer to the shape and details of the actual object.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023128474_29082024_PF_FP_ABST
    Figure CN2023128474_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in embodiments of the present application are a three-dimensional modeling method and apparatus, a device, and a storage medium. The method comprises: acquiring a planar image set of an object to be modeled, the planar image set comprising planar images of said object from different perspectives; acquiring boundary information of said object, the boundary information being used for indicating an actual boundary of said object in the planar image; performing depth prediction processing on the planar images in the planar image set respectively to obtain depth information of said object; and according to the boundary information of said object and the depth information of same, modeling said object to obtain a three-dimensional model of said object. It can be seen that, by means of the depth information of said object and the boundary information of same, the modeling process of said object is constrained, thereby improving the quality of the three-dimensional model of said object.
Need to check novelty before this filing date? Find Prior Art

Description

Three-dimensional modeling method, device, equipment and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on February 24, 2023, with application number 2023101614885 and application name “A three-dimensional modeling method, device, equipment and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of computer technology, and in particular to a three-dimensional modeling method, a three-dimensional modeling device, a computer device, and a computer-readable storage medium. Background Art

[0003] With advancements in scientific research, 3D models are widely used in various fields of life, such as gaming, design, and video. Methods for generating 3D models of target objects include: generating a 3D model of the target object from a 2D image of the target object. Research has found that directly modeling a 3D model based on a 2D image of the target object produces poor quality (e.g., low fidelity).

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a three-dimensional modeling method, apparatus, device, and computer-readable storage medium, which can improve the quality of three-dimensional models.

[0006] In one aspect, an embodiment of the present application provides a three-dimensional modeling method, comprising:

[0007] Acquire a set of plane images of the object to be modeled, the plane image set including a first plane image and a second plane image; the first plane image and the second plane image are plane images of the object to be modeled at different viewing angles;

[0008] Acquire boundary information of the object to be modeled, the boundary information including first geometric boundary annotation information and second geometric annotation information, the first geometric annotation information being used to indicate an actual boundary of the object to be modeled in the first plane image, and the second geometric annotation information being used to indicate an actual boundary of the object to be modeled in the second plane image;

[0009] Performing depth prediction processing on each of the plane images in the plane image set to obtain depth information of the object to be modeled;

[0010] The object to be modeled is modeled according to boundary information of the object to be modeled and depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled.

[0011] In one aspect, an embodiment of the present application provides a three-dimensional modeling device, comprising:

[0012] an acquisition unit, configured to acquire a set of plane images of the object to be modeled, the set of plane images comprising a first plane image and a second plane image; the first plane image and the second plane image are plane images of the object to be modeled at different viewing angles;

[0013] and for obtaining boundary information of the object to be modeled, the boundary information including first geometric boundary annotation information and second geometric annotation information, the first geometric annotation information being used to indicate the actual boundary of the object to be modeled in the first plane image, and the second geometric annotation information being used to indicate the actual boundary of the object to be modeled in the second plane image;

[0014] A processing unit, configured to perform depth prediction processing on each of the planar images in the planar image set to obtain depth information of the object to be modeled;

[0015] The method is used to model the object to be modeled according to the boundary information of the object to be modeled and the depth information of the object to be modeled, so as to obtain a three-dimensional model of the object to be modeled.

[0016] In one embodiment, the depth information of the object to be modeled includes depth information of pixels associated with the object to be modeled in each plane image of the plane image set; the processing unit is configured to model the object to be modeled based on the boundary information of the object to be modeled and the depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled, specifically for:

[0017] Restoring the positions of the pixels associated with the objects to be modeled in three-dimensional space according to the depth information of the pixels associated with the objects to be modeled in each plane image;

[0018] Performing stitching processing on the actual boundary of the object to be modeled indicated by the first geometric boundary annotation information and the second geometric boundary annotation information to obtain a three-dimensional boundary line of the object to be modeled;

[0019] A three-dimensional model of the object to be modeled is generated using the three-dimensional boundary lines of the object to be modeled.

[0020] In one embodiment, the processing unit is configured to generate a three-dimensional model of the object to be modeled using the three-dimensional boundary line of the object to be modeled, specifically to:

[0021] Determining a grid template corresponding to the object to be modeled based on the topological classification of the three-dimensional boundary lines of the object to be modeled;

[0022] The grid template corresponding to the object to be modeled is cut based on the three-dimensional boundary line of the object to be modeled to obtain a three-dimensional model of the object to be modeled.

[0023] In one embodiment, the processing unit is further configured to:

[0024] Obtaining smoothness constraints of the mesh template corresponding to the object to be modeled and restoration constraints of the object to be modeled;

[0025] Predicting mesh deformation parameters corresponding to the object to be modeled based on the position of the object to be modeled in three-dimensional space, smoothness constraints of the mesh template corresponding to the object to be modeled, and restoration constraints of the object to be modeled;

[0026] According to the mesh deformation parameters corresponding to the object to be modeled, the three-dimensional model of the object to be modeled is optimized to obtain a three-dimensional model after the model optimization.

[0027] In one embodiment, the object to be modeled is composed of M object elements, the plane image set includes a plane image of each object element at a first perspective and a plane image at a second perspective, where M is an integer greater than 1; the boundary information of the object to be modeled includes geometric boundary annotation information corresponding to each object element; the geometric boundary annotation information corresponding to each object element is used to indicate the actual boundary of the object element in the plane image at the first perspective and the plane image at the second perspective; the depth information of the object to be modeled includes depth information of the M object elements;

[0028] The processing unit is used to model the object to be modeled based on the boundary information of the object to be modeled and the depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled, specifically for:

[0029] Acquire a matching relationship between a planar image of the M object elements at a first viewing angle and a planar image of the M object elements at a second viewing angle;

[0030] Determining boundary information corresponding to each object element according to a matching relationship between the planar images of the M object elements at the first viewing angle and the planar images of the M object elements at the second viewing angle;

[0031] Modeling each object element according to boundary information of the object element and depth information of the object element to obtain a three-dimensional model of M object elements;

[0032] The three-dimensional models of the M object elements are stacked to obtain a three-dimensional model of the object to be modeled.

[0033] In one embodiment, the first planar image is any one of a front view and a back view of the object to be modeled, and the second planar image is the other of the front view and the back view of the object to be modeled except the first planar image; the processing unit is configured to obtain a matching relationship between the planar image of M object elements at the first viewing angle and the planar image of the M object elements at the second viewing angle, specifically for:

[0034] Performing view transformation processing on the planar images of the M object elements at the first perspective according to the second perspective to obtain M transformed views;

[0035] The matching relationship between the planar images of the M object elements at the first perspective and the planar images of the M object elements at the second perspective is determined by the similarity between the boundaries of the object elements in each transformed view and the boundaries of the object elements in the M planar images at the second perspective.

[0036] In one embodiment, each object element is associated with a layer identifier, and the layer identifier is used to indicate the display priority of the associated object element; the processing unit is further configured to:

[0037] If the three-dimensional models of the at least two object elements have overlapping areas, determining the display priority of the three-dimensional models of the at least two object elements according to the layer identifiers associated with the at least two object elements;

[0038] The three-dimensional model of the object element having the highest display priority among the at least two object elements is displayed in the overlapping area.

[0039] In one embodiment, each object element is associated with a layer identifier, and the layer identifier is used to indicate a display priority of the associated object element. If it is detected that the three-dimensional models of at least two object elements are interspersed in the three-dimensional model of the object to be modeled, the processing unit is further configured to:

[0040] performing mesh optimization processing on a mesh included in a three-dimensional model of at least one of the at least two object elements according to layer identifiers associated with the at least two object elements, to obtain a three-dimensional model of the object to be modeled after the mesh optimization processing;

[0041] Wherein, after the mesh optimization processing, the three-dimensional models of any two object elements in the three-dimensional model of the object to be modeled do not intersect with each other.

[0042] In one embodiment, the depth information of the object to be modeled is obtained by performing depth prediction processing on the planar images in the planar image set using a depth prediction model; the training process of the depth prediction model includes:

[0043] Use the depth prediction model to perform depth prediction processing on the target pixel points associated with the target object in the training image to obtain the depth prediction result corresponding to the target pixel point;

[0044] According to the depth prediction results of each target pixel, predict the normal vector of each target pixel;

[0045] The depth prediction model is jointly optimized based on the depth difference information and the normal vector difference information to obtain an optimized depth prediction model;

[0046] Among them, the depth difference information is obtained based on the difference between the depth prediction results of each target pixel point and the annotation results corresponding to the training image; the normal vector difference information is obtained based on the difference between the predicted normal vector of each target pixel point and the true normal vector of the target pixel point.

[0047] In one embodiment, the processing unit is configured to obtain boundary information of the object to be modeled, specifically to:

[0048] Perform boundary detection on each plane image in the plane image set of the object to be modeled, and obtain the boundary of the object to be modeled in each plane image;

[0049] A geometric boundary recognition model is used to identify the boundaries of the object to be modeled in each plane image, and the geometric annotation information corresponding to each plane image is obtained.

[0050] Accordingly, the present application provides a computer device, comprising:

[0051] a memory, wherein a computer program is stored in the memory;

[0052] The processor is used to load a computer program to implement the above three-dimensional modeling method.

[0053] Accordingly, the present application provides a computer-readable storage medium, which stores a computer program, and the computer program is suitable for being loaded by a processor and executing the above-mentioned three-dimensional modeling method.

[0054] Accordingly, the present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-described three-dimensional modeling method.

[0055] In an embodiment of the present application, a set of planar images of an object to be modeled is obtained, the planar image set including planar images of the object to be modeled at different perspectives, boundary information of the object to be modeled is obtained, the boundary information being used to indicate the actual boundary of the object to be modeled in the planar images, depth prediction processing is performed on each of the planar images in the planar image set to obtain depth information of the object to be modeled, and the object to be modeled is modeled based on the boundary information and depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled. It can be seen that by constraining the modeling process of the object to be modeled by the depth information and boundary information of the object to be modeled, the quality of the three-dimensional model of the object to be modeled can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0057] FIG1 is a schematic diagram of a three-dimensional modeling solution provided in an embodiment of the present application;

[0058] FIG2 is a flow chart of a three-dimensional modeling method provided in an embodiment of the present application;

[0059] FIG3 is a front view of an object to be modeled provided in an embodiment of the present application;

[0060] FIG4 is a schematic diagram of common topology types provided in an embodiment of the present application;

[0061] FIG5 is a flow chart of another three-dimensional modeling method provided in an embodiment of the present application;

[0062] FIG6 is a three-dimensional modeling process framework diagram provided in an embodiment of the present application;

[0063] FIG7 is a schematic diagram of a management page of a 3D modeling plug-in provided in an embodiment of the present application;

[0064] FIG8 is a schematic structural diagram of a three-dimensional modeling device provided in an embodiment of the present application;

[0065] FIG9 is a schematic structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0067] This application involves artificial intelligence and computer vision technologies. The following is a brief introduction to artificial intelligence and computer vision technologies:

[0068] Artificial Intelligence (AI): The so-called AI is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that the machines have the functions of perception, reasoning and decision-making. The embodiment of the present application mainly involves performing depth prediction processing on a planar image containing an object to be modeled through a depth prediction model to obtain depth information of the object to be modeled.

[0069] AI technology is a comprehensive discipline encompassing a wide range of fields, encompassing both hardware and software technologies. Foundational AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, large-scale application processing, operating / interaction systems, and mechatronics. AI software technologies primarily encompass computer vision, speech processing, natural language processing, and machine learning / deep learning.

[0070] Computer Vision Technology (CV): Computer vision is a science that studies how to make machines "see". To put it more specifically, it refers to machine vision that uses cameras and computers to replace human eyes to identify, track and measure targets, and further performs graphic processing so that the computer processing becomes an image that is more suitable for human eye observation or transmission to instruments for detection. As a scientific discipline, computer vision studies related theories and technologies, and attempts to establish an artificial intelligence system that can obtain information from images or multidimensional data. Computer vision technology generally includes image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous positioning and map construction, and other technologies, as well as common biometric recognition technologies such as face recognition and fingerprint recognition. The embodiments of the present application mainly involve constructing a three-dimensional model of the object to be modeled through plane images of the object to be modeled at different perspectives, and the boundary information of the object to be modeled in each plane image.

[0071] Based on artificial intelligence and computer vision technology, the embodiment of the present application provides a three-dimensional modeling solution to improve the quality of three-dimensional models generated based on plane images. Figure 1 is a schematic diagram of a three-dimensional modeling solution provided by the embodiment of the present application. As shown in Figure 1, the three-dimensional modeling solution can be executed by a computer device 101, and the computer device 101 here can be a terminal or server with three-dimensional modeling capabilities. Among them, the terminal can include but is not limited to: smart phones (such as Android phones, IOS phones, etc.), tablets, portable personal computers, mobile Internet devices (Mobile Internet Devices, referred to as MID), vehicle terminals, smart home appliances, unmanned aerial vehicles, wearable devices and other devices with three-dimensional modeling capabilities, and the embodiment of the present application does not limit this. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network), and basic cloud computing services such as big data and artificial intelligence platforms, and the embodiment of the present application does not limit this.

[0072] It should be noted that the number of computer devices in Figure 1 is for example only and does not constitute an actual limitation of this application; for example, the three-dimensional modeling system may also include a computer device 102, or a terminal device 103, or a server 104, etc.

[0073] In specific implementation, the general principle of this 3D modeling solution is as follows:

[0074] (1) The computer device 101 obtains a plane image set of the object to be modeled, and the plane image set includes a first plane image and a second plane image; the first plane image and the second plane image are plane images of the object to be modeled at different perspectives. The object to be modeled can specifically be clothing, accessories, daily necessities, game props, etc., and this application does not limit this. In the subsequent description, the object to be modeled is taken as an example. The plane image set includes at least two of the following plane images: a front view of the object to be modeled, a back view of the object to be modeled, a top view of the object to be modeled, a left view of the object to be modeled, and a right view of the object to be modeled. The plane images required for modeling different objects to be modeled can be the same or different. For example, when the object to be modeled is clothing, the plane image set may include a front view and a back view of the clothing; when the object to be modeled is a water cup, the plane image set may include a front view and a top view of the water cup; when the object to be modeled is a vehicle, the plane image set may include a front view, a top view, a left view, and a back view of the vehicle.

[0075] (2) The computer device 101 obtains boundary information of the object to be modeled, where the boundary information includes first geometric boundary annotation information and second geometric annotation information. The first geometric annotation information is used to indicate the actual boundary of the object to be modeled in the first plane image, and the second geometric annotation information is used to indicate the actual boundary of the object to be modeled in the second plane image.

[0076] Specifically, the boundary (contour) of the object to be modeled in a two-dimensional image can be composed of a visual boundary and an actual boundary. The actual boundary of the object to be modeled refers to the objective boundary of the object to be modeled (or the three-dimensional model of the object to be modeled), which is not affected by the viewing angle. In other words, no matter from which viewing angle the object to be modeled (or the three-dimensional model of the object to be modeled) is observed, the actual boundary of the object to be modeled is objectively present. For example, for clothing, the actual boundary includes the collar, cuffs, etc. The visual boundary of the object to be modeled refers to the boundary (contour) of the object to be modeled in the two-dimensional image from a certain viewing angle, excluding the actual boundary. The visual boundary of the object to be modeled is not an objective boundary. In other words, the visual boundary will change (e.g., disappear) with changes in the viewing angle.

[0077] (3) The computer device 101 performs depth prediction processing on each of the plane images in the plane image set to obtain depth information of the object to be modeled. The depth information of the object to be modeled is composed of depth information of pixels associated with the object to be modeled in each plane image. In one embodiment, the depth information of the object to be modeled may include first depth information and second depth information, wherein the first depth information is obtained by the computer device 101 performing depth prediction processing on the first plane image, and the second depth information is obtained by the computer device 101 performing depth prediction processing on the second plane image.

[0078] In one embodiment, the computer device 101 may perform depth prediction processing on each of the planar images in the planar image set using a depth prediction model to obtain depth information of the object to be modeled output by the depth prediction model.

[0079] (4) The computer device 101 models the object to be modeled based on the boundary information of the object to be modeled and the depth information of the object to be modeled, and obtains a three-dimensional model of the object to be modeled. In one embodiment, the depth information of the object to be modeled includes the depth information of the pixel points associated with the object to be modeled in each plane image of the plane image set (such as the pixel points used to represent the object to be modeled in the plane image). The computer device 101 restores the position of the pixel points associated with the object to be modeled in the three-dimensional space based on the depth information of the pixel points associated with the object to be modeled in each plane image. After obtaining the position of the pixel points associated with the object to be modeled in the three-dimensional space, the computer device stitches the pixel points in the three-dimensional space based on the first geometric boundary annotation information and the second geometric annotation information to obtain the three-dimensional boundary line of the object to be modeled. The three-dimensional boundary line of the object to be modeled is used to indicate the actual boundary of the object to be modeled in the three-dimensional space. After obtaining the three-dimensional boundary line of the object to be modeled, the computer device 101 can generate a three-dimensional model of the object to be modeled based on the three-dimensional boundary line of the object to be modeled.

[0080] In an embodiment of the present application, by constraining the modeling process of the object to be modeled through planar images of the object elements of the object to be modeled under at least two perspectives, combined with the depth information corresponding to each planar image and the boundary information of the object to be modeled, the quality of the three-dimensional model of the object to be modeled can be improved, some manual three-dimensional modeling steps can be eliminated, and the modeling efficiency of the three-dimensional model can be improved.

[0081] Based on the above-mentioned three-dimensional modeling scheme, the embodiment of the present application proposes a more detailed three-dimensional modeling method. The three-dimensional modeling method proposed in the embodiment of the present application will be introduced in detail below with reference to the accompanying drawings.

[0082] Please refer to Figure 2, which is a flowchart of a 3D modeling method provided in an embodiment of the present application. The 3D modeling method can be executed by a computer device, which can be a terminal device or a server. As shown in Figure 2, the 3D modeling method may include the following steps S201-S204:

[0083] S201: Acquire a set of planar images of an object to be modeled.

[0084] The planar image set includes a first planar image and a second planar image of the object to be modeled, wherein the first and second planar images are planar images of the object to be modeled at different viewing angles. Optionally, the planar image set may further include a third planar image of the object to be modeled, wherein the viewing angle corresponding to the third planar image is different from the viewing angles corresponding to the first and second planar images.

[0085] In one embodiment, the object to be modeled is composed of an object element; that is, the object element is the object to be modeled. In this case, the plane image set includes a first plane image and a second plane image of the object element.

[0086] In another embodiment, the object to be modeled is composed of M object elements, where M is an integer greater than 1. For example, the object to be modeled is composed of a shirt (a first object element) and a jacket (a second object element). In this case, the set of plane images includes the first plane image and the second plane image of each of the M object elements. For example, assuming M = 2, the set of plane images of the object to be modeled includes the first plane image and the second plane image of the first object element, and the first plane image and the second plane image of the second object element.

[0087] In one embodiment, among the M object elements, the observation perspective corresponding to the first plane image of each object element is the same, and the observation perspective corresponding to the second plane image of each object element is also the same; in this case, the first plane image and the second plane image of the object to be modeled can be obtained by stacking the first plane images and the second plane images of the M object elements in layer order.

[0088] In another embodiment, among the M object elements, there may be at least one object element whose first plane image (or second plane image) corresponds to an observation perspective that is different from the observation perspectives corresponding to the first plane images of other object elements, and also different from the observation perspectives corresponding to the second plane images of other object elements; for example, assume that the M object elements include a shirt, a jacket, trousers, and shoes (i.e., M=4), the first plane images of the shirt, jacket, and trousers are all front views, and the second plane images are all back views; the first plane image of the shoe is a front view, and the second plane image is a top view.

[0089] S202: Obtain boundary information of the object to be modeled.

[0090] The boundary information includes first geometric boundary annotation information and second geometric annotation information. The first geometric annotation information is used to indicate the actual boundary of the object to be modeled in the first plane image, and the second geometric annotation information is used to indicate the actual boundary of the object to be modeled in the second plane image.

[0091] Specifically, the boundary (contour) of the object to be modeled in the plane image can be composed of a visual boundary and an actual boundary. The actual boundary of the object to be modeled refers to the objectively existing boundary in the object to be modeled (or the three-dimensional model of the object to be modeled); the visual boundary of the object to be modeled refers to the boundary (contour) of the object to be modeled in the plane image at a certain perspective when the object to be modeled (or the three-dimensional model of the object to be modeled) is observed from this perspective, excluding the actual boundary. Figure 3 is a front view of an object to be modeled provided in an embodiment of the present application. As shown in Figure 3, in the front view (plane image) of a short sleeve (object to be modeled), the boundary (contour) of the short sleeve is composed of a visual boundary and an actual boundary; wherein the solid line portion is the visual boundary, and the dotted line portion is the actual boundary.

[0092] In one embodiment, if the object to be modeled is composed of M object elements, where M is an integer greater than 1, and the plane image set includes a first plane image and a second plane image of each object element in the M object elements; then the boundary information of the object to be modeled also includes geometric annotation information corresponding to each object element, and the geometric annotation information corresponding to each object element is used to indicate the actual boundary of the object element in the plane image at a first perspective (i.e., the first plane image of the object element), and indicates the actual boundary of the object element in the plane image at a second perspective (i.e., the second plane image of the object element).

[0093] In one implementation, a computer device performs contour detection on each of the plane images in the plane image set (e.g., through image binarization, Laplace algorithm, etc.) to obtain the boundaries of the object (or object element) to be modeled in each plane image. Furthermore, after obtaining the boundaries of the object (or object element) to be modeled in each plane image, the computer device may also use a trajectory compression algorithm (e.g., Douglas-Peucker algorithm) to optimize the boundaries of the object (or object element) to be modeled in each plane image to obtain optimized boundaries. The computer device may display the boundaries of the object (or object element) to be modeled in each plane image and, based on the modeler's boundary marking operations, generate boundary information of the object to be modeled.

[0094] In another implementation, a computer device may use a boundary recognition model to perform boundary recognition processing on each plane image in a plane image set to obtain boundary information of the object to be modeled; wherein the boundary recognition processing is used to identify the actual boundary and visual boundary of the object to be modeled (or object element) in each plane image; the training process of the boundary recognition model includes: using an initial model to perform boundary recognition processing on the boundary training data to obtain a recognition result corresponding to the boundary training data; based on the difference between the recognition result corresponding to the boundary training data and the calibration data corresponding to the boundary training data, the relevant parameters of the initial model are optimized (such as adjusting the number of network layers, the scale of the convolution kernel, etc.) to obtain a boundary recognition model. It can be understood that determining the boundary information of the object to be modeled through the boundary recognition model can save labor costs and further improve modeling efficiency.

[0095] S203 : Perform depth prediction processing on each of the planar images in the planar image set to obtain depth information of the object to be modeled.

[0096] The depth information of the object to be modeled is composed of the depth information of the pixels associated with the object to be modeled in each planar image (e.g., the pixels used to represent the object to be modeled in the planar image). The computer device can use a depth prediction model to perform depth prediction processing on each planar image in the planar image set to obtain the depth information of the object to be modeled. In one embodiment, when the object to be modeled includes M object elements, the depth information corresponding to each of the M object elements is obtained.

[0097] In one embodiment, the training process of the depth prediction model includes: using the depth prediction model to perform depth prediction processing on the target pixel points associated with the target object in the training image to obtain the depth prediction results corresponding to the target pixel points. According to the depth prediction results of each target pixel point, the normal vector of each target pixel point is predicted; specifically, based on the K (K is an integer greater than 2) adjacent pixel points of the target pixel point (the number of pixels spaced between the target pixel point and the target pixel point is less than a threshold), at least one candidate normal vector of the target pixel point is determined, and at least one candidate normal vector of the target pixel point is weighted summed to obtain the normal vector of the target pixel point. After predicting the normal vector of each target pixel point, the depth prediction model is jointly optimized based on the depth difference information and the normal vector difference information to obtain an optimized depth prediction model. The depth difference information is obtained based on the difference between the depth prediction results of each target pixel point and the annotation results corresponding to the training image; the normal vector difference information is obtained based on the difference between the predicted normal vector of each target pixel point and the true normal vector of the target pixel point. In one embodiment, in order to better enable the neural network (i.e., the depth prediction model) to perceive the contextual information of local geometry and recover more details, an adaptive method is used to calculate the normal information while predicting the depth information, and the depth and normal are supervised at the same time so that these two geometric constraints are associated to jointly optimize the depth prediction model, thereby improving the accuracy of the depth prediction model in predicting depth information, and more accurate depth information about the object elements of the object to be modeled can be predicted.

[0098] It should be noted that during the training process of the depth prediction model, the depth prediction model is jointly optimized through depth difference information and normal vector difference information. Compared with optimizing the depth prediction model only through depth difference information, the accuracy of the optimized depth prediction model can be improved.

[0099] S204 : Modeling the object to be modeled according to the boundary information of the object to be modeled and the depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled.

[0100] In one embodiment, the depth information of the object to be modeled includes the depth information of the pixel points associated with the object to be modeled in each plane image of the plane image set (such as the pixel points used to represent the object to be modeled in the plane image). The computer device restores the position of the pixel points associated with the object to be modeled in three-dimensional space based on the depth information of the pixel points associated with the object to be modeled in each plane image. After obtaining the position of the pixel points associated with the object to be modeled in three-dimensional space, the computer device stitches the pixel points associated with the object to be modeled in three-dimensional space based on the first geometric boundary annotation information and the second geometric annotation information to obtain a three-dimensional boundary line of the object to be modeled. The three-dimensional boundary line of the object to be modeled is used to indicate the actual boundary of the object to be modeled in three-dimensional space.

[0101] For example, assuming that the actual boundary of the object to be modeled in the first plane image indicated by the first geometric boundary annotation information includes pixel points 1 to pixel points 10, and the actual boundary of the object to be modeled in the second plane image indicated by the second geometric boundary annotation information includes pixel points 10 to pixel points 20, the computer device stitches pixel points 1 to pixel points 20 in the three-dimensional space according to the first geometric boundary annotation information and the second geometric annotation information (such as concatenating pixel points 1 to pixel points 20 in the three-dimensional space) to obtain the three-dimensional boundary line of the object to be modeled.

[0102] After obtaining the three-dimensional boundary line of the object to be modeled, the computer device can generate a three-dimensional model of the object to be modeled through the three-dimensional boundary line of the object to be modeled. Specifically, the computer device determines the mesh template corresponding to the object to be modeled based on the topological classification of the three-dimensional boundary line of the object to be modeled, and the mesh templates corresponding to different topological classifications are different. Figure 4 is a schematic diagram of common topology types provided in an embodiment of the present application. As shown in Figure 4, common topology types include: T-shaped topology, inverted V-shaped topology and humanoid topology. T-shaped topology can represent clothing such as shirts, suits, coats, and skirts; inverted V-shaped topology can represent trousers; humanoid topology can represent jumpsuits, etc. After determining the mesh template corresponding to the object to be modeled, the computer device cuts the mesh template corresponding to the object to be modeled based on the three-dimensional boundary line of the object to be modeled (such as removing the mesh in the mesh template that is located outside the three-dimensional boundary line of the object to be modeled) to obtain the three-dimensional model of the object to be modeled.

[0103] Optionally, the computer device may also obtain smoothness constraints of the mesh template corresponding to the object to be modeled and the degree of restoration constraints of the object to be modeled, predict mesh deformation parameters corresponding to the object to be modeled based on the position of the object to be modeled in three-dimensional space, the smoothness constraints of the mesh template corresponding to the object to be modeled, and the degree of restoration constraints of the object to be modeled, and perform model optimization processing on the three-dimensional model of the object to be modeled according to the mesh deformation parameters corresponding to the object to be modeled, thereby obtaining a three-dimensional model after model optimization processing. It is understandable that performing model optimization processing on the three-dimensional model of the object to be modeled based on the position of the object to be modeled in three-dimensional space, the smoothness constraints of the mesh template corresponding to the object to be modeled, and the degree of restoration constraints of the object to be modeled can improve the degree of restoration of details (such as wrinkles in clothing, etc.) of the three-dimensional model, thereby further improving the quality of the three-dimensional model of the object to be modeled.

[0104] In one embodiment, smoothness constraints and restoration constraints are used to geometrically deform a 3D model to obtain mesh deformation parameters. Based on these mesh deformation parameters, a 3D model of the object to be modeled with detailed features is optimized. Specifically, a 3D model of clothing items such as shirts, suits, coats, and dresses, obtained by cutting from a mesh template, is deformed to restore some of the clothing's details. In this embodiment of the present application, depth information predicted by depth prediction is used as a reference, while the smoothness and geometric restoration of the model are considered as constraints in solving the optimization problem to obtain optimal mesh deformation parameters. After the 3D model of the object to be modeled is deformed based on these optimal mesh deformation parameters, a more optimal 3D model can be obtained, thereby allowing the cutting template to restore the geometric shape while maintaining neat and smooth wiring.

[0105] In an embodiment of the present application, boundary information of the object to be modeled is obtained from the plane images of the object to be modeled at different perspectives. Based on the boundary information, stitching processing such as pixel concatenation is performed to determine the boundary of the object to be modeled in three-dimensional space to crop the grid template, and depth prediction processing is performed on the plane images in the plane image set to obtain the depth information of the object to be modeled. Based on the boundary information of the object to be modeled and the depth information of the object to be modeled, the cropped grid template is used to model the object to be modeled to obtain a three-dimensional model of the object to be modeled, which better meets the automation and intelligent functions of three-dimensional modeling. In addition, the depth information of the object to be modeled and the boundary information of the object to be modeled are combined to constrain the modeling process of the object to be modeled, which can improve the quality of the three-dimensional model of the object to be modeled. In addition, during the training process of the depth prediction model, the depth prediction model is jointly optimized by depth difference information and normal vector difference information, which can improve the accuracy of the optimized depth prediction model.

[0106] Please refer to Figure 5, which is a flowchart of another 3D modeling method provided in an embodiment of the present application. The 3D modeling method can be executed by a computer device, which can be a terminal device or a server. As shown in Figure 5, the 3D modeling method may include the following steps S501-S507:

[0107] S501: Acquire a set of planar images of an object to be modeled.

[0108] S502: Obtain boundary information of the object to be modeled.

[0109] S503 : Perform depth prediction processing on each of the planar images in the planar image set to obtain depth information of the object to be modeled.

[0110] The specific implementation of steps S501 to S503 may refer to the implementation of steps S201 to S203 in FIG2 , and will not be described in detail here.

[0111] S504: Acquire a matching relationship between a planar image of the M object elements at the first viewing angle and a planar image of the M object elements at the second viewing angle.

[0112] In one embodiment, the first planar image is either a front view or a back view of the object to be modeled, and the second planar image is the other of the front view and the back view of the object to be modeled other than the first planar image. The computer device performs view transformation processing on the planar image of the M object elements at the first view (i.e., the first planar image) according to the second view to obtain M transformed views.

[0113] In one implementation, the computer device may determine the matching relationship between the transformed view and the planar image under the second perspective by measuring the chamfer distance between the sampling points on the visual boundary in the transformed view and the sampling points on the visual boundary in the planar image under the second perspective, thereby determining the matching relationship between the planar image under the first perspective and the planar image under the second perspective. The number of sampling points included on each visual boundary is multiple (at least two). For example, if the chamfer distance between the sampling points on the visual boundary in the transformed view 1 and the sampling points on the visual boundary in the planar image 2 under the second perspective is less than a distance threshold, the computer device determines that the planar image 1 under the first perspective corresponding to the transformed view 1 matches the planar image 2 under the second perspective.

[0114] In another implementation, after obtaining M transformed views, the computer device determines a matching relationship between the planar image of the M object elements at the first viewing angle and the planar image of the M object elements at the second viewing angle based on the similarity between the boundaries of the object elements in each transformed view and the boundaries of the object elements in the M planar images at the second viewing angle. The boundary similarity can be determined by the chamfer distance between sampling points on the visual boundary in the transformed view and sampling points on the visual boundary in the planar image at the second viewing angle, with the similarity being inversely proportional to the chamfer distance between the sampling points. For example, assume that M=3, and the second transformed view is obtained by performing view transformation processing on the second plane image under the first perspective; and the similarity between the boundary of the object element in the second transformed view and the boundary of the object element in the first plane image under the second perspective is 95%; the similarity between the boundary of the object element in the second transformed view and the boundary of the object element in the second plane image under the second perspective is 25%; the similarity between the boundary of the object element in the second transformed view and the boundary of the object element in the third plane image under the second perspective is 13%; then the computer device determines that the plane image under the second first perspective matches the plane image under the first second perspective (that is, they are plane images belonging to the same object element).

[0115] In another embodiment, each plane image in the plane image set is associated with a layer identifier, and the computer device determines the matching relationship between the plane images of M object elements at a first perspective and the plane images of M object elements at a second perspective based on the layer identifier associated with each plane image; for example, if the layer identifier associated with plane image 1 at the first perspective is the same as the layer identifier associated with plane image 3 at the second perspective, then it is determined that plane image 1 at the first perspective matches plane image 3 at the second perspective (i.e., they are plane images belonging to the same object element).

[0116] S505: Determine boundary information corresponding to each object element based on a matching relationship between the planar images of the M object elements at the first viewing angle and the planar images of the M object elements at the second viewing angle. In one embodiment, for any one of the M object elements, the first planar image and the second planar image of the object element can be obtained based on the matching relationship.

[0117] The computer device can obtain the complete boundary information corresponding to the target object element through the geometric boundary annotation information of the target object element in the first plane image and the geometric boundary annotation information of the target object element in the second plane image; the target object element is any object element among the M object elements.

[0118] S506 : Model each object element according to its boundary information and depth information to obtain three-dimensional models of M object elements.

[0119] In one embodiment, the depth information of the target object element includes the depth information of the pixel points associated with the target object element in the first plane image and the second plane image corresponding to the plane image set (such as the pixel points used to represent the target object element in the first plane image and the second plane image). The computer device restores the position of the pixel points associated with the target object element in the three-dimensional space based on the depth information of the pixel points associated with the target object element in the first plane image and the second plane image. After obtaining the position of the pixel points associated with the target object element in the three-dimensional space, the computer device stitches the pixel points associated with the target object element in the three-dimensional space based on the geometric boundary annotation information in the first plane image and the geometric annotation information in the second plane image to obtain the three-dimensional boundary line of the target object element. The three-dimensional boundary line of the target object element is used to indicate the actual boundary of the target object element in the three-dimensional space.

[0120] After obtaining the three-dimensional boundary line of the target object element, the computer device can generate a three-dimensional model of the target object element based on the three-dimensional boundary line of the target object element. Specifically, the computer device determines the mesh template corresponding to the target object element based on the topological classification of the three-dimensional boundary line of the target object element, and different topological classifications correspond to different mesh templates. After determining the mesh template corresponding to the target object element, the computer device cuts the mesh template corresponding to the target object element based on the three-dimensional boundary line of the target object element (such as removing the mesh in the mesh template that is located outside the three-dimensional boundary line of the target object element) to obtain the three-dimensional model of the target object element.

[0121] Optionally, the computer device may also obtain the smoothness constraint of the grid template corresponding to the target object element and the restoration constraint of the target object element, predict the grid deformation parameters corresponding to the target object element based on the position of the target object element in three-dimensional space, the smoothness constraint of the grid template corresponding to the target object element, and the restoration constraint of the target object element, and perform model optimization processing on the three-dimensional model of the target object element according to the mesh deformation parameters corresponding to the target object element to obtain a three-dimensional model after model optimization processing. It is understandable that performing model optimization processing on the three-dimensional model of the target object element based on the position of the target object element in three-dimensional space, the smoothness constraint of the grid template corresponding to the target object element, and the restoration constraint of the target object element can improve the restoration of details (such as wrinkles in clothing, etc.) of the three-dimensional model, and further improve the quality of the three-dimensional model of the target object element.

[0122] According to the above embodiment, the computer device can obtain a three-dimensional model of the M object elements included in the object to be modeled.

[0123] S507 : Stack the three-dimensional models of the M object elements to obtain a three-dimensional model of the object to be modeled.

[0124] In one embodiment, each object element is associated with a layer identifier, and the layer identifier is used to indicate the display priority of the associated object element. If there is an overlapping area between the three-dimensional models of at least two object elements, the computer device determines the display priority of the three-dimensional models of at least two object elements through the layer identifiers associated with at least two object elements, and displays the three-dimensional model of the object element with the highest display priority among the three-dimensional models of at least two object elements in the overlapping area. For example, assuming that the value of the layer identifier is proportional to the display priority of the three-dimensional model of the object element (that is, the larger the value of the layer identifier associated with the object element, the higher the display priority of the three-dimensional model of the object element), if there is an overlapping area A between the three-dimensional model of object element 1 and the three-dimensional model of object element 2, and the value of the layer identifier associated with object element 1 is 3, and the value of the layer identifier associated with object element 2 is 7; then the computer device displays the three-dimensional model of object element 2 in the overlapping area A.

[0125] In another embodiment, if it is detected that the three-dimensional models of at least two object elements in the three-dimensional model of the object to be modeled are intertwined with each other, the computer device performs mesh optimization processing on the mesh contained in the three-dimensional model of at least one of the at least two object elements according to the layer identifiers associated with the at least two object elements (such as adjusting the position of part of the mesh in the three-dimensional model of the object element in the three-dimensional space), and obtains the three-dimensional model of the object to be modeled after the mesh optimization processing; wherein, after the mesh optimization processing, the three-dimensional models of any two object elements in the three-dimensional model of the object to be modeled do not intertwine with each other; the intertwining of the three-dimensional models of two object elements can be understood as: there is at least one face in the three-dimensional model of object element 1 that passes through at least one face in the three-dimensional model of object element 2.

[0126] It is understandable that optimizing the three-dimensional model of the object to be modeled based on the layer identification associated with the object elements can further improve the quality of the three-dimensional model of the object to be modeled.

[0127] Figure 6 is a 3D modeling process framework diagram provided by an embodiment of the present application. As shown in Figure 6, the 3D modeling method provided by the present application can be implemented by the collaborative work of a boundary extraction (Polygon) module, a boundary annotation (Boundary) module, a depth prediction (Depth Prediction) module, a boundary stitching (Stitch) module, a template cutting (Base Cut) module, a geometric deformation (Wrap) module, and a post-processing optimization (Post-processing) module. Specifically:

[0128] (1) The boundary extraction (Polygon) module is used to detect the boundaries of each plane image in the plane image set to obtain the boundaries of the object elements in the plane image. Optionally, the boundaries of the object elements can be simplified by using a trajectory compression algorithm (such as the Douglas-Peucker algorithm) to obtain the simplified boundaries of the object elements.

[0129] (2) The Boundary Annotation module is used to further annotate the boundaries of object elements to indicate the actual boundaries and visual boundaries of the object elements. In one implementation, the actual boundaries in each plane image can be determined based on the marking operation of the modeler on the boundaries of the object elements. In another implementation, the actual boundaries in each plane image can be obtained by identifying the boundaries of the object elements using a boundary recognition model.

[0130] (3) The depth prediction module is used to perform depth prediction processing on the planar images in the planar image set to obtain the depth information of each pixel in the planar image. In one implementation, the depth prediction module can perform depth prediction processing on the planar images in the planar image set using a depth prediction model to obtain the depth information of each pixel in the planar image. In order to improve the accuracy of the depth prediction model, the depth prediction model can be jointly optimized by supervising the depth of the pixel and the normal vector of the pixel during the training process of the depth prediction model.

[0131] (4) The boundary stitching (Stitch) module is used to determine the three-dimensional boundary line of each object element. Specifically, the boundary stitching module can determine the matching relationship between each plane image and the object element in the plane image set based on the boundary annotation information of the object element in the plane image transmitted by the boundary annotation module. Then, the three-dimensional boundary line of each object element is determined by the boundary annotation information in the plane image (the first plane image and the second plane image) corresponding to each object element, and the depth information of each pixel point transmitted by the depth prediction module. The specific implementation method can refer to the implementation method in step S506 in Figure 5, which will not be repeated here.

[0132] (5) The Base Cut module is used to obtain the mesh model of the object element based on the 3D boundary line of the object element transferred by the Boundary Stitching module. Specifically, the corresponding topology type is first determined based on the 3D boundary line of the object element, and the corresponding mesh template is determined based on the topology type. Then, the corresponding mesh template is cut based on the 3D boundary line of the object element to obtain the mesh model of the object element.

[0133] (6) The geometric deformation (Wrap) module is used to restore the details of the object elements (such as the wrinkles of clothes) to improve the quality of the 3D model of the object to be modeled. The geometric deformation module solves the constraints of the mesh deformation parameters based on the depth information of each pixel point transmitted by the depth prediction module, the mesh smoothness and the restoration degree, and obtains the mesh deformation parameters corresponding to the mesh model of the object element. Based on the mesh deformation parameters, the mesh model of the object element is mesh optimized to obtain the mesh model of the object element after mesh optimization.

[0134] (7) The post-processing module is used to combine the mesh models of the object elements to obtain a three-dimensional model of the object to be modeled. If interpenetrating mesh models are detected during the mesh model combination process, the meshes in the model are adjusted based on the layer identifiers corresponding to each object element so that the adjusted three-dimensional model of the object to be modeled does not contain interpenetrating mesh models.

[0135] The 3D modeling method provided in this application can be applied to related fields involving two-dimensional image modeling, such as the rapid modeling of game character clothing. Taking the rapid modeling of game character clothing as an example, the 3D modeling method provided in this application can quickly model two-dimensional images of clothing designed by game developers, resulting in high-quality three-dimensional clothing models and improving game development efficiency.

[0136] In practical applications, the 3D modeling solution provided in this application can be integrated into 3D modeling software as a plug-in. Modelers can call this plug-in to perform 3D modeling on a set of planar images of an object to be modeled, thereby obtaining a 3D model of the object to be modeled. The specific process is as follows: The 3D modeling software loads the planar image set. After loading, a layer list and layer status information are obtained. The modeler selects a target layer to open the target layer editing interface. The target layer editing interface includes a "Boundary Extraction" button, which the modeler can trigger to automatically extract the boundaries of object elements in the target layer. The extracted boundaries are marked as line segments of a preset color on the planar image of the target layer. The modeler can mark the boundaries of object elements in the target layer to indicate the actual boundaries of the object elements. The 3D modeling software performs modeling based on the loaded planar image set and the actual boundaries of the object elements indicated by the modeler, obtaining a modeling result. During the modeling process, the modeler can select one or more object elements to model. If multiple object elements are modeled, the resulting modeling result is a 3D model composed of the 3D models of the multiple object elements.

[0137] Figure 7 is a schematic diagram of a management page for a 3D modeling plug-in provided in an embodiment of the present application. As shown in Figure 7, the management page of the 3D modeling plug-in includes a path selection entry 701, a layer list display area 702, a modeling record viewing entry 703, a modeling result viewing entry 704, and a modeling result clearing control 705. Among them, the path selection entry 701 is used to select the path of the plane image to be imported; the layer list display area 702 is used to display the layer list, which may include at least one of the following items: a layer selection box 7021 (used to select a layer, or to cancel a selected layer), a layer identifier 7022 (used to indicate the layer order, and the modeler can enter the editing page of the corresponding layer by triggering the layer identifier), a status display bar 7023 (used to display the modeling status of the layer), a layer name 7024, a view 7025 (used to indicate the observation angle corresponding to the plane image in the layer), and a thumbnail 7026 (used to display thumbnails of object elements in the layer); the modeling record viewing entry 703 is used to view the modeling record; the modeling result viewing entry 704 is used to view the completed modeling results; and the modeling result clearing control 705 is used to clear the completed modeling results.

[0138] The embodiment of the present application is based on the embodiment of Figure 2. The three-dimensional model of the object to be modeled is optimized based on the position of the object to be modeled in three-dimensional space, the smoothness constraint of the grid template corresponding to the object to be modeled, and the restoration constraint of the object to be modeled. This can improve the restoration of details of the three-dimensional model (such as wrinkles in clothes, etc.) and further improve the quality of the three-dimensional model of the object to be modeled. The three-dimensional model of the object to be modeled is optimized based on the layer identification associated with the object elements, which can further improve the quality of the three-dimensional model of the object to be modeled. In addition, the three-dimensional modeling solution provided by this application is integrated into the three-dimensional modeling software in the form of a plug-in, which can simplify the image modeling process and improve the efficiency of three-dimensional modeling.

[0139] The above describes in detail the method of the embodiment of the present application. In order to facilitate better implementation of the above scheme of the embodiment of the present application, the device of the embodiment of the present application is provided below accordingly.

[0140] Please refer to Figure 8, which is a schematic diagram of the structure of a three-dimensional modeling device provided in an embodiment of the present application. The three-dimensional modeling device shown in Figure 8 can be installed in a computer device, which can specifically be a terminal device or a server. The three-dimensional modeling device shown in Figure 8 can be used to perform some or all of the functions of the method embodiments described in Figures 2 and 5 above. Referring to Figure 8, the three-dimensional modeling device includes:

[0141] An acquiring unit 801 is configured to acquire a set of plane images of an object to be modeled, where the set of plane images includes a first plane image and a second plane image; the first plane image and the second plane image are plane images of the object to be modeled at different viewing angles;

[0142] and for obtaining boundary information of the object to be modeled, the boundary information including first geometric boundary annotation information and second geometric annotation information, the first geometric annotation information being used to indicate the actual boundary of the object to be modeled in the first plane image, and the second geometric annotation information being used to indicate the actual boundary of the object to be modeled in the second plane image;

[0143] A processing unit, configured to perform depth prediction processing on each of the planar images in the planar image set to obtain depth information of the object to be modeled;

[0144] The method is used to model the object to be modeled according to the boundary information of the object to be modeled and the depth information of the object to be modeled, so as to obtain a three-dimensional model of the object to be modeled.

[0145] In one embodiment, the depth information of the object to be modeled includes depth information of pixels associated with the object to be modeled in each plane image of the plane image set; the processing unit 802 is configured to model the object to be modeled based on the boundary information of the object to be modeled and the depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled, specifically for:

[0146] Restoring the positions of the pixels associated with the objects to be modeled in three-dimensional space according to the depth information of the pixels associated with the objects to be modeled in each plane image;

[0147] Performing stitching processing on the actual boundary of the object to be modeled indicated by the first geometric boundary annotation information and the second geometric boundary annotation information to obtain a three-dimensional boundary line of the object to be modeled;

[0148] A three-dimensional model of the object to be modeled is generated using the three-dimensional boundary lines of the object to be modeled.

[0149] In one embodiment, the processing unit 802 is configured to generate a three-dimensional model of the object to be modeled based on the three-dimensional boundary line of the object to be modeled, specifically to:

[0150] Determining a grid template corresponding to the object to be modeled based on the topological classification of the three-dimensional boundary lines of the object to be modeled;

[0151] The grid template corresponding to the object to be modeled is cut based on the three-dimensional boundary line of the object to be modeled to obtain a three-dimensional model of the object to be modeled.

[0152] In one embodiment, the processing unit 802 is further configured to:

[0153] Obtaining smoothness constraints of the mesh template corresponding to the object to be modeled and restoration constraints of the object to be modeled;

[0154] Predicting mesh deformation parameters corresponding to the object to be modeled based on the position of the object to be modeled in three-dimensional space, smoothness constraints of the mesh template corresponding to the object to be modeled, and restoration constraints of the object to be modeled;

[0155] According to the mesh deformation parameters corresponding to the object to be modeled, the three-dimensional model of the object to be modeled is optimized to obtain a three-dimensional model after the model optimization.

[0156] In one embodiment, the object to be modeled is composed of M object elements, the plane image set includes a plane image of each object element at a first perspective and a plane image at a second perspective, where M is an integer greater than 1; the boundary information of the object to be modeled includes geometric boundary annotation information corresponding to each object element; the geometric boundary annotation information corresponding to each object element is used to indicate the actual boundary of the object element in the plane image at the first perspective and the plane image at the second perspective; the depth information of the object to be modeled includes depth information of the M object elements;

[0157] The processing unit 802 is configured to model the object to be modeled based on boundary information and depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled, specifically for:

[0158] Acquire a matching relationship between a planar image of the M object elements at a first viewing angle and a planar image of the M object elements at a second viewing angle;

[0159] Determining boundary information corresponding to each object element according to a matching relationship between the planar images of the M object elements at the first viewing angle and the planar images of the M object elements at the second viewing angle;

[0160] Modeling each object element according to boundary information of the object element and depth information of the object element to obtain a three-dimensional model of M object elements;

[0161] The three-dimensional models of the M object elements are stacked to obtain a three-dimensional model of the object to be modeled.

[0162] In one embodiment, the first planar image is either a front view or a back view of the object to be modeled, and the second planar image is the other of the front view and the back view of the object to be modeled except the first planar image. The processing unit 802 is configured to obtain a matching relationship between the planar image of the M object elements at the first viewing angle and the planar image of the M object elements at the second viewing angle, specifically to:

[0163] Performing view transformation processing on the planar images of the M object elements at the first perspective according to the second perspective to obtain M transformed views;

[0164] The matching relationship between the planar images of the M object elements at the first perspective and the planar images of the M object elements at the second perspective is determined by the similarity between the boundaries of the object elements in each transformed view and the boundaries of the object elements in the M planar images at the second perspective.

[0165] In one embodiment, each object element is associated with a layer identifier, and the layer identifier is used to indicate the display priority of the associated object element; the processing unit 802 is further configured to:

[0166] If the three-dimensional models of the at least two object elements have overlapping areas, determining the display priority of the three-dimensional models of the at least two object elements according to the layer identifiers associated with the at least two object elements;

[0167] The three-dimensional model of the object element with the highest display priority among the at least two object elements is displayed in the overlapping area.

[0168] In one embodiment, each object element is associated with a layer identifier, and the layer identifier is used to indicate the display priority of the associated object element. If it is detected that the three-dimensional models of at least two object elements are interspersed in the three-dimensional model of the object to be modeled, the processing unit 802 is further configured to:

[0169] performing mesh optimization processing on a mesh included in a three-dimensional model of at least one of the at least two object elements according to layer identifiers associated with the at least two object elements, to obtain a three-dimensional model of the object to be modeled after the mesh optimization processing;

[0170] Wherein, after the mesh optimization processing, the three-dimensional models of any two object elements in the three-dimensional model of the object to be modeled do not intersect with each other.

[0171] In one embodiment, the depth information of the object to be modeled is obtained by performing depth prediction processing on the planar images in the planar image set using a depth prediction model; the training process of the depth prediction model includes:

[0172] Use the depth prediction model to perform depth prediction processing on the target pixel points associated with the target object in the training image to obtain the depth prediction result corresponding to the target pixel point;

[0173] According to the depth prediction results of each target pixel, predict the normal vector of each target pixel;

[0174] The depth prediction model is jointly optimized based on the depth difference information and the normal vector difference information to obtain an optimized depth prediction model;

[0175] Among them, the depth difference information is obtained based on the difference between the depth prediction results of each target pixel point and the annotation results corresponding to the training image; the normal vector difference information is obtained based on the difference between the predicted normal vector of each target pixel point and the true normal vector of the target pixel point.

[0176] In one embodiment, the processing unit 802 is configured to obtain boundary information of the object to be modeled, specifically to:

[0177] Perform boundary detection on each plane image in the plane image set of the object to be modeled, and obtain the boundary of the object to be modeled in each plane image;

[0178] A geometric boundary recognition model is used to identify the boundaries of the object to be modeled in each plane image, and the geometric annotation information corresponding to each plane image is obtained.

[0179] According to one embodiment of the present application, some of the steps involved in the three-dimensional modeling method shown in Figures 2 and 5 can be performed by various units in the three-dimensional modeling device shown in Figure 8. For example, steps S201 and S202 shown in Figure 2 can be performed by the acquisition unit 801 shown in Figure 8, and steps S203 and S204 can be performed by the processing unit 802 shown in Figure 8; steps S501, S502, and S504 shown in Figure 5 can be performed by the acquisition unit 801 shown in Figure 8, and steps S503 and steps S505-S507 can be performed by the processing unit 802 shown in Figure 8. The various units in the three-dimensional modeling device shown in Figure 8 can be individually or completely combined into one or more other units to form a structure, or some of the units can be further divided into multiple functionally smaller units to form a structure, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In actual applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the three-dimensional modeling device may also include other units. In actual applications, these functions may also be implemented with the assistance of other units, and may be implemented by collaboration of multiple units.

[0180] According to another embodiment of the present application, a computer program (including program code) capable of executing the steps involved in the corresponding methods shown in Figures 2 and 5 can be run on a general-purpose computing device, such as a computer device, including processing elements and storage elements such as a central processing unit (CPU), a random access memory (RAM), and a read-only memory (ROM), to construct a three-dimensional modeling device as shown in Figure 8 and implement the three-dimensional modeling method of the embodiment of the present application. The computer program can be recorded on, for example, a computer-readable recording medium, and loaded into the computing device via the computer-readable recording medium and run therein.

[0181] Based on the same inventive concept, the principles and beneficial effects of solving the problems by the three-dimensional modeling device provided in the embodiment of the present application are similar to the principles and beneficial effects of solving the problems by the three-dimensional modeling method in the method embodiment of the present application. Please refer to the principles and beneficial effects of the implementation of the method. For the sake of concise description, they will not be repeated here.

[0182] Please refer to Figure 9, which is a structural diagram of a computer device provided in an embodiment of the present application. The computer device can be a terminal device or a server. As shown in Figure 9, the computer device includes at least a processor 901, a communication interface 902 and a memory 903. Among them, the processor 901, the communication interface 902 and the memory 903 can be connected via a bus or other means. Among them, the processor 901 (or the central processing unit (CPU)) is the computing core and control core of the computer device. It can parse various instructions within the computer device and process various data of the computer device. For example, the CPU can be used to parse the power on and off instructions issued by the object to the computer device and control the computer device to perform power on and off operations; for example, the CPU can transmit various types of interactive data between the internal structures of the computer device, etc. The communication interface 902 can optionally include a standard wired interface, a wireless interface (such as WI-FI, a mobile communication interface, etc.), which can be used to send and receive data under the control of the processor 901; the communication interface 902 can also be used for the transmission and interaction of data within the computer device. The memory 903 (Memory) is a memory device in the computer device for storing programs and data. It is understood that the memory 903 herein may include both the built-in memory of the computer device and, of course, the extended memory supported by the computer device. The memory 903 provides storage space that stores the operating system of the computer device, which may include, but is not limited to, Android, iOS, Windows Phone, etc., and this application does not limit this.

[0183] The embodiment of the present application also provides a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space that stores the processing system of the computer device. In addition, a computer program suitable for being loaded and executed by the processor 901 is also stored in the storage space. It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk storage; optionally, it can also be at least one computer-readable storage medium located away from the aforementioned processor.

[0184] In one embodiment, the processor 901 performs the following operations by running the computer program in the memory 903:

[0185] Acquire a set of plane images of the object to be modeled, the plane image set including a first plane image and a second plane image; the first plane image and the second plane image are plane images of the object to be modeled at different viewing angles;

[0186] Acquire boundary information of the object to be modeled, the boundary information including first geometric boundary annotation information and second geometric annotation information, the first geometric annotation information being used to indicate an actual boundary of the object to be modeled in the first plane image, and the second geometric annotation information being used to indicate an actual boundary of the object to be modeled in the second plane image;

[0187] Performing depth prediction processing on each of the plane images in the plane image set to obtain depth information of the object to be modeled;

[0188] The object to be modeled is modeled according to boundary information of the object to be modeled and depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled.

[0189] As an optional embodiment, the depth information of the object to be modeled includes depth information of pixel points associated with the object to be modeled in each plane image of the plane image set; the processor 901 models the object to be modeled based on the boundary information of the object to be modeled and the depth information of the object to be modeled, and a specific embodiment of obtaining a three-dimensional model of the object to be modeled is as follows:

[0190] Restoring the positions of the pixels associated with the objects to be modeled in three-dimensional space according to the depth information of the pixels associated with the objects to be modeled in each plane image;

[0191] Performing stitching processing on the actual boundary of the object to be modeled indicated by the first geometric boundary annotation information and the second geometric boundary annotation information to obtain a three-dimensional boundary line of the object to be modeled;

[0192] A three-dimensional model of the object to be modeled is generated using the three-dimensional boundary lines of the object to be modeled.

[0193] As an optional embodiment, a specific embodiment of the processor 901 generating a three-dimensional model of the object to be modeled by using the three-dimensional boundary line of the object to be modeled is as follows:

[0194] Determining a grid template corresponding to the object to be modeled based on the topological classification of the three-dimensional boundary lines of the object to be modeled;

[0195] The grid template corresponding to the object to be modeled is cut based on the three-dimensional boundary line of the object to be modeled to obtain a three-dimensional model of the object to be modeled.

[0196] As an optional embodiment, the processor 901 further performs the following operations by running the computer program in the memory 903:

[0197] Obtaining smoothness constraints of the mesh template corresponding to the object to be modeled and restoration constraints of the object to be modeled;

[0198] Predicting mesh deformation parameters corresponding to the object to be modeled based on the position of the object to be modeled in three-dimensional space, smoothness constraints of the mesh template corresponding to the object to be modeled, and restoration constraints of the object to be modeled;

[0199] According to the mesh deformation parameters corresponding to the object to be modeled, the three-dimensional model of the object to be modeled is optimized to obtain a three-dimensional model after the model optimization.

[0200] As an optional embodiment, the object to be modeled is composed of M object elements, the plane image set includes a plane image of each object element at a first perspective and a plane image at a second perspective, and M is an integer greater than 1; the boundary information of the object to be modeled includes geometric boundary annotation information corresponding to each object element; the geometric boundary annotation information corresponding to each object element is used to indicate the actual boundary of the object element in the plane image at the first perspective and the plane image at the second perspective; the depth information of the object to be modeled includes depth information of the M object elements;

[0201] The processor 901 models the object to be modeled according to the boundary information of the object to be modeled and the depth information of the object to be modeled. A specific embodiment of obtaining a three-dimensional model of the object to be modeled is as follows:

[0202] Acquire a matching relationship between a planar image of the M object elements at a first viewing angle and a planar image of the M object elements at a second viewing angle;

[0203] Determining boundary information corresponding to each object element according to a matching relationship between the planar images of the M object elements at the first viewing angle and the planar images of the M object elements at the second viewing angle;

[0204] Modeling each object element according to boundary information of the object element and depth information of the object element to obtain a three-dimensional model of M object elements;

[0205] The three-dimensional models of the M object elements are stacked to obtain a three-dimensional model of the object to be modeled.

[0206] As an optional embodiment, the first planar image is either a front view or a back view of the object to be modeled, and the second planar image is the other of the front view and the back view of the object to be modeled except the first planar image. A specific embodiment in which the processor 901 obtains a matching relationship between the planar image of M object elements at the first viewing angle and the planar image of M object elements at the second viewing angle is as follows:

[0207] Performing view transformation processing on the planar images of the M object elements at the first perspective according to the second perspective to obtain M transformed views;

[0208] The matching relationship between the planar images of the M object elements at the first perspective and the planar images of the M object elements at the second perspective is determined by the similarity between the boundaries of the object elements in each transformed view and the boundaries of the object elements in the M planar images at the second perspective.

[0209] As an optional embodiment, each object element is associated with a layer identifier, and the layer identifier is used to indicate the display priority of the associated object element; the processor 901 further performs the following operations by running the computer program in the memory 903:

[0210] If the three-dimensional models of the at least two object elements have overlapping areas, determining the display priority of the three-dimensional models of the at least two object elements according to the layer identifiers associated with the at least two object elements;

[0211] The three-dimensional model of the object element with the highest display priority among the at least two object elements is displayed in the overlapping area.

[0212] As an optional embodiment, each object element is associated with a layer identifier, and the layer identifier is used to indicate the display priority of the associated object element. If it is detected that the three-dimensional models of at least two object elements are interspersed with each other in the three-dimensional model of the object to be modeled, the processor 901 further performs the following operations by running the computer program in the memory 903:

[0213] performing mesh optimization processing on a mesh included in a three-dimensional model of at least one of the at least two object elements according to layer identifiers associated with the at least two object elements, to obtain a three-dimensional model of the object to be modeled after the mesh optimization processing;

[0214] Wherein, after the mesh optimization processing, the three-dimensional models of any two object elements in the three-dimensional model of the object to be modeled do not intersect with each other.

[0215] As an optional embodiment, the depth information of the object to be modeled is obtained by performing depth prediction processing on the planar images in the planar image set using a depth prediction model; the training process of the depth prediction model includes:

[0216] Use the depth prediction model to perform depth prediction processing on the target pixel points associated with the target object in the training image to obtain the depth prediction result corresponding to the target pixel point;

[0217] According to the depth prediction results of each target pixel, predict the normal vector of each target pixel;

[0218] The depth prediction model is jointly optimized based on the depth difference information and the normal vector difference information to obtain an optimized depth prediction model;

[0219] Among them, the depth difference information is obtained based on the difference between the depth prediction results of each target pixel point and the annotation results corresponding to the training image; the normal vector difference information is obtained based on the difference between the predicted normal vector of each target pixel point and the true normal vector of the target pixel point.

[0220] As an optional embodiment, the specific embodiment of the processor 901 obtaining the boundary information of the object to be modeled is:

[0221] Perform boundary detection on each plane image in the plane image set of the object to be modeled, and obtain the boundary of the object to be modeled in each plane image;

[0222] A geometric boundary recognition model is used to identify the boundaries of the object to be modeled in each plane image, and the geometric annotation information corresponding to each plane image is obtained.

[0223] Based on the same inventive concept, the principles and beneficial effects of solving the problems provided by the computer device in the embodiment of the present application are similar to the principles and beneficial effects of solving the problems provided by the three-dimensional modeling method in the method embodiment of the present application. Please refer to the principles and beneficial effects of the implementation of the method. For the sake of concise description, they will not be repeated here.

[0224] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. The computer program is suitable for being loaded by a processor and executing the three-dimensional modeling method of the above method embodiment.

[0225] The present application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-described three-dimensional modeling method.

[0226] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0227] The modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0228] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, which can include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0229] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made in accordance with the claims of this application are still within the scope covered by the application.

Claims

1. A three-dimensional modeling method, characterized in that: The method comprises: Acquire a plane image set of the object to be modeled, the plane image set comprising a first plane image and a second plane image; the first plane image and the second plane image are plane images of the object to be modeled at different viewing angles; Acquire boundary information of the object to be modeled, the boundary information comprising first geometric boundary annotation information and second geometric annotation information, the first geometric annotation information being used to indicate an actual boundary of the object to be modeled in the first plane image, and the second geometric annotation information being used to indicate an actual boundary of the object to be modeled in the second plane image; Performing depth prediction processing on the plane images in the plane image set respectively to obtain depth information of the object to be modeled; The object to be modeled is modeled according to the boundary information of the object to be modeled and the depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled.

2. The method according to claim 1, characterized in that The depth information of the object to be modeled includes depth information of pixel points associated with the object to be modeled in each plane image of the plane image set; modeling the object to be modeled according to the boundary information of the object to be modeled and the depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled, including: Restoring the positions of the pixel points associated with the object to be modeled in three-dimensional space according to the depth information of the pixel points associated with the object to be modeled in each plane image; Performing stitching processing on the actual boundary of the object to be modeled indicated by the first geometric boundary annotation information and the second geometric boundary annotation information to obtain a three-dimensional boundary line of the object to be modeled; the stitching processing includes: connecting pixel points in three-dimensional space corresponding to the actual boundary of the object to be modeled indicated by the first geometric boundary annotation information and the second geometric boundary annotation information; A three-dimensional model of the object to be modeled is generated using the three-dimensional boundary line of the object to be modeled.

3. The method according to claim 2, characterized in that The step of generating a three-dimensional model of the object to be modeled by using the three-dimensional boundary line of the object to be modeled comprises: Determining a grid template corresponding to the object to be modeled according to the topological classification of the three-dimensional boundary lines of the object to be modeled; The grid template corresponding to the object to be modeled is cut based on the three-dimensional boundary line of the object to be modeled to obtain a three-dimensional model of the object to be modeled.

4. The method according to claim 3, characterized in that The method further comprises: Obtaining a smoothness constraint condition of a grid template corresponding to the object to be modeled and a restoration degree constraint condition of the object to be modeled; Predicting mesh deformation parameters corresponding to the object to be modeled according to the position of the object to be modeled in the three-dimensional space, the smoothness constraint of the mesh template corresponding to the object to be modeled, and the restoration constraint of the object to be modeled; According to the mesh deformation parameters corresponding to the object to be modeled, the three-dimensional model of the object to be modeled is optimized to obtain a three-dimensional model after the model optimization.

5. The method according to claim 1, characterized in that The object to be modeled is composed of M object elements, the plane image set includes a plane image of each object element at a first viewing angle and a plane image at a second viewing angle, and M is an integer greater than 1; the boundary information of the object to be modeled includes geometric boundary annotation information corresponding to each object element; the geometric boundary annotation information corresponding to each object element is used to indicate the actual boundary of the object element in the plane image at the first viewing angle and the plane image at the second viewing angle; the depth information of the object to be modeled includes the depth information of the M object elements; The step of modeling the object to be modeled according to the boundary information of the object to be modeled and the depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled includes: Acquire a matching relationship between a plane image of the M object elements at a first viewing angle and a plane image of the M object elements at a second viewing angle; Determining boundary information corresponding to each object element according to a matching relationship between the plane images of the M object elements at the first viewing angle and the plane images of the M object elements at the second viewing angle; Modeling each object element according to boundary information of each object element and depth information of the object element to obtain a three-dimensional model of the M object elements; The three-dimensional models of the M object elements are stacked to obtain a three-dimensional model of the object to be modeled.

6. The method according to claim 5, characterized in that The first plane image is any one of a front view and a back view of the object to be modeled, and the second plane image is the other of the front view and the back view of the object to be modeled except the first plane image; the obtaining of the matching relationship between the plane image of the M object elements at the first viewing angle and the plane image of the M object elements at the second viewing angle includes: Performing view transformation processing on the plane images of the M object elements at the first viewing angle according to the second viewing angle to obtain M transformed views; The matching relationship between the plane images of the M object elements at the first perspective and the plane images of the M object elements at the second perspective is determined by the similarity between the boundaries of the object elements in each transformed view and the boundaries of the object elements in the M plane images at the second perspective.

7. The method according to claim 5, characterized in that Each object element is associated with a layer identifier, and the layer identifier is used to indicate the display priority of the associated object element; the method further includes: If the three-dimensional models of at least two object elements have overlapping areas, determining the display priority of the three-dimensional models of the at least two object elements according to the layer identifiers associated with the at least two object elements; The three-dimensional model of the object element having the highest display priority among the at least two object elements is displayed in the overlapped area.

8. The method according to claim 5, characterized in that Each object element is associated with a layer identifier, and the layer identifier is used to indicate the display priority of the associated object element; if it is detected that the three-dimensional models of at least two object elements are interspersed with each other in the three-dimensional model of the object to be modeled, the method further includes: According to the layer identifiers associated with the at least two object elements, mesh optimization processing is performed on the mesh included in the three-dimensional model of at least one of the at least two object elements to obtain a three-dimensional model of the object to be modeled after the mesh optimization processing; Wherein, after the mesh optimization processing, the three-dimensional models of any two object elements in the three-dimensional model of the object to be modeled do not intersect with each other.

9. The method according to claim 1, characterized in that The depth information of the object to be modeled is obtained by performing depth prediction processing on the plane images in the plane image set respectively using a depth prediction model; The training process of the depth prediction model includes: Using a depth prediction model to perform depth prediction processing on target pixel points associated with a target object in a training image to obtain a depth prediction result corresponding to the target pixel point; According to the depth prediction results of each target pixel, predict the normal vector of each target pixel; Jointly optimizing the depth prediction model based on the depth difference information and the normal vector difference information to obtain an optimized depth prediction model; Among them, the depth difference information is obtained based on the difference between the depth prediction results of each target pixel point and the annotation results corresponding to the training image; the normal vector difference information is obtained based on the difference between the predicted normal vector of each target pixel point and the true normal vector of the target pixel point.

10. The method according to claim 1, characterized in that The step of obtaining boundary information of the object to be modeled includes: Performing boundary detection on the plane images in the plane image set of the object to be modeled respectively to obtain the boundary of the object to be modeled in each plane image; A geometric boundary recognition model is used to recognize the boundaries of the object to be modeled in each plane image, so as to obtain geometric annotation information corresponding to each plane image.

11. A three-dimensional modeling device, characterized in that: The three-dimensional modeling device comprises: An acquisition unit, configured to acquire a set of plane images of the object to be modeled, wherein the set of plane images includes a first plane image and a second plane image; the first plane image and the second plane image are plane images of the object to be modeled at different viewing angles; and for obtaining boundary information of the object to be modeled, the boundary information comprising first geometric boundary annotation information and second geometric annotation information, the first geometric annotation information being used to indicate an actual boundary of the object to be modeled in the first plane image, and the second geometric annotation information being used to indicate an actual boundary of the object to be modeled in the second plane image; A processing unit, configured to perform depth prediction processing on the plane images in the plane image set respectively to obtain depth information of the object to be modeled; And it is used to model the object to be modeled according to the boundary information of the object to be modeled and the depth information of the object to be modeled to obtain a three-dimensional model of the object to be modeled.

12. A computer device, characterized in that: include: Memory and processor; a memory, wherein a computer program is stored in the memory; A processor, used to load the computer program to implement the three-dimensional modeling method as described in any one of claims 1-10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the three-dimensional modeling method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Model reconstruction method and device, equipment and storage medium

    CN114782647A

  • Three-dimensional model reconstruction method and device based on point cloud, equipment and storage medium

    CN114863060A

  • Three-dimensional modeling method, device and equipment and storage medium

    CN115861572A

  • Method and apparatus for generating information

    US20200126315A1