Method and system for generating chartlet of three-dimensional model based on artificial intelligence
Using deep learning technology to extract features and generate semantic labels from video data solves the problems of low manual production efficiency and insufficient automatic generation of 3D model texture maps, achieving high-fidelity and flexible texture generation, which is suitable for large-scale virtual environments.
Patent Information
- Application Number
- CN202310221437.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-08
- Publication Date
- 2024-09-10
AI Technical Summary
In the existing technology, the texture maps of 3D models mainly rely on manual production, which results in a huge and repetitive workload in large-scale virtual environments. Moreover, automated generation technology is difficult to achieve flexible editing and high-fidelity image presentation, and has defects such as singleness, distortion, and duplication.
By acquiring video image data, performing feature extraction and 3D reconstruction, using deep learning to generate semantic labels, and generating maps based on the parameterized functions and scene space construction of the 3D model, the map generation of the 3D model surface is achieved.
It achieves editable, scale-adaptive, non-template combined image generation, avoids the defects of singleness, distortion, and repetition of traditional methods, ensures the geometric consistency of textures and scene data consistency, and provides flexible texture map creation capabilities.
Smart Images

Figure CN118628629A
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of image processing, and more specifically, to a method and system for generating a map of a three-dimensional model based on artificial intelligence, and an electronic device and a computer-readable storage medium thereof. Background Art
[0002] With the development of computer-aided design (CAD) technology, the applications of augmented reality (AR), virtual reality (VR), naked-eye 3D (3D), mixed reality (MR) and extended reality (XR) are becoming more and more perfect, triggering the rapid maturity of various 3D visual products and applications. The key factor for the perfect presentation of such visual technologies and products is a three-dimensional model with realistic texture and normal scale. Correctly mapping the texture of the model is a prerequisite for the entire project.
[0003] There are many common texture mapping methods, and various rendering engines and packages provide classic virtual mapping technologies. Traditional texture mapping is done manually by artists. The production of texture mapping in the industry is still at the labor-intensive stage of manual production and high labor costs. If it is in a large-scale virtual environment, the workload of mapping will be huge and repetitive. The automatic generation of textures has rarely been proposed at home and abroad.
[0004] As image technology has developed to date, in order to meet the growing data needs of engineering projects, the method commonly used in automatic map generation technology is to use various templates as preset inputs, and then repeatedly combine them to achieve map generation. However, this rigid map generation method is difficult to achieve flexible editing and high-fidelity image presentation, and has defects such as singleness, distortion, and repetition in content expression. Summary of the invention
[0005] The present disclosure provides a method and system for generating a map of a three-dimensional model, as well as an electronic device and a computer-readable storage medium, so as to at least solve the problems in the above-mentioned related technologies, or may not solve any of the above-mentioned problems.
[0006] According to a first aspect of an embodiment of the present disclosure, a method for generating a map of a three-dimensional model is provided, and the method may include: acquiring image data of a video; determining a parameterized function of a three-dimensional model corresponding to an object in the video by performing feature extraction on the image data; performing three-dimensional reconstruction of a scene in the video based on focal stack data of each frame of the video, internal camera parameters, and spatial data of the three-dimensional model to generate a three-dimensional scene space; generating a semantic label for each frame of the video by classifying and identifying the image data based on deep learning; and generating a map of the surface of the three-dimensional model corresponding to the semantic label based on deep learning according to the parameterized function of the three-dimensional model, the construction of the three-dimensional scene space, and the semantic label.
[0007] Optionally, the step of determining the parameterized function of the three-dimensional model in the video may include: performing feature extraction on the image data to obtain contour data of the three-dimensional model in the video; and determining the parameterized function of the three-dimensional model based on the contour data.
[0008] Optionally, the step of generating a three-dimensional scene space may further include: using the camera internal parameters to splice image data of each frame of the video to optimize the generated three-dimensional scene space.
[0009] Optionally, the spatial data of the three-dimensional model may include posture data of the three-dimensional model and the scale of the three-dimensional model.
[0010] Optionally, the method may further include: when the semantic label corresponding to the surface of the three-dimensional model is changed to another semantic label, generating a map of the surface of the three-dimensional model corresponding to the other semantic label based on deep learning.
[0011] According to a second aspect of an embodiment of the present disclosure, a system for generating a map of a three-dimensional model is provided, and the system may include: a data acquisition module, configured to acquire image data of a video; a three-dimensional model parameterization module, configured to determine a parameterization function of the three-dimensional model in the video by performing feature extraction on the image data; a three-dimensional scene space generation module, configured to perform three-dimensional reconstruction of the scene of the video based on focal stack data of each frame of the video, internal camera parameters, and spatial data of the three-dimensional model to generate a three-dimensional scene space; a semantic label generation module, configured to generate a semantic label for each frame of the video by classifying and identifying the image data based on deep learning; and a map generation module, configured to generate a map of the surface of the three-dimensional model corresponding to the semantic label based on deep learning according to the parameterization function of the three-dimensional model, the construction of the three-dimensional scene space, and the semantic label.
[0012] Optionally, the three-dimensional model parameterization module may be configured to: perform feature extraction on the image data to obtain contour data of the three-dimensional model in the video; and determine a parameterization function of the three-dimensional model based on the contour data.
[0013] Optionally, the three-dimensional scene space generation module may also be configured to: use the camera internal parameters to splice the image data of each frame of the video to optimize the generated three-dimensional scene space.
[0014] Optionally, the spatial data of the three-dimensional model may include posture data of the three-dimensional model and the scale of the three-dimensional model.
[0015] Optionally, the system may further include: when the semantic label corresponding to the surface of the three-dimensional model is changed to another semantic label, generating a map of the surface of the three-dimensional model corresponding to the other semantic label based on deep learning.
[0016] According to a third aspect of the present disclosure, an electronic device is provided, which may include: at least one processor; at least one memory storing computer-executable instructions, wherein the computer-executable instructions, when executed by at least one of the processors, cause at least one of the processors to execute the method for generating a map of a three-dimensional model.
[0017] According to a fourth aspect of the present disclosure, a computer-readable storage medium storing instructions is provided, wherein when the instructions are executed by at least one processor, the at least one processor is prompted to execute the method for generating a map of a three-dimensional model.
[0018] According to the embodiments of the present disclosure, an editable, scale-adaptive, non-template combination image generation technology is provided. First, based on the parameterized function of the three-dimensional model corresponding to the object in the video scene, the structure of the reconstructed three-dimensional scene space and the identified semantic label, a surface map of the three-dimensional model corresponding to the semantic label is generated based on deep learning, thereby avoiding the defects of the traditional image generation method in content expression such as singleness, distortion, and repetition, so that the generated map accurately maintains geometric consistency and scene data consistency in scale, so that the map content of each side of the three-dimensional model finally matches each other, and a unified model content expression is completed. In addition, when the semantic label corresponding to the surface of the three-dimensional model is changed to another semantic label, the surface map of the three-dimensional model corresponding to the other semantic label can be generated based on deep learning, thereby enabling the image content to be flexibly changed, allowing the free editing of the map content, and providing more rich materials for the creation of texture maps of the three-dimensional model. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1is a flow chart illustrating a method for generating a map of a three-dimensional model according to an example embodiment of the present disclosure;
[0020] Figure 2 A diagram showing a map corresponding to a semantic tag generated according to an example embodiment of the present disclosure;
[0021] Figure 3 is a schematic block diagram illustrating a system for generating a map of a three-dimensional model according to an example embodiment of the present disclosure; and
[0022] Figure 4 is a schematic block diagram illustrating an electronic device according to an example embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation methods described in the following examples do not represent all implementation methods consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims.
[0025] It should be noted that the phrase "at least one of the items" in the present disclosure includes three types of parallel situations: "any one of the items", "a combination of any number of the items", and "all of the items". For example, "including at least one of A and B" includes the following three parallel situations: (1) including A; (2) including B; (3) including A and B. Another example is "executing at least one of step 1 and step 2" which means the following three parallel situations: (1) executing step 1; (2) executing step 2; (3) executing step 1 and step 2.
[0026] Usually, the texture of a 3D model is manually produced by an artist. If it is in a large-scale virtual environment, the workload of the artist will be huge and repetitive. The main purpose of the present invention is to automate the texture production process of a 3D model, which can improve the efficiency of texture production on the one hand, and enrich the types of textures through automated texture technology on the other hand, and complete the free and flexible conversion of 3D model styles.
[0027] Figure 1 A flowchart of a method for generating a map of a three-dimensional model according to an example embodiment of the present disclosure is shown.
[0028] In step 110, image data of the video may be obtained. That is, image data of a plurality of frames may be obtained. Here, the plurality of frames may be a plurality of images captured by a real camera, or a plurality of images captured by a virtual camera in a virtual three-dimensional environment. The camera described below may refer to a virtual camera or a real camera. The camera may be filmed by moving the camera to film a specific scene containing a specific object, but the present disclosure is not limited thereto. For example, the camera may be fixed at a specific position to film a dynamic scene, and so on.
[0029] In an example embodiment of the present disclosure, a camera may capture a video of a target object according to a preset motion trajectory. For example, in some embodiments, the preset motion trajectory may be an irregular random path, and in some embodiments, the preset motion trajectory may also be a regular specific path. For example, according to the requirements of some application scenarios, the preset motion trajectory may be configured to be at the same horizontal position of the target object to be captured, or the preset motion trajectory may also be configured to be at the same horizontal position of the target object to be captured and the distance between each point on the preset motion trajectory and the target object is the same (for example, the distance between each point on the trajectory and the center point or surface point of the target object is the same). When the camera shoots according to the preset motion trajectory, the optical axis of the camera may be configured to always coincide with the center point of the target object, or to always coincide with the center point of a certain horizontal plane of the target object, and the camera may also be controlled to always face the target object to capture video. In some embodiments, the camera may only shoot the scene / object from above, below, or sideways, or may shoot any combination of above, below, and sideways, but the present disclosure is not limited to this. In special circumstances, the camera may shoot the scene / object at 180 degrees or even 360 degrees.
[0030] Each frame of the video can be tile-level or block-level composed of multiple tiles. For example, the preset size of the tile can be x*x pixels (for example, x=256, 512 or 1024, etc.), and the size of the corresponding block can be n·(x*x) pixels (for example, n=10, 100 or 1000, etc.). In other words, each frame of the image can be large-scale, for example, a ten-kilometer-level image (such as an aerial image of a certain province, city, or district) or a hundred-kilometer-level, thousand-kilometer-level, or even larger image; it can also be small-scale, such as Figure 2 As shown (e.g., one-meter-level image).
[0031] After the image data of the video is acquired, since the final presentation effect of the mapping of the three-dimensional model corresponding to the object in the video does not depend on the construction of the three-dimensional model, if the mapping work needs to be completed at a specific viewing angle, the three-dimensional model must be parameterized and estimated. Therefore, in step 120, the parameterization function of the three-dimensional model corresponding to the object in the video can be determined by extracting features from the image data. In the present disclosure, a unified three-dimensional model parameterization estimation method can be used for each side of the three-dimensional model, that is, feature extraction is performed on the image data to obtain the contour data of the three-dimensional model in the video, and the parameterization function of the three-dimensional model can be determined based on the contour data. According to the present disclosure, the 3D coordinate value of the three-dimensional model can be restored based on the contour data, thereby estimating the parameterization function of the three-dimensional space data of each side of the three-dimensional model in the three-dimensional space (for example, Euclidean space, etc.). However, those skilled in the art should understand that the operation of determining the parameterization function of the three-dimensional model is not limited to this. In some embodiments, the polar coordinate parameters of the light rays in the pattern corresponding to the optical encoding component in the image data can be obtained, and the characteristic direction of the three-dimensional model can be confirmed based on the polar coordinate parameters; based on the characteristic direction of the three-dimensional model, the polar coordinate parameters of the light rays identified in the image data are used as input to a deep learning model, and the 3D coordinates of the three-dimensional model are determined according to the output of the deep learning model.
[0032] The above step 120 solves the scale problem of the 3D model. Its output directly affects the size of the final texture and the matching degree of the seams of the 3D model, ensuring the geometric consistency of the 3D model in the scene after the texture is applied. Figure 1 In order to achieve the above-mentioned goal, the 3D model must match the style of other 3D models in the scene. Therefore, it is necessary to estimate the scale factor at the 3D scene level to complete the scene scale estimation.
[0033] Considering that different three-dimensional models are projected to different image positions of the imaging perspective, and considering that the scene must have angle rotation and translation, in step 130, the scene of the video can be three-dimensionally reconstructed based on the focal stack data of each frame of the video, the camera internal parameters, and the spatial data of the three-dimensional model to generate a three-dimensional scene space. The spatial data of the three-dimensional model includes the posture data of the three-dimensional model and the scale of the three-dimensional model. The posture data of the target three-dimensional model may include a position vector and a rotation matrix. The posture data of the target three-dimensional model in the two-dimensional image can be calculated by an equivalent rotation vector method or a direction cosine matrix method.
[0034] Furthermore, the camera internal parameters can be used again to stitch the image data of each frame of the video to optimize the generated three-dimensional scene space, thereby solving the visual drifting caused by the combined effect of different focal lengths and image level scale factors, and ultimately making each frame of the video together form an equivalent visual imaging system.
[0035] In step 140, the semantic label of each frame of the video can be generated by classifying and identifying the image data based on deep learning. In other words, the image data such as the model texture perceived in the video sequence (each frame of the video) can be classified and identified through deep learning, so as to output the corresponding semantic label.
[0036] In step 150, a map of the surface of the three-dimensional model corresponding to the semantic label can be generated based on deep learning according to the parameterized function of the three-dimensional model, the construction of the three-dimensional scene space and the generated semantic label. In some embodiments, a map of the upper surface of the three-dimensional model corresponding to the corresponding semantic label can be generated based on deep learning. Figure 2 Describe in detail.
[0037] Figure 2 A diagram showing a map corresponding to a semantic tag generated according to an example embodiment of the present disclosure.
[0038] like Figure 2 As shown in (a), region 1 corresponds to semantic label 1, region 2 corresponds to semantic label 2, region 3 corresponds to semantic label 3, region 4 corresponds to semantic label 4, and other regions also correspond to their own semantic labels (not shown). Based on the above semantic labels, the deep learning model can generate Figure 2 The map shown in (b), for example, Figure 2 The area 11 in (b) (eg, cement floor image) corresponds to Figure 2 In (a), the semantic label 1, region 22 (e.g., the grass image) corresponds to Figure 2 In (a), the semantic label 2, region 33 (e.g., the staircase image) corresponds to Figure 2 In the semantic label 3 of (a), region 44 (eg, platform image) corresponds to Figure 2 Semantic label 4 in (a).
[0039] Those skilled in the art will understand that Figure 2 The types, quantity, scales, and combinations of the semantic labels in are merely exemplary, and the present disclosure is not limited thereto. For example, in order to improve the realism of the map, the types of semantic labels can be further refined. For another example, for large-scale complex images, the types, quantity, or scales of semantic labels will increase. In addition, Figure 2Only the top surface of the 3D model is mapped, but in some embodiments, the side surface of the 3D model corresponding to the corresponding semantic label can also be mapped. In addition, the side surface and top surface of the 3D model can also be mapped in parallel or sequentially.
[0040] The present invention uses three-dimensional data as the data dimension for deep learning to generate a two-dimensional texture image, so that the generated texture image content maintains a better matching degree in high dimensions, solving the adaptation problem of the model texture under different surfaces and viewing angles.
[0041] On the other hand, due to the use of image classification technology, the flexible application of semantic tags makes it possible to edit image content. When the semantic tag corresponding to the surface of the three-dimensional model is changed to another semantic tag, a map of the surface of the three-dimensional model corresponding to the other semantic tag is generated based on deep learning. In some embodiments, the user can change a specific semantic tag to another semantic tag or a combination of other different semantic tags, and the deep learning model can generate a corresponding map based on the changed semantic tag. In some embodiments, semantic labels can be automatically changed according to different application scenarios. For example, in garden design, the combination of semantic labels can be automatically changed based on deep learning according to basic area planning to generate different maps, thereby generating several different garden design schemes.
[0042] Figure 3 3 is a schematic block diagram of a system 300 for generating a map of a three-dimensional model according to an example embodiment of the present disclosure. The system 300 may include a data acquisition module 310, a three-dimensional model parameterization module 320, a three-dimensional scene space generation module 330, a semantic tag generation module 340, and a map generation module 350. The system 300 may be installed in various electronic devices to parse data, or various modules in the system 300 may implement corresponding functions in a separate manner, or the system 300 may be distributed online or in the cloud for use by users.
[0043] According to an example embodiment of the present disclosure, the data acquisition module 310 may be configured to acquire image data of a video. The three-dimensional model parameterization module 320 may be configured to determine the parameterization function of the three-dimensional model in the video by extracting features from the image data. The three-dimensional scene space generation module 330 may be configured to perform three-dimensional reconstruction of the scene of the video based on the focal stack data of each frame of the video, the camera internal parameters, and the spatial data of the three-dimensional model to generate a three-dimensional scene space. The semantic label generation module 340 may be configured to generate a semantic label for each frame of the video by classifying and identifying the image data based on deep learning. The map generation module 350 may be configured to generate a map of the surface of the three-dimensional model corresponding to the semantic label based on deep learning according to the parameterization function of the three-dimensional model, the construction of the three-dimensional scene space, and the semantic label.
[0044] According to an example embodiment of the present disclosure, the 3D model parameterization module 320 may be configured to: extract features from the image data to obtain contour data of the 3D model in the video; and determine a parameterization function of the 3D model based on the contour data.
[0045] According to an example embodiment of the present disclosure, the 3D scene space generation module 330 may also be configured to: use the camera internal parameters to stitch the image data of each frame of the video to optimize the generated 3D scene space.
[0046] According to an example embodiment of the present disclosure, the spatial data of the three-dimensional model may include posture data of the three-dimensional model and a scale of the three-dimensional model.
[0047] According to an example embodiment of the present disclosure, the system 300 may further include: when the semantic label corresponding to the surface of the three-dimensional model is changed to another semantic label, generating a map of the surface of the three-dimensional model corresponding to the other semantic label based on deep learning.
[0048] Various modules according to example embodiments of the present disclosure may be integrated into a single module that performs its functions, or at least one of the various modules may be divided into a plurality of smaller modules.
[0049] Figure 4 is a schematic block diagram illustrating an electronic device 400 according to an example embodiment of the present disclosure.
[0050] According to an exemplary embodiment of the present disclosure, an electronic device 400 may also be provided, and the electronic device 400 may include a processor 410 and a memory 420 storing computer executable instructions. When the computer executable instructions are executed by the processor 410, the processor 410 is prompted to perform a method for generating a map of a three-dimensional model according to an exemplary embodiment of the present disclosure.
[0051] At least one of the above-mentioned multiple modules can be implemented by an artificial intelligence (AI) model. Functions associated with AI can be executed by a non-volatile memory, a volatile memory, and a processor.
[0052] The processor may include one or more processors. In this case, the one or more processors may be general-purpose processors, such as a central processing unit (CPU), an application processor (AP), etc., a processor used only for graphics (such as a graphics processing unit (GPU), a visual processing unit (VPU) and / or an AI-specific processor (such as a neural processing unit (NPU)).
[0053] One or more processors control the processing of input data according to predefined operating rules or artificial intelligence (AI) models stored in non-volatile memory and volatile memory. The predefined operating rules or artificial intelligence models can be provided by training or learning. Here, providing by learning means that by applying a learning algorithm to multiple learning data, a predefined operating rule or AI model with desired characteristics is formed. Learning can be performed in the device itself that executes AI according to an embodiment, and / or can be implemented by a separate server / device / system.
[0054] A learning algorithm is a method of using multiple learning data to train a predetermined target device (e.g., a robot) to enable, allow, or control the target device to make a determination or prediction. Examples of learning algorithms include, but are not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning.
[0055] The artificial intelligence model can be obtained through training. Here, "obtained through training" means training a basic artificial intelligence model with multiple training data through a training algorithm to obtain a predefined operating rule or artificial intelligence model, which is configured to perform the desired features (or purposes).
[0056] As an example, the artificial intelligence model may include multiple neural network layers. Each of the multiple neural network layers includes multiple weight values, and the neural network calculation is performed by calculating between the calculation result of the previous layer and the multiple weight values. Examples of neural networks include, but are not limited to, convolutional neural networks (CNNs), deep neural networks (DNNs), recurrent neural networks (RNNs), restricted Boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), generative adversarial networks (GANs), and deep Q networks.
[0057] According to an embodiment of the present disclosure, a computer-readable storage medium storing instructions may also be provided, wherein when the instructions are executed by at least one processor, the at least one processor is prompted to perform a method according to an exemplary embodiment of the present disclosure. Examples of computer-readable storage media here include: read-only memory (ROM), random access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD+R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or optical disk storage, hard disk drive (HDD), solid state drive (SSD), card storage (such as, multimedia card, secure digital (SD) card or extreme digital (XD) card), magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk and any other device, any other device is configured to store computer programs and any associated data, data files and data structures in a non-transitory manner and provide the computer programs and any associated data, data files and data structures to a processor or computer so that the processor or computer can execute the computer program. The computer program in the above-mentioned computer-readable storage medium can be run in an environment deployed in a computer device such as a client, a host, an agent device, a server, etc. In addition, in one example, the computer program and any associated data, data files and data structures are distributed on a networked computer system, so that the computer program and any associated data, data files and data structures are stored, accessed and executed in a distributed manner by one or more processors or computers.
[0058] According to an embodiment of the present disclosure, a computer program product may also be provided. Instructions in the computer program product may be executed by at least one processor in an electronic device to perform the method according to the exemplary embodiment of the present disclosure.
[0059] The present disclosure proposes an editable, scale-adaptive, non-template-combined image generation technology.
[0060] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0061] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the claims.
Claims
1. A method for generating a texture for a three-dimensional model, include: Get the image data of the video; Determine a parameterized function of a three-dimensional model corresponding to an object in the video by performing feature extraction on the image data; Based on the focal stack data of each frame of the video, the camera internal parameters, and the spatial data of the three-dimensional model, a scene of the video is three-dimensionally reconstructed to generate a three-dimensional scene space; Generating a semantic label for each frame of the video by classifying and identifying the image data based on deep learning; as well as According to the parameterized function of the three-dimensional model, the structure of the three-dimensional scene space and the semantic label, a map of the surface of the three-dimensional model corresponding to the semantic label is generated based on deep learning.
2. The method according to claim 1, in, The step of determining the parameterized function of the three-dimensional model in the video comprises: Extracting features from the image data to obtain contour data of the three-dimensional model in the video; and Based on the contour data, a parameterized function of the three-dimensional model is determined.
3. The method according to claim 1, in, The steps of generating a three-dimensional scene space also include: The image data of each frame of the video is spliced using the camera internal parameters to optimize the generated three-dimensional scene space.
4. The method according to claim 1, in, The spatial data of the three-dimensional model includes posture data of the three-dimensional model and the scale of the three-dimensional model.
5. The method according to claim 1, further comprising: include: When the semantic label corresponding to the surface of the three-dimensional model is changed to another semantic label, a map of the surface of the three-dimensional model corresponding to the another semantic label is generated based on deep learning.
6. A system for generating textures for three-dimensional models, include: A data acquisition module is configured to acquire image data of a video; A three-dimensional model parameterization module, configured to determine a parameterization function of the three-dimensional model in the video by performing feature extraction on the image data; A three-dimensional scene space generation module is configured to perform three-dimensional reconstruction on the scene of the video based on the focal stack data of each frame of the video, the camera internal parameters and the spatial data of the three-dimensional model to generate a three-dimensional scene space; A semantic label generation module is configured to generate a semantic label for each frame of the video by classifying and identifying the image data based on deep learning; as well as A map generation module is configured to generate a map of the surface of the three-dimensional model corresponding to the semantic label based on deep learning according to the parameterized function of the three-dimensional model, the structure of the three-dimensional scene space and the semantic label.
7. Electronic equipment, include: at least one processor; at least one memory storing computer executable instructions, Wherein, when the computer executable instructions are executed by at least one of the processors, the at least one processor is prompted to perform the method according to any one of claims 1 to 6.
8. A computer-readable storage medium storing instructions, It is characterized in that When the instructions are executed by at least one processor, the at least one processor is prompted to perform the method according to any one of claims 1 to 6.
