WO2018094883A1 - 生成三维模型的方法和终端设备 - Google Patents

生成三维模型的方法和终端设备 Download PDF

Info

Publication number
WO2018094883A1
WO2018094883A1 PCT/CN2017/074530 CN2017074530W WO2018094883A1 WO 2018094883 A1 WO2018094883 A1 WO 2018094883A1 CN 2017074530 W CN2017074530 W CN 2017074530W WO 2018094883 A1 WO2018094883 A1 WO 2018094883A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
data segment
dimensional model
data
segment
Prior art date
Application number
PCT/CN2017/074530
Other languages
English (en)
French (fr)
Inventor
张星
刘昆
李江伟
杜成
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780003603.9A priority Critical patent/CN108292447B/zh
Priority to US16/464,202 priority patent/US10997778B2/en
Publication of WO2018094883A1 publication Critical patent/WO2018094883A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • G06T15/205Image-based rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5854Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using shape and object relationship
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/003Reconstruction from projections, e.g. tomography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/32Image data format

Definitions

  • Embodiments of the present invention relate to the field of three-dimensional modeling, and more particularly, to a method and terminal device for generating a three-dimensional model.
  • a textured 3D model file can consist of an OBJ file, a Material Library File (MTL file), and multiple JPG or PNG files, where the OBJ file is a standard 3D model file.
  • Format suitable for conversion between models of most 3D software, mainly supports polygon models, MTL files describe the material information of objects, an MTL file can contain one or more material definitions, for each material, A description of features such as color, texture, and reflection maps. Therefore, in general, the number of files required to generate a three-dimensional model is large, and there is no uniform file format among the plurality of files, which is inconvenient for the terminal device to manage the file. If a file is missing, the three-dimensional model may be caused. The data could not be parsed correctly.
  • An embodiment of the present invention provides a method and a terminal device for generating a three-dimensional model, which can save file data of multiple files required for generating a three-dimensional model through a file, thereby avoiding the problem that a three-dimensional model requires multiple files for description, and ensures that the problem is ensured.
  • the accuracy of the data information analysis of the three-dimensional model is convenient for the terminal device to manage the file containing the data information of the three-dimensional model.
  • a method for generating a three-dimensional model comprising: acquiring a first file of a picture format, the extended data segment of the first file includes at least one first data segment, and the first data segment includes generating the three-dimensional File data of a plurality of files required by the first three-dimensional model in the model; acquiring file data of the plurality of files from the first data segment; generating the first according to file data of the plurality of files 3D model.
  • the method for generating a three-dimensional model in the embodiment of the present invention avoids the problem that a three-dimensional model needs multiple files to be described by a file containing file data of a plurality of files for generating a three-dimensional model, thereby ensuring accurate analysis of data information of the three-dimensional model. And facilitates the terminal device to manage files containing three-dimensional model data information.
  • the first file further includes a basic data segment, the basic data segment includes two-dimensional image information of the three-dimensional model;
  • the method includes: acquiring the two-dimensional image information from the basic data segment; and generating a thumbnail of the three-dimensional model according to the two-dimensional image information.
  • the terminal device can intuitively know the model information of which three-dimensional model is stored in the first file by using the two-dimensional image information included in the basic data segment of the first file, so that the terminal device can easily A file is managed.
  • the extended data segment further includes a second data segment, where the second data segment includes generating the three-dimensional Optional parameters for the model.
  • the generated three-dimensional model can be made more true through the optional parameters in the second data segment. real.
  • the first data segment includes a segment header field and a data field, where the segment The header field is used to indicate the location of the file data of each of the plurality of files in the first data segment.
  • the terminal device can quickly determine the location of the file data of each of the plurality of files required to generate the three-dimensional model in the first data segment, so that the file data can be performed. Accurate analysis.
  • the extended data segment further includes a third data segment, the third data The segment is used to indicate the source of the first file.
  • the file format of the first file is a JPEG format or a PNG format or other image format.
  • a terminal device comprising one or more modules for performing the method of the first aspect.
  • a third aspect provides a terminal device, including a memory and a processor, the memory is configured to store program code, and the processor is configured to acquire a first file in a picture format, where the first file includes a basic data segment and extended data. a segment, the basic data segment containing two-dimensional image information of the three-dimensional model, the extended data segment including at least one first data segment, the first data segment comprising generating a first three-dimensional model in the three-dimensional model File data of a plurality of files required; the processor is further configured to acquire file data of the plurality of files from the first data segment; the processor is further configured to use file data according to the plurality of files Generating the first three-dimensional model.
  • the processor is further configured to acquire the two-dimensional image information from the basic data segment; the processor is further configured to use the second Dimension image information, generating a thumbnail of the three-dimensional model.
  • the extended data segment further includes at least one second data segment, where the second data segment includes a Optional parameters of the three-dimensional model are determined, the optional parameters being determined according to different three-dimensional models.
  • the first data segment includes a segment header field and a data field, and the segment header field Means for indicating a location of file data of each of the plurality of files in the first data segment, the data field for storing a plurality of required to generate a first three-dimensional model in the three-dimensional model File data for the file.
  • the extended data segment further includes at least one third data segment, the third data The segment is used to indicate the source of the first file.
  • the file format of the first file is a JPEG format.
  • a fourth aspect a computer readable medium for storing program code executable by a device of a fault of the processing terminal device, the program code comprising The instructions of the method in each implementation of the first aspect.
  • FIG. 1 is a schematic diagram of a file required to generate a textured three-dimensional model in accordance with an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for generating a three-dimensional model according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a first file of a picture format according to an embodiment of the present invention.
  • FIG. 4 is another schematic diagram of a first file of a picture format according to an embodiment of the present invention.
  • FIG. 5 is another schematic diagram of a first file of a picture format according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a first file for storing three-dimensional model information of a human body according to an embodiment of the present invention.
  • FIG. 7 is a schematic frame diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 8 is another schematic frame diagram of a terminal device according to an embodiment of the present invention.
  • 3D file formats such as STL file format, PLY file format, OBJ file format, ZPR file format, FBX file format, VRML file and 3DS file format.
  • Table 1 shows an introduction to each three-dimensional file format.
  • Figure 1 shows a schematic diagram of the files needed to generate a textured 3D model.
  • generating a textured 3D model requires a Material Library File (MTL file), the MTL.
  • MTL file can contain one or more material definitions. Each material also includes a description of its color, texture, and reflection map. It also requires an OBJ file that describes the geometry of the 3D model and requires multiple PNG files.
  • the PNG file contains image information of the reflection map required to generate the three-dimensional model. It can be seen that the number of files for generating a textured three-dimensional model is already large, and if any one of the files is lost, the The data in the 3D model cannot be parsed, ie the 3D model cannot be generated.
  • An embodiment of the present invention provides a method for generating a three-dimensional model, where a file format file is used, and the file in the image format includes file data of multiple files required to generate the three-dimensional model, and the terminal device can pass the image.
  • the data information contained in the formatted file generates the three-dimensional model, avoiding the problem that a three-dimensional model requires multiple files for description, ensuring the accuracy of the data analysis of the three-dimensional model, and facilitating the terminal device to perform the file containing the three-dimensional model information. management.
  • FIG. 2 is a schematic flowchart of a method 200 for generating a three-dimensional model according to an embodiment of the present invention.
  • the terminal device 200 can be, for example, a personal computer (PC) product, a smart phone, etc., which is not limited in this embodiment of the present invention.
  • the method 200 includes:
  • the terminal device acquires a first file in the picture format, where the extended data segment of the first file includes at least one first data segment, where the first data segment includes a first three-dimensional model required to generate the three-dimensional model.
  • the terminal device may obtain file data of the plurality of files from the first data segment of the first file, and generate the first file according to the file data of the multiple files.
  • a three-dimensional model, the first three-dimensional model may be a part of the three-dimensional model or the entire three-dimensional model.
  • the file data of the plurality of files required for generating the three-dimensional model is included in one file, thereby avoiding the problem that a three-dimensional model needs to describe multiple files, and the accuracy of the data information analysis of the three-dimensional model can be ensured. And it is convenient for the terminal device to manage the file containing the data information of the three-dimensional model.
  • the first file further includes a basic data segment, where the basic data segment includes two-dimensional image information of the three-dimensional model, for example, the two-dimensional image information may be front-facing information of the three-dimensional model. Or information that best reflects a view of the main features of the 3D model.
  • the terminal device may acquire the two-dimensional image information from the basic data segment, and generate a thumbnail of the three-dimensional model according to the two-dimensional image information, where the thumbnail may be the three-dimensional model.
  • the thumbnail may be the three-dimensional model.
  • a thumbnail of the front view or may be a thumbnail of a view that best reflects the main features of the three-dimensional model, so that the terminal device can intuitively recognize the model of the three-dimensional model contained in the first file according to the thumbnail. information.
  • the first three-dimensional model may be the entire three-dimensional model or a part of the three-dimensional model.
  • the file data of the plurality of files is all the data information required to generate the entire three-dimensional model, and the first file may include only one first data segment.
  • a data segment stores file data of a plurality of files required to generate the entire three-dimensional model; when the first three-dimensional model is a part of the three-dimensional model, file data of the plurality of files is required to generate a certain part of the three-dimensional model All of the data information, at this time, the first file includes a plurality of first data segments, and the plurality of first data segments respectively store file data of a plurality of files required to generate each portion of the three-dimensional model.
  • the three-dimensional model is a three-dimensional human body model
  • the first three-dimensional model may be the entire human body three-dimensional model.
  • the first file may include only one first data segment, and the first data segment includes generating the human body three-dimensional image.
  • the file data of the plurality of files required by the model, and the file data of the plurality of files is all the model information required to generate the three-dimensional model of the human body.
  • each of the three-dimensional models of the human body can be generated.
  • the model information required for each part is stored in a first data segment.
  • the model information of the human head portion of the human body three-dimensional model may be stored in a first data segment, and the model information of the body part of the human body three-dimensional model Storing in another first data segment, storing model information of the clothes portion of the human body three-dimensional model in another first data segment, and the like, wherein each of the first data segments includes a plurality of required portions for generating the portion File data of the file, the file data of the plurality of files is all the data information required to generate the part, at this time,
  • a first data file may include a plurality of segments.
  • the first data segment includes a segment header field and a data field
  • the segment header field is mainly used to indicate that file data of each of the plurality of files required to generate the first three-dimensional model is In the first data segment Position
  • the first three-dimensional model may be the entire three-dimensional model or may be a part of the three-dimensional model.
  • the section header field is further used to indicate the type of the first data segment.
  • the type of the segment header indicated in the first data segment is a human head model
  • the type of the segment header indicated in the first data segment is a body model or the like.
  • the section header field is further used to indicate the length of the first data segment.
  • the section header field is further used to indicate a file name or number of each of the plurality of files.
  • the section header field is further used to indicate a length of a file name or a number of each of the plurality of files.
  • the section header field is further used to indicate the number of the multiple files.
  • the file types of the plurality of files required to generate the human head model are OBJ format, MTL format, JPEG format, and the file type of the JPEG format is 3 Files, then the number of multiple files is 6.
  • the embodiment of the present invention only takes the file type of the file as OBJ format, MTL format, JPEG format, and the file of the data type JPEG format as three examples, but the embodiment of the present invention is not limited thereto.
  • the data field is used to store file data of a plurality of files required to generate the first three-dimensional model
  • the first three-dimensional model may be the entire three-dimensional model or may be part of the three-dimensional model.
  • the file format of the multiple files stored in the data field may be an OBJ format, an MTL format, a JPG format, or the like.
  • the size of the space occupied by the first data segment is determined according to the size of the space occupied by the file data of the plurality of files required to generate the three-dimensional model stored in the first data segment, that is, the size of the first data segment.
  • the space may dynamically change according to the size of the space occupied by the information stored in the first data segment.
  • the extended data segment further includes a second data segment, where the second data segment includes optional parameters for generating the three-dimensional model.
  • the optional parameter may be a parameter such as bone data, and the optional parameter may also be an algorithm deformation parameter, configuration information, and the like.
  • the algorithm deformation parameter may be some algorithm related.
  • the configuration information may be configuration information or parameters required by a third party.
  • the three-dimensional model can be improved by the optional parameters included in the second data segment, and the visual angle seems more realistic.
  • the extended data segment of the first file may include only at least one first data segment, and may also include at least one first data segment and at least one second data segment.
  • the design of the extended data segment may enable the terminal.
  • the information included in the second data segment may not be acquired, and the three-dimensional model may be generated only according to the information in the first data segment, although the three-dimensional model is relative to the first data segment and the second data.
  • the three-dimensional model generated by the information in the segment is simpler, but all the features that the original three-dimensional model should have, the three-dimensional model also has the same, does not affect the analysis of the three-dimensional model; when the configuration of the terminal device is high, Obtain The information contained in the first data segment can also obtain the information contained in the second data segment without affecting the speed at which the terminal device analyzes the data. In this case, the generated three-dimensional model is more perfect and looks more realistic.
  • the size of the space occupied by the second data segment is determined according to the size of the space occupied by the optional parameter stored in the second data segment, that is, the spatial size of the second data segment may be according to the second data segment.
  • the size of the space occupied by the stored parameters changes dynamically.
  • the extended data segment further includes a third data segment, where the third data segment is used to indicate a file source of the first file.
  • the third data segment is further configured to indicate a category of the first file, and the category indication of the first file may enable the terminal device to determine whether the first file is information that includes a three-dimensional model.
  • the file to distinguish the general picture format file.
  • the third data segment is further configured to indicate the number of the first data segment and the second data segment included in the first file, where the value range may be 0 to 0. 255.
  • the third data segment is further configured to indicate a location of the first data segment or the second data segment in the first file, that is, the third data segment includes the first data segment and the The segment offset of the two data segments.
  • the file format of the first file may be a JPEG format.
  • the first file may be a file in any picture format, for example, a file in a PNG format, and the embodiment of the present invention only uses the file in which the first file is in the JPEG format as an example, but the present invention The embodiment is not limited to this.
  • the spatial size of the extended data segment may be determined according to the number of first data segments and/or second data segments stored in the extended data segment, or may also be based on the first data segment and/or the second data segment.
  • the size of the space occupied by the information contained in the data segment can be dynamically changed.
  • FIG. 3 is a schematic diagram showing a first file of a picture format according to an embodiment of the present invention.
  • the first file shown in FIG. 3 includes a basic data segment and at least one first data segment, the basic data includes two-dimensional image information of the three-dimensional model, and the terminal device can generate a thumbnail of the three-dimensional model according to the two-dimensional image information. .
  • the spatial size of the basic data segment is determined according to the size of the space occupied by the two-dimensional image information stored in the basic data segment.
  • the first data segment includes a segment header field and a data field.
  • the segment header field includes a segment type field, where the segment type field is used to indicate a type of the first data segment, for example, when the three-dimensional model is a human body three-dimensional model, the first data
  • the type of the segment may be a human head model, or a body model, or may be a model of any part of the entire human 3D model or the human body 3D model, and the segment type field may clearly indicate that the first data segment stores Which part of the 3D model is model information, the length of the section type field is 1 byte.
  • the segment header field further includes a segment length field, where the segment length field is used to indicate a length of the first data segment, and the segment length field has a length of 4 bytes.
  • the section header field further includes a name length field, where the name length field is used to indicate a file name of each of the plurality of files required to generate the first three-dimensional model in the three-dimensional model.
  • the first three-dimensional model may be the entire three-dimensional model, or may be a part of the three-dimensional model, and the length field of the name is 4 bytes in length.
  • the section header field further includes a name or a number field, where the name or number field is used to indicate each of the plurality of files required to generate the first three-dimensional model in the three-dimensional model.
  • File name or edit The length of the number, the first three-dimensional model may be the entire three-dimensional model, or may be a part of the three-dimensional model, the name or number field is 4 bytes in length.
  • the section header field further includes a file quantity field, where the file quantity field is used to indicate a quantity of multiple files required to generate the first three-dimensional model in the three-dimensional model, the first three-dimensional model
  • the entire 3D model may be a part of the 3D model, and the file number field has a length of 1 byte.
  • the section header field further includes a file offset field, where the file offset field is used to indicate each of the plurality of files required to generate the first three-dimensional model in the three-dimensional model.
  • the position of the file in the first data segment, according to the file offset field, the position of each file in the first data segment can be quickly located, and the first three-dimensional model can be the entire three-dimensional model, or For a portion of the 3D model, the file offset field is 4 bytes in length.
  • the number of file offset fields may be determined based on how many files are in the first data segment, that is, may be determined based on values in the file number field.
  • the data field is used to store file data of a plurality of files that generate a part of a three-dimensional model or a three-dimensional model
  • the file types of the plurality of files may be, for example, an OBJ format, an MTL format, a JPG format, or the like.
  • the length of the data field is determined according to the size of the space occupied by the data stored in the data field, that is, according to the file size of the plurality of files included in the data field.
  • FIG. 4 shows another schematic diagram of a first file of a picture format according to an embodiment of the present invention.
  • the first file may include a basic data segment, at least one first data segment and at least one second data segment, wherein the information stored in the basic data segment and the first data segment is substantially the same as in FIG.
  • the data segment is the same as the information stored in the first data segment, and is not described herein again.
  • the second data segment includes optional parameter information for generating a three-dimensional model.
  • the optional parameter may include human body-related parameters such as bone data, and the optional parameter may also be an algorithm deformation parameter, configuration information, and the like.
  • the second data segment also includes a segment header field and a data field, and the field included in the segment header field of the second data segment is the same as the field included in the segment header field of the first data segment, and details are not described herein again.
  • FIG. 5 shows another schematic diagram of a first file of a picture format according to an embodiment of the present invention.
  • the first file may include a basic data segment, at least one first data segment, at least one second data segment and a third data segment, wherein the basic data segment, the first data segment and the second data segment
  • the basic data segment stored in FIG. 3 or FIG. 4 is the same as the information stored in the first data segment and the second data segment, and is not described herein again.
  • the third data segment is mainly used to indicate the first file. File source.
  • the third data segment includes a flag bit field, where the flag bit field is used to indicate a category of the first file, and the category indication of the first file may enable the terminal device to determine the first Whether a file is a file containing data information of a three-dimensional model to distinguish a general image format file.
  • the third data segment further includes a file source field, where the file source field is used to indicate a file source of the first file.
  • the third data segment further includes a segment number field, where the segment number field is used to indicate the number of the first data segment and the second data segment in the extended data segment of the first file, According to the segment number field, it can be determined how many first data segments and second data segments are included in the extended data segment.
  • the third data segment further includes a segment offset field, where the segment offset field is used by The location of each of the first data segments or each of the second data segments in the extended data segment is indicated, and the location of the first data segment or the second data segment can be quickly determined by the segment offset field.
  • the number of offset field fields may be determined according to how many first data segments and second data segments are total in the extended data segment, that is, may be determined according to values in the segment number field.
  • the spatial size of the extended data segment may be determined according to the first data segment and the second data segment in the extended data segment, or may be based on the first data segment and/or the second data in the extended data segment.
  • the size of the space occupied by the information stored in the segment is determined, and the size of the space occupied by the first file shown in FIG. 3, FIG. 4, and FIG. 5 is determined according to the size of the extended data segment of the first file.
  • first data segment, the second data segment, and the third data segment shown in FIG. 3, FIG. 4, and FIG. 5 can be arbitrarily changed.
  • first data segment is preceded.
  • the second data segment is after the first data segment, and the third data segment is described as an example for the data segment included in the extended data segment of the first file.
  • the embodiment of the present invention is not limited thereto.
  • FIG. 6 is a schematic diagram showing a first file for storing three-dimensional model information of a human body according to an embodiment of the present invention.
  • the first data segment of the first file is a basic data segment, and the two-dimensional image information of the three-dimensional model of the human body is stored, and the terminal device can generate the three-dimensional model of the human body according to the two-dimensional image information of the three-dimensional model of the human body.
  • a thumbnail the thumbnail of which may be a JPEG format, the size of the thumbnail is not limited, the thumbnail may be a front-view thumbnail of the human body three-dimensional model, or may be embodied on either side of the human body.
  • a thumbnail of the view of the main features of the model may be a JPEG format, the size of the thumbnail is not limited, the thumbnail may be a front-view thumbnail of the human body three-dimensional model, or may be embodied on either side of the human body.
  • the thumbnail may be a thumbnail of another picture format, for example, a thumbnail of a PNG format or a thumbnail of a BMP format, etc., and the embodiment of the present invention is not limited thereto.
  • the second data segment of the first file is used to store the human head model information of the three-dimensional model of the human body, and the data segment stored by the human head model information is the first data segment in the extended data segment of the first file, and the human head model is generated.
  • the file types of multiple files required may be OBJ format, MTL format, and JPEG format, and there may be more than one file in JPEG format.
  • the hair model information is stored, and the data segment stored by the hair model information is another first data segment in the extended data segment, and the file type of the plurality of files required to generate the hair model is also It can be OBJ format, MTL format and JPEG format, respectively, and there can be more than one file in JPEG format.
  • the body model information is stored, and the data segment stored by the body model information is another first data segment in the extended data segment, and the file types of the plurality of files required to generate the body model may also be OBJ respectively.
  • an algorithm deformation parameter is stored, where the algorithm deformation parameter is stored in a second data segment of the extended data segment of the first file, and the algorithm deformation parameter is an optional parameter for generating the human body three-dimensional model, and the algorithm deforms
  • the data type of the parameter is in binary format.
  • the hairstyle number information is stored, and the hairstyle number information is stored in another second data segment of the extended data segment, and the hairstyle number is also an optional parameter for generating the three-dimensional model of the human body.
  • the hairstyle number is a male or female marker position, storing male or female logo information, the male or female logo information is stored in another second data segment of the extended data segment, the male or female logo information is generated Optional parameters for the 3D model of the human body.
  • the third human head model information is stored, and the third-party human head model information is stored in another first data segment in the extended data segment to generate a plurality of files required by the third-party human head model.
  • the file types can be OBJ format, MTL format, and JPEG format, respectively, and there can be more than one file in JPEG format.
  • the third-party body model information is stored, and the third-party body model information is stored in another first data segment of the extended data segment, and the body model of the third party is generated.
  • the file types of the files can be OBJ format, MTL format and JPEG format, respectively, and there can be more than one file in JPEG format.
  • the third party's accessory model information is stored, and the third party's accessory model information is stored in another first data segment of the extended data segment, and multiple pieces required for the third party's accessory model are generated.
  • the file type of the file can be OBJ format, MTL format and JPEG format, respectively, and there can be more than one file in JPEG format.
  • the third-party configuration information is stored, and the third-party configuration information is stored in another second data segment of the extended data segment, the third-party configuration information being an optional parameter for generating the three-dimensional model of the human body.
  • the file source information is stored, and the file source information is stored in a third data segment of the extended data segment, the file source information being used to indicate the source of the first file storing the human body three-dimensional model information.
  • the algorithm debug data is stored, and the algorithm debug data is stored in another second data segment of the extended data segment, and the algorithm debug data is an optional parameter for generating the human body three-dimensional model, and the algorithm debugs the data.
  • the data type is in binary format.
  • the reserved data segment is used to store the subsequently extended data, which may be the first data segment of the extended data segment or the second data segment of the extended data segment, for example,
  • the reserved data segment can be used to store bone data, or can be used to store other model information or parameters, or to store related parameters of third party configuration information.
  • a first file may include multiple pieces of the same type of model information.
  • the first file shown in FIG. 6 may include a human head model and a third-party human head model, and the terminal device may be based on the human head.
  • the difference between the segment type of the segment header field of the data segment in which the model and the third-party head model are located, and whether the read human head model or the third-party human head model is selected, does not cause confusion of the terminal device reading information.
  • the embodiment of the present invention only uses the data segment included in the first file shown in FIG. 6 as an example to describe the first file in the image format, but the embodiment of the present invention is not limited thereto.
  • the first file can also contain more or fewer data segments.
  • FIG. 7 is a schematic block diagram of a terminal device 700 according to an embodiment of the present invention. As shown in FIG. 7, the terminal device 700 includes:
  • the obtaining module 710 is configured to acquire a first file in a picture format, where the extended data segment of the first file includes at least one first data segment, where the first data segment includes multiple required to generate the first three-dimensional model in the three-dimensional model File data of the file;
  • the obtaining module 710 is further configured to obtain file data of the multiple files from the first data segment;
  • the processing module 720 is configured to generate a first three-dimensional model according to file data of the plurality of files.
  • the first three-dimensional model may be the three-dimensional model or may be part of the three-dimensional model.
  • the file format of the first file may be a JPEG format.
  • the first file may be a file in any picture format.
  • the embodiment of the present invention is only described by using the first file as a JPEG file, but the embodiment of the present invention is not limited thereto.
  • the first file further includes a basic data segment
  • the basic data segment includes two-dimensional image information of the three-dimensional model.
  • the obtaining module 710 is further configured to acquire, by the acquiring module, the two-dimensional image information from the basic data segment.
  • the processing module 720 is further configured to generate a thumbnail of the three-dimensional model according to the two-dimensional image information.
  • the file data of the plurality of files required for generating the three-dimensional model is included in one file, thereby avoiding the problem that a three-dimensional model needs to describe multiple files, and the accuracy of the data information analysis of the three-dimensional model can be ensured. And it is convenient for the terminal device to manage the file containing the data information of the three-dimensional model.
  • the extended data segment further includes a second data segment, the second data segment including an optional parameter for generating the three-dimensional model.
  • the three-dimensional model can be improved by the optional parameters included in the second data segment, and the visual angle seems more realistic.
  • the first data segment includes a segment header field and a data field
  • the segment header field is mainly used to indicate that file data of each of the plurality of files required to generate the first three-dimensional model is
  • the position in the first data segment, the first three-dimensional model may be the entire three-dimensional model or may be a part of the three-dimensional model.
  • the section header field is further used to indicate the type of the first data segment.
  • the section header field is further used to indicate the length of the first data segment.
  • the section header field is further used to indicate a file name or number of each of the plurality of files.
  • the section header field is further used to indicate a length of a file name or a number of each of the plurality of files.
  • the section header field is further used to indicate the number of the multiple files.
  • the extended data segment further includes a third data segment, where the third data segment is used to indicate a file source of the first file.
  • the third data segment is further configured to indicate a category of the first file, and the category indication of the first file may enable the terminal device to determine whether the first file is information that includes a three-dimensional model.
  • the file to distinguish the general picture format file.
  • the third data segment is further configured to indicate the number of the first data segment and the second data segment included in the first file, where the value range may be 0 to 0. 255.
  • the third data segment is further configured to indicate a location of the first data segment or the second data segment in the first file, that is, the third data segment includes the first data segment and the The segment offset of the two data segments.
  • terminal device 700 may correspond to the terminal device in the embodiment of the present invention, and the foregoing and other operations and/or functions of the respective modules in the terminal device 700 respectively implement the respective methods in FIG. The corresponding process, for the sake of brevity, will not be described here.
  • FIG. 8 is a schematic structural diagram of a terminal device 800 according to an embodiment of the present invention.
  • the terminal device 800 includes a memory 810 and a processor 820 that communicate with each other through an internal connection path to transfer control and/or data signals.
  • the memory 810 is configured to store program code
  • the processor 820 is configured to invoke the program code to implement the methods in the above embodiments of the present invention.
  • the processor 820 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
  • the processor may further include a hardware chip.
  • the hardware chip may be an Application-Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof.
  • the embodiment of the present invention provides a computer readable medium for storing computer program code, the computer program comprising instructions for executing the method for generating a three-dimensional model of the embodiment of the present invention in FIG. 2 above.
  • the readable medium may be a read-only memory (ROM) or a random access memory (RAM), which is not limited in the embodiment of the present invention.
  • the present invention may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be wired from a website site, computer, server or data center (for example, coaxial cable, fiber optics, Digital Subscriber Line (DSL), or wireless (eg, infrared, wireless, microwave, etc.) is transmitted to another website site, computer, server, or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape) optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)).
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
  • optical medium for example, a digital video disc (DVD)
  • DVD digital video disc
  • SSD solid state disk
  • terminal device 800 may correspond to the terminal device in the embodiment of the present invention, and the above and other operations and/or functions of the respective components in the terminal device 800 respectively implement the respective methods in FIG. The corresponding process, for the sake of brevity, will not be described here.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • Computing Systems (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

一种生成三维模型的方法和终端设备,该方法包括:获取图片格式的第一文件,该第一文件的扩展数据段包括至少一个第一数据段,该第一数据段包括生成三维模型中的第一三维模型所需的多个文件的文件数据(210);从该第一数据段中获取多个文件的文件数据(220);根据该多个文件的文件数据,生成第一三维模型(230)。通过一个文件包含生成三维模型所需的多个文件的文件数据,避免了一个三维模型需要多个文件进行描述的问题,保证了三维模型的数据信息解析的准确性,且便于终端设备对包含三维模型数据信息的文件进行管理。

Description

生成三维模型的方法和终端设备 技术领域
本发明实施例涉及三维建模领域,并且更具体的,涉及一种生成三维模型的方法和终端设备。
背景技术
在三维建模领域,对一个三维模型进行描述时,需要多个不同文件格式的文件,因此,导致三维模型的文件数量众多,不方便终端设备对该诸多的文件进行管理。
例如,一个带有纹理的三维模型文件可以由一个OBJ文件,一个材质库文件(Material Library File,MTL文件),以及多个JPG或PNG文件组成,其中,OBJ文件为一种标准的三维模型文件格式,适用于大多数三维软件的模型之间的相互转换,主要支持多边形模型,MTL文件描述的是物体的材质信息,一个MTL文件可以包含一个或多个材质定义,对于每个材质,都有其颜色,纹理和反射贴图等特征的描述。因此,一般情况下,生成一个三维模型所需要的文件数量众多,且该众多的文件中没有统一的一种文件格式,不方便终端设备对文件进行管理,一旦缺失某一个文件,可能导致三维模型数据无法正确解析。
发明内容
本发明实施例提供一种生成三维模型的方法和终端设备,能够通过一个文件包含生成三维模型所需的多个文件的文件数据,避免了一个三维模型需要多个文件进行描述的问题,保证了三维模型的数据信息解析的准确性,且便于终端设备对包含三维模型数据信息的文件进行管理。
一方面,提供一种生成三维模型的方法,包括:获取图片格式的第一文件,所述第一文件的扩展数据段包括至少一个第一数据段,所述第一数据段包括生成所述三维模型中的第一三维模型所需的多个文件的文件数据;从所述第一数据段中获取所述多个文件的文件数据;根据所述多个文件的文件数据,生成所述第一三维模型。
本发明实施例的生成三维模型的方法,通过一个文件包含生成三维模型的多个文件的文件数据,避免了一个三维模型需要多个文件进行描述的问题,保证了三维模型的数据信息解析的准确性,且便于终端设备对包含三维模型数据信息的文件进行管理。
结合第一方面,在第一方面的第一种可能实现的方式中,所述第一文件还包括基本数据段,所述基本数据段包含所述三维模型的二维图像信息;所述方法还包括:从所述基本数据段中获取所述二维图像信息;根据所述二维图像信息,生成所述三维模型的缩略图。
在本发明实施例中,通过第一文件的基本数据段中包含的二维图像信息,终端设备可以直观的获知该第一文件中存储的是哪个三维模型的模型信息,便于终端设备对该第一文件进行管理。
结合第一方面,第一方面的第一种实现方式,在第一方面的第二种实现方式中,所述扩展数据段还包括第二数据段,所述第二数据段包含生成所述三维模型的可选参数。
在本发明实施例中,通过第二数据段中的可选参数,可以使生成的三维模型更加真 实。
结合第一方面,第一方面的第一种实现方式或第二种实现方式,在第一方面的第三种实现方式中,所述第一数据段包括段头字段和数据字段,所述段头字段用于指示所述多个文件中的每个文件的文件数据在所述第一数据段中的位置。
在本发明实施例中,通过段头字段,终端设备可以快速确定生成三维模型所需的多个文件中的每个文件的文件数据在第一数据段中的位置,从而可以对该文件数据进行准确的解析。
结合第一方面,第一方面的第一种实现方式至第三种实现方式,在第一方面的第四种实现方式中,所述扩展数据段还包括第三数据段,所述第三数据段用于指示所述第一文件的来源。
结合第一方面,第一方面的第一种实现方式至第四种实现方式,在第一方面的第五种实现方式中,所述第一文件的文件格式为JPEG格式或PNG格式或其他图片格式。
第二方面,提供一种终端设备,包括用于执行第一方面中的方法的一个或多个模块。
第三方面,提供一种终端设备,包括存储器和处理器,所述存储器用于存储程序代码,所述处理器用于获取图片格式的第一文件,所述第一文件包括基本数据段和扩展数据段,所述基本数据段包含所述三维模型的二维图像信息,所述扩展数据段包括至少一个第一数据段,所述第一数据段包括生成所述三维模型中的第一三维模型所需的多个文件的文件数据;所述处理器还用于从所述第一数据段中获取所述多个文件的文件数据;所述处理器还用于根据所述多个文件的文件数据,生成所述第一三维模型。
结合第三方面,在第三方面的第一种实现方式中,所述处理器还用于从所述基本数据段中获取所述二维图像信息;所述处理器还用于根据所述二维图像信息,生成所述三维模型的缩略图。
结合第三方面,第三方面的第一种实现方式,在第三方面的第二种实现方式中,所述扩展数据段还包括至少一个第二数据段,所述第二数据段包含生成所述三维模型的可选参数,所述可选参数根据不同的三维模型确定。
结合第三方面,第三方面的第一种和第二种实现方式,在第三方面的第三种实现方式中,所述第一数据段包括段头字段和数据字段,所述段头字段用于指示所述多个文件中的每个文件的文件数据在所述第一数据段中的位置,所述数据字段用于存储生成所述三维模型中的第一三维模型所需的多个文件的文件数据。
结合第三方面,第三方面的第一种至第三种实现方式,在第三方面的第四种实现方式中,所述扩展数据段还包括至少一个第三数据段,所述第三数据段用于指示所述第一文件的来源。
结合第三方面,第三方面的第一种至第四种实现方式,在第三方面的第五种实现方式中,所述第一文件的文件格式为JPEG格式。
第四方面,提供一种计算机可读介质,所述计算机可读介质用于存储可被所述处理终端设备的故障的装置执行的程序代码,所述程序代码包括用于执行上述第一方面及所述第一方面的各实现方式中的方法的指令。
附图说明
图1是本发明实施例的生成一个带纹理的三维模型所需的文件的示意图。
图2是本发明实施例的生成三维模型的方法的示意性流程图。
图3是本发明实施例的图片格式的第一文件的示意图。
图4是本发明实施例的图片格式的第一文件的另一示意图。
图5是本发明实施例的图片格式的第一文件的另一示意图。
图6是本发明实施例的用于存储人体三维模型信息的第一文件的示意图。
图7是本发明实施例的终端设备的示意性框架图。
图8是本发明实施例的终端设备的另一示意性框架图。
具体实施方式
下面将结合附图,对本发明实施例中的技术方案进行描述。
在三维建模领域,存在很多三维文件格式,例如,STL文件格式,PLY文件格式,OBJ文件格式,ZPR文件格式,FBX文件格式,VRML文件以及3DS文件格式等。表1所示为各三维文件格式的简介。
表1 三维文件格式简介
Figure PCTCN2017074530-appb-000001
Figure PCTCN2017074530-appb-000002
如表1所示,大多数的三维文件格式存在不支持缩略图、无扩展空间、不支持三维打印机等问题,且在对一个三维模型进行描述的时候需要多个文件。
例如,图1所示为生成一个带纹理的三维模型所需的文件的示意图,如图1所示,生成一个带纹理的三维模型需要一个材质库文件(Material Library File,MTL文件),该MTL文件可以包含一个或多个材质定义,每个材质还包括其颜色,纹理和反射贴图的描述,还需要一个OBJ文件,该OBJ文件用于描述该三维模型的几何特征,还需要多张PNG文件,该PNG文件包含生成该三维模型所需要的反射贴图的图片信息,由此可以看出,生成一个带纹理的三维模型的文件数量就已经很多,如果丢失其中的任何一个文件,就可能导致该三维模型中的数据无法解析,即无法生成该三维模型。
应理解,本发明实施例仅以图1所示的生成三维模型的文件的数量为例,对现有技术中生成三维模型的文件数量众多进行说明,然而,实际的三维模型可能更为复杂和精细,所需要模型文件的类型和数量相应也就更多。
本发明实施例提出一种生成三维模型的方法,该方法中使用一种图片格式的文件,该图片格式的文件包含生成该三维模型所需的多个文件的文件数据,终端设备能够通过该图片格式的文件中包含的数据信息,生成该三维模型,避免了一个三维模型需要多个文件进行描述的问题,可以保证三维模型数据解析的准确性,且便于终端设备对包含三维模型信息的文件进行管理。
下面结合图2对所述方法进行详细的描述。
图2示出了本发明实施例的生成三维模型的方法200的示意性流程图,该方法200 可以由终端设备执行,该终端设备200例如可以是个人计算机(Personal Computer,PC)产品,智能手机等,本发明实施例对此不做限定。如图2所示,该方法200包括:
210,获取图片格式的第一文件,该第一文件的扩展数据段包括至少一个第一数据段,该第一数据段包括生成三维模型中的第一三维模型所需的多个文件的文件数据;
220,从第一数据段中获取多个文件的文件数据;
230,根据多个文件的文件数据,生成第一三维模型。
具体而言,终端设备获取该图片格式的第一文件,该第一文件的扩展数据段包括至少一个第一数据段,该第一数据段包括生成该三维模型中的第一三维模型所需的多个文件的文件数据,终端设备在获取第一文件之后,可以从该第一文件的第一数据段中获取多个文件的文件数据,并根据该多个文件的文件数据,生成该第一三维模型,该第一三维模型可以为该三维模型的某一部分或者为该整个三维模型。
在本发明实施例中,通过一个文件包含生成三维模型所需的多个文件的文件数据,避免了一个三维模型需要多个文件进行描述的问题,可以保证三维模型的数据信息解析的准确性,且便于终端设备对包含三维模型的数据信息的文件进行管理。
可选的,在一些实施例中,该第一文件还包括基本数据段,该基本数据段包含该三维模型的二维图像信息,例如,该二维图像信息可以是该三维模型的正面照信息,或者是最能体现该三维模型主要特征的一个视图的信息。
可选的,在一些实施例中,终端设备可以从该基本数据段中获取该二维图像信息,根据该二维图像信息,生成该三维模型的缩略图,该缩略图可以是该三维模型的正面照的缩略图,或者可以是其他最能体现该三维模型的主要特征的一个视图的缩略图,从而,终端设备可以根据该缩略图直观的识别该第一文件中包含何种三维模型的模型信息。
应理解,该第一三维模型可以为该整个三维模型,也可以为该三维模型的某一部分。在第一三维模型为该整个三维模型时,该多个文件的文件数据为生成该整个三维模型所需要的所有的数据信息,此时该第一文件可以只包括一个第一数据段,该第一数据段存储生成该整个三维模型所需的多个文件的文件数据;在第一三维模型为该三维模型的某一部分时,该多个文件的文件数据为生成该三维模型的某一部分所需要的所有的数据信息,此时该第一文件包括多个第一数据段,该多个第一数据段分别存储生成该三维模型的每个部分所需的多个文件的文件数据。
例如,该三维模型为人体三维模型,该第一三维模型可以为该整个人体三维模型,此时,该第一文件中可以只包括一个第一数据段,该第一数据段包括生成该人体三维模型所需的多个文件的文件数据,该多个文件的文件数据为生成该人体三维模型所需的所有的模型信息,然而,由于人体三维模型比较复杂,可以将生成该人体三维模型的每个部分所需的模型信息存储在一个第一数据段中,例如,可以将该人体三维模型的人头部分的模型信息存储在一个第一数据段中,将该人体三维模型的身体部分的模型信息存储在另一个第一数据段中,将该人体三维模型的衣服部分的模型信息存储在另一个第一数据段中等等,其中,每个第一数据段中包括生成该部分所需的多个文件的文件数据,该多个文件的文件数据即为生成该部分需要的所有的数据信息,此时,该第一文件可以包括多个第一数据段。
可选的,在一些实施例中,第一数据段包括段头字段和数据字段,该段头字段主要用于指示生成第一三维模型所需的多个文件中的每个文件的文件数据在第一数据段中的 位置,该第一三维模型可以是该整个三维模型也可以是该三维模型的某一部分。
可选的,在一些实施例中,该段头字段还用于指示该第一数据段的类型。
例如,在三维模型为人体三维模型,第一数据段存储生成该人体三维模型的人头所需的多个文件的文件数据时,该第一数据段中的段头指示的类型为人头模型,在第一数据段中存储生成人体三维模型的身体所需的多个文件的文件数据时,该第一数据段中的段头指示的类型为身体模型等等。
可选的,在一些实施例中,该段头字段还用于指示该第一数据段的长度。
可选的,在一些实施例中,该段头字段还用于指示该多个文件中的每个文件的文件名称或编号。
可选的,在一些实施例中,该段头字段还用于指示该多个文件中的每个文件的文件名称或编号的长度。
可选的,在一些实施例中,该段头字段还用于指示该多个文件的数量。
例如,在第一数据段中存储的是人头模型信息时,该生成人头模型所需的多个文件的文件类型分别为OBJ格式、MTL格式、JPEG格式,且文件类型为JPEG格式的文件有3个文件,则此时多个文件的数量为6。
应理解,本发明实施例仅以文件的文件类型为OBJ格式、MTL格式、JPEG格式,数据类型为JPEG格式的文件有3个文件为例,但本发明实施例并不限定于此。
可选的,在一些实施例中,数据字段用于存储生成第一三维模型所需的多个文件的文件数据,该第一三维模型可以是整个三维模型,也可以是该三维模型的一部分。
可选的,在一些实施例中,该数据字段中存储的多个文件的文件格式可以是OBJ格式、MTL格式和JPG格式等。
应理解,本发明实施例仅以上述三种文件格式为例对数据字段中存储的多个文件的文件格式进行说明,但本发明实施例并不限定于此。
还应理解,该第一数据段所占空间的大小根据该第一数据段中存储的生成三维模型所需的多个文件的文件数据所占空间的大小而确定,即该第一数据段的空间可以根据该第一数据段中存储的信息所占空间的大小动态变化。
可选的,在一些实施例中,该扩展数据段还包括第二数据段,该第二数据段包括生成该三维模型的可选参数。
例如,在三维模型为人体三维模型时,该可选参数可以是骨骼数据等参数,该可选参数还可以是算法形变参数,配置信息等参数,例如,该算法形变参数可以是一些关于算法的参数,或者是为第三方开发使用的一些参数,该配置信息可以是第三方所需的配置信息或参数等。
在本发明实施例中,通过第二数据段中包含的可选参数,可以使三维模型更为完善,在视觉的角度看起来更为真实。
在本发明实施例中,第一文件的扩展数据段可以只包括至少一个第一数据段,也可以包括至少一个第一数据段和至少一个第二数据段,扩展数据段这样的设计可以使得终端设备在配置较低时,可以不用获取第二数据段中包括的信息,只根据第一数据段中的信息便可以生成该三维模型,尽管该三维模型相对于根据第一数据段和第二数据段中的信息共同生成的三维模型而言,较简单一些,但原三维模型应该具备的所有特征该三维模型同样具有,不影响对该三维模型进行分析;在终端设备的配置较高时,可以既获取 第一数据段中包含的信息,也可以获取第二数据段中包含的信息,且不影响终端设备分析数据的速度,在这种情况下生成的三维模型更为完善,看起来更加真实。
应理解,该第二数据段所占空间的大小根据该第二数据段中存储的可选参数所占空间的大小而确定,即该第二数据段的空间大小可以根据该第二数据段中存储的参数所占空间的大小动态变化。
可选的,在一些实施例中,该扩展数据段还包括第三数据段,该第三数据段用于指示该第一文件的文件来源。
可选的,在一些实施例中,该第三数据段还用于指示该第一文件的类别,通过该第一文件的类别指示可以使终端设备确定该第一文件是否为包含三维模型的信息的文件,以区别一般的图片格式文件。
可选的,在一些实施例中,该第三数据段还用于指示该第一文件中包含的第一数据段和第二数据段的数量,该数量的取值范围理论上可以为0~255。
可选的,在一些实施例中,该第三数据段还用于指示第一数据段或第二数据段在该第一文件中的位置,即该第三数据段包含第一数据段和第二数据段的段偏移量。
可选的,在一些实施例中,该第一文件的文件格式可以为JPEG格式。
应理解,该第一文件可以为任一种图片格式的文件,例如,也可以是PNG格式的文件,本发明实施例仅以该第一文件为JPEG格式的文件为例进行说明,但本发明实施例并不限定于此。
应理解,该扩展数据段的空间大小可以根据该扩展数据段中存储的第一数据段和/或第二数据段的数量而定,或者也可以根据第一数据段和/或第二数据段中包含的信息所占用的空间大小而定,即该扩展数据段的空间大小可以动态改变。
图3示出了本发明实施例的图片格式的第一文件的示意图。
如图3所示的第一文件包括基本数据段和至少一个第一数据段,该基本数据包含三维模型的二维图像信息,终端设备可以根据该二维图像信息,生成该三维模型的缩略图。
应理解,该基本数据段的空间大小根据该基本数据段中存储的二维图像信息所占用的空间大小确定。
如图3所示,第一数据段包括段头字段和数据字段。
可选的,在一些实施例中,该段头字段包括段类型字段,该段类型字段用于指示该第一数据段的类型,例如,在该三维模型为人体三维模型时,该第一数据段的类型可以是人头模型,也可以是身体模型,或者也可以是整个人体三维模型或人体三维模型中的任何一个部分的模型,该段类型字段可以明确的表示第一数据段中存储的是三维模型中哪一部分的模型信息,该段类型字段的长度为1字节。
可选的,在一些实施例中,该段头字段还包括段长度字段,该段长度字段用于指示该第一数据段的长度,该段长度字段的长度为4字节。
可选的,在一些实施例中,该段头字段还包括名称长度字段,该名称长度字段用于指示生成三维模型中的第一三维模型所需的多个文件中的每个文件的文件名称或编号,该第一三维模型可以为该整个三维模型,也可以为该三维模型的某一部分,该名称长度字段的长度为4字节。
可选的,在一些实施例中,该段头字段还包括名称或编号字段,该名称或编号字段用于指示生成三维模型中的第一三维模型所需的多个文件中的每个文件的文件名称或编 号的长度,该第一三维模型可以为该整个三维模型,也可以为该三维模型的某一部分,该名称或编号字段的长度为4字节。
可选的,在一些实施例中,该段头字段还包括文件数量字段,该文件数量字段用于指示生成三维模型中的第一三维模型所需的多个文件的数量,该第一三维模型可以为该整个三维模型,也可以为该三维模型的某一部分,该文件数量字段的长度为1字节。
可选的,在一些实施例中,该段头字段还包括文件偏移量字段,该文件偏移量字段用于指示生成三维模型中的第一三维模型所需的多个文件中的每个文件在第一数据段中的位置,根据该文件偏移量字段可以快速的定位每个文件在该第一数据段中的位置,该第一三维模型可以为该整个三维模型,也可以为该三维模型的某一部分,该文件偏移量字段的长度为4字节。
应理解,该文件偏移量字段的数量可以根据该第一数据段中有多少个文件而确定,即可以根据文件数量字段中的值而确定。
该数据字段用于存储生成三维模型或三维模型的某一部分的多个文件的文件数据,该多个文件的文件类型例如可以是OBJ格式,MTL格式和JPG格式等。
应理解,本发明实施例仅以上述三种文件格式为例对数据字段中存储的多个文件的文件格式进行说明,但本发明实施例并不限定于此。
该数据字段的长度根据该数据字段中存储的数据所占空间的大小决定,即根据该数据字段中包含的多个文件的文件大小确定。
图4示出了本发明实施例的图片格式的第一文件的另一示意图。
如图4所示,该第一文件可以包括基本数据段,至少一个第一数据段和至少一个第二数据段,其中,基本数据段和第一数据段所存储的信息与图3中的基本数据段和第一数据段存储的信息相同,在此不再赘述,第二数据段包括生成三维模型的可选参数信息。
例如,在三维模型为人体三维模型时,该可选参数可以包括骨骼数据等与人体相关的参数,该可选参数还可以是算法形变参数,配置信息等。
该第二数据段也包括段头字段和数据字段,该第二数据段的段头字段中包含的字段和第一数据段的段头字段中包含的字段相同,在此不再赘述。
图5示出了本发明实施例的图片格式的第一文件的另一示意图。
如图5所示,该第一文件可以包括基本数据段,至少一个第一数据段,至少一个第二数据段和第三数据段,其中,基本数据段,第一数据段和第二数据段中存储的存储于图3或图4中的基本数据段,第一数据段和第二数据段中存储的信息相同,在此不再赘述,第三数据段主要用于指示该第一文件的文件来源。
可选的,在一些实施例中,该第三数据段包括标志位字段,该标志位字段主要用于指示该第一文件的类别,通过该第一文件的类别指示可以使终端设备确定该第一文件是否为包含三维模型的数据信息的文件,以区别一般的图片格式文件。
可选的,在一些实施例中,该第三数据段还包括文件来源字段,该文件来源字段用于指示该第一文件的文件来源。
可选的,在一些实施例中,该第三数据段还包括段数字段,该段数字段用于指示该第一文件的扩展数据段中的第一数据段和第二数据段的数量,根据该段数字段,可以确定该扩展数据段中总共有多少个第一数据段和第二数据段。
可选的,在一些实施例中,该第三数据段还包括段偏移量字段,该段偏移量字段用 于指示每个第一数据段或每个第二数据段在该扩展数据段中的位置,可以通过该段偏移量字段,可以快速的确定第一数据段或第二数据段的位置。
应理解,该段偏移量字段的数量可以根据该扩展数据段中总共有多少个第一数据段和第二数据段而确定,即可以根据该段数字段中的值而确定。
应理解,扩展数据段的空间大小可以根据该扩展数据段中的第一数据段和第二数据段的数量而确定,或者可以根据该扩展数据段中的第一数据段和/或第二数据段中存储的信息所占空间的大小而确定,图3、图4、图5所示的第一文件所占空间的大小均根据该第一文件的扩展数据段的大小而确定。
还应理解,在图3、图4、图5中所示的第一数据段、第二数据段、第三数据段的位置可以任意调换,本发明实施例仅以第一数据段在前,第二数据段在第一数据段之后,第三数据段在第二数据段之后为例对第一文件的扩展数据段中包含的数据段进行说明,但本发明实施例并不限定于此。
图6示出了本发明实施例的用于存储人体三维模型信息的第一文件的示意图。
如图6所示,该第一文件的第一个数据段为基本数据段,储存人体三维模型的二维图像信息,终端设备可以根据该人体三维模型的二维图像信息,生成人体三维模型的缩略图,该缩略图的可以为JPEG格式的缩略图,该缩略图的尺寸不限,该缩略图可以是该人体三维模型的正面照的缩略图,也可以是任何一侧可以体现该人体三维模型的主要特征的视图的缩略图。
应理解,该缩略图也可以为其他的图片格式的缩略图,例如,可以是PNG格式的缩略图或者BMP格式的缩略图等,本发明实施例不限定于此。
该第一文件的第二个数据段用于存储人体三维模型的人头模型信息,该人头模型信息存储的数据段为该第一文件的扩展数据段中的第一数据段,生成该人头模型所需的多个文件的文件类型可以分别为OBJ格式、MTL格式和JPEG格式,其中JPEG格式的文件可以不止一个。
同样的,在人头模型信息之后,存储头发模型信息,该头发模型信息存储的数据段为该扩展数据段中的另一个第一数据段,生成该头发模型所需的多个文件的文件类型也可以分别为OBJ格式、MTL格式和JPEG格式,其中JPEG格式的文件可以不止一个。
在头发模型信息之后,存储身体模型信息,该身体模型信息存储的数据段为扩展数据段中的另一个第一数据段,生成该身体模型所需的多个文件的文件类型也可以分别为OBJ格式、MTL格式和JPEG格式,其中JPEG格式的文件可以不止一个。
应理解,本发明实施例仅以生成该人体三维模型的某一部分所需的多个文件的文件类型为OBJ格式、MTL格式和JPEG格式为例对生成三维模型所需的多个文件的文件类型进行说明,但本发明实施例并不限定于此。
在身体模型信息之后,存储算法形变参数,该算法形变参数存储于该第一文件的扩展数据段的第二数据段中,该算法形变参数为生成该人体三维模型的可选参数,该算法形变参数的数据类型为二进制格式。
在算法形变参数之后,存储发型编号信息,该发型编号信息存储于该扩展数据段的另一个第二数据段中,该发型编号也为生成该人体三维模型的可选参数。
在发型编号之后,为男性或女性标志位,存储男性或女性标志信息,该男性或女性标志信息存储于该扩展数据段的另一个第二数据段中,该男性或女性标志信息为生成该 人体三维模型的可选参数。
在男性和女性标志位之后,存储第三的人头模型信息,该第三方人头模型信息存储于扩展数据段中的另一个第一数据段中,生成该第三方人头模型所需的多个文件的文件类型可以分别为OBJ格式、MTL格式和JPEG格式,其中JPEG格式的文件可以不止一个。
同样的,在第三方人头模型信息之后,存储第三方的身体模型信息,该第三方身体模型信息存储于扩展数据段的另一个第一数据段中,生成该第三方的身体模型所需的多个文件的文件类型可以分别为OBJ格式、MTL格式和JPEG格式,其中JPEG格式的文件可以不止一个。
在第三方的身体模型信息之后,存储第三方的配饰模型信息,该第三方的配饰模型信息存储于扩展数据段的另一个第一数据段中,生成该第三方的配饰模型所需的多个文件的文件类型可以分别为OBJ格式、MTL格式和JPEG格式,其中JPEG格式的文件可以不止一个。
应理解,本发明实施例仅以生成三维模型所需的多个文件的文件类型为OBJ格式、MTL格式以及JPEG格式为例对生成三维模型所需的多个文件的文件格式进行说明,但本发明实施例并不限定于此。
在第三方身体模型信息之后,存储第三方配置信息,该第三方配置信息存储于该扩展数据段的另一个第二数据段中,该第三方配置信息为生成该人体三维模型的可选参数。
在第三方配置信息之后,存储文件来源信息,该文件来源信息存储与该扩展数据段的第三数据段中,该文件来源信息用于指示该存储人体三维模型信息的第一文件的来源。
在文件来源信息之后,存储算法调试数据,该算法调试数据存储与该扩展数据段的另一个第二数据段中,该算法调试数据为生成该人体三维模型的可选参数,该算法调试数据的数据类型为二进制格式。
在算法调试数据之后,为预留数据段,该预留数据段用于存储后续扩展的数据,可以是扩展数据段的第一数据段,也可以是扩展数据段的第二数据段,例如,该预留数据段可用于存储骨骼数据,或者可用于存储其他模型信息或参数,或者用于存储第三方配置信息的相关参数。
应理解,图6所示的该存储人体三维模型信息的第一文件中各数据段的排列顺序并非真实顺序,本发明实施例仅以此排列顺序对该第一文件中的各个数据段进行说明,但本发明实施例并不限定于此。
可选的,在一些实施例中,一个第一文件中可以包含多个相同类型的模型信息,例如,图6所示的第一文件可以包含人头模型和第三方人头模型,终端设备可以根据人头模型和第三方人头模型所在数据段的段头字段的段类型的不同,选择读取人头模型还是第三方人头模型,并不会造成终端设备读取信息的混乱。
应理解,本发明实施例仅以图6所示的第一文件中包含的数据段为例对该图片格式的第一文件进行说明,但本发明实施例并不限定于此,该图片格式的第一文件还可以包含更多或更少的数据段。
上文结合图2至图6,详细的描述了本发明实施例的方法实施例,下文将结合图7和图8,详细描述本发明实施例的终端设备的实施例,应理解,终端设备实施例与方法实施例相互对应,类似的描述可以参照方法实施例。
图7是根据本发明实施例的终端设备700的示意性框图。如图7所示,该终端设备700包括:
获取模块710,用于获取图片格式的第一文件,第一文件的扩展数据段包括至少一个第一数据段,第一数据段包括生成所述三维模型中的第一三维模型所需的多个文件的文件数据;
该获取模块710还用于从第一数据段中获取所述多个文件的文件数据;
处理模块720,用于根据多个文件的文件数据,生成第一三维模型。
应理解,该第一三维模型可以为该三维模型也可以为该三维模型的一部分。
可选的,在一些实施例中,该第一文件的文件格式可以为JPEG格式。
应理解,该第一文件可以为任一种图片格式的文件,本发明实施例仅以该第一文件为JPEG格式的文件为例进行说明,但本发明实施例并不限定于此。
可选的,在一些实施例中,该第一文件还包括基本数据段,基本数据段包含所述三维模型的二维图像信息。
可选的,在一些实施例中,该获取模块710还用于获取模块还用于从所述基本数据段中获取所述二维图像信息。
可选的,在一些实施例中,该处理模块720还用于根据二维图像信息,生成所述三维模型的缩略图。
在本发明实施例中,通过一个文件包含生成三维模型所需的多个文件的文件数据,避免了一个三维模型需要多个文件进行描述的问题,可以保证三维模型的数据信息解析的准确性,且便于终端设备对包含三维模型的数据信息的文件进行管理。
可选的,在一些实施例中,扩展数据段还包括第二数据段,该第二数据段包括生成该三维模型的可选参数。
在本发明实施例中,通过第二数据段中包含的可选参数,可以使三维模型更为完善,在视觉的角度看起来更为真实。
可选的,在一些实施例中,第一数据段包括段头字段和数据字段,该段头字段主要用于指示生成第一三维模型所需的多个文件中的每个文件的文件数据在第一数据段中的位置,该第一三维模型可以是该整个三维模型也可以是该三维模型的某一部分。
可选的,在一些实施例中,该段头字段还用于指示该第一数据段的类型。
可选的,在一些实施例中,该段头字段还用于指示该第一数据段的长度。
可选的,在一些实施例中,该段头字段还用于指示该多个文件中的每个文件的文件名称或编号。
可选的,在一些实施例中,该段头字段还用于指示该多个文件中的每个文件的文件名称或编号的长度。
可选的,在一些实施例中,该段头字段还用于指示该多个文件的数量。
可选的,在一些实施例中,该扩展数据段还包括第三数据段,该第三数据段用于指示该第一文件的文件来源。
可选的,在一些实施例中,该第三数据段还用于指示该第一文件的类别,通过该第一文件的类别指示可以使终端设备确定该第一文件是否为包含三维模型的信息的文件,以区别一般的图片格式文件。
可选的,在一些实施例中,该第三数据段还用于指示该第一文件中包含的第一数据段和第二数据段的数量,该数量的取值范围理论上可以为0~255。
可选的,在一些实施例中,该第三数据段还用于指示第一数据段或第二数据段在该第一文件中的位置,即该第三数据段包含第一数据段和第二数据段的段偏移量。
应理解,根据本发明实施例终端设备700可对应于本发明实施例中的终端设备,并且该终端设备700中的各个模块的上述和其他操作和/或功能分别实现图2中的各个方法的相应流程,为了简洁,在此不再赘述。
图8是根据本发明实施例的终端设备800的示意性结构图。
如图8所示,所述终端设备800包括存储器810和处理器820,所述存储器810和处理器820之间通过内部连接通路互相通信,传递控制和/或数据信号。
所述存储器810用于存储程序代码;
所述处理器820用于调用所述程序代码以实现本发明上述各实施例中的方法。
在本发明实施例中,处理器820可以是中央处理器(Central Processing Unit,CPU),网络处理器(Network Processor,NP)或者CPU和NP的组合。处理器还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(Application-Specific Integrated Circuit,ASIC),可编程逻辑器件(Programmable Logic Device,PLD)或其组合。
本发明实施例提供了一种计算机可读介质,用于存储计算机程序代码,该计算机程序包括用于执行上述图2中本发明实施例的生成三维模型的方法的指令。该可读介质可以是只读存储器(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,RAM),本发明实施例对此不做限制。
在本发明实施例中,可以全部或部分地通过软件,硬件,固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地按照本发明实施例所述的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线路(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质(例如,软盘、硬盘、磁带)光介质(例如数字通用光盘(Digital Video Disc,DVD)),或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。
应理解,根据本发明实施例终端设备800可对应于本发明实施例中的终端设备,并且该终端设备800中的各个部件的上述和其他操作和/或功能分别实现图2中的各个方法的相应流程,为了简洁,在此不再赘述。
应理解,本文中术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元 及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。

Claims (14)

  1. 一种生成三维模型的方法,其特征在于,所述方法包括:
    获取图片格式的第一文件,所述第一文件包括基本数据段和扩展数据段,所述基本数据段包含所述三维模型的二维图像信息,所述扩展数据段包括至少一个第一数据段,所述第一数据段包括生成所述三维模型中的第一三维模型所需的多个文件的文件数据;
    从所述第一数据段中获取所述多个文件的文件数据;
    根据所述多个文件的文件数据,生成所述第一三维模型。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    从所述基本数据段中获取所述二维图像信息;
    根据所述二维图像信息,生成所述三维模型的缩略图。
  3. 根据权利要求1或2所述的方法,其特征在于,所述扩展数据段还包括至少一个第二数据段,所述第二数据段包含生成所述三维模型的可选参数,所述可选参数根据不同的三维模型确定。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述第一数据段包括段头字段和数据字段,所述段头字段用于指示所述多个文件中的每个文件的文件数据在所述第一数据段中的位置,所述数据字段用于存储生成所述三维模型中的第一三维模型所需的多个文件的文件数据。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述扩展数据段还包括至少一个第三数据段,所述第三数据段用于指示所述第一文件的来源。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述第一文件的文件格式为JPEG格式。
  7. 一种终端设备,其特征在于,所述终端设备包括:
    获取模块,用于获取图片格式的第一文件,所述第一文件的扩展数据段包括至少一个第一数据段,所述第一数据段包括生成所述三维模型中的第一三维模型所需的多个文件的文件数据;
    所述获取模块还用于从所述第一数据段中获取所述多个文件的文件数据;
    处理模块,用于根据所述多个文件的文件数据,生成所述第一三维模型。
  8. 根据权利要求7所述的终端设备,其特征在于,所述第一文件还包括基本数据段,所述基本数据段包含所述三维模型的二维图像信息;
    所述获取模块还用于从所述基本数据段中获取所述二维图像信息;
    所述处理模块还用于根据所述二维图像信息,生成所述三维模型的缩略图。
  9. 根据权利要求7或8所述的终端设备,其特征在于,所述扩展数据段还包括第二数据段,所述第二数据段包含生成所述三维模型的可选参数。
  10. 根据权利要求7至9中任一项所述的终端设备,其特征在于,所述第一数据段包括段头字段和数据字段,所述段头字段用于指示所述多个文件中的每个文件的文件数据在所述第一数据段中的位置。
  11. 根据权利要求7至10中任一项所述的终端设备,其特征在于,所述扩展数据段还包括第三数据段,所述第三数据段用于指示所述第一文件的来源。
  12. 根据权利要求7至11中任一项所述的终端设备,其特征在于,所述第一文件的文件格式为JPEG格式。
  13. 一种终端设备,其特征在于,所述终端设备包括存储器、处理器,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码以实现如权利要求1至6中任一项所述的方法。
  14. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1至6中任一项所述的方法。
PCT/CN2017/074530 2016-11-26 2017-02-23 生成三维模型的方法和终端设备 WO2018094883A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780003603.9A CN108292447B (zh) 2016-11-26 2017-02-23 生成三维模型的方法和终端设备
US16/464,202 US10997778B2 (en) 2016-11-26 2017-02-23 Method for generating three-dimensional model, and terminal device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611057262 2016-11-26
CN201611057262.7 2016-11-26

Publications (1)

Publication Number Publication Date
WO2018094883A1 true WO2018094883A1 (zh) 2018-05-31

Family

ID=62194764

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/074530 WO2018094883A1 (zh) 2016-11-26 2017-02-23 生成三维模型的方法和终端设备

Country Status (3)

Country Link
US (1) US10997778B2 (zh)
CN (2) CN108292447B (zh)
WO (1) WO2018094883A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111275814A (zh) * 2020-01-21 2020-06-12 山东浪潮通软信息科技有限公司 一种面向webgl应用的三维模型轻量化方法

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109035372B (zh) * 2018-06-08 2023-01-24 广州虎牙信息科技有限公司 编辑动态模型的方法、装置、设备及存储介质
CN110796730B (zh) * 2019-10-31 2023-10-24 国网河北省电力有限公司电力科学研究院 基于扩展模型文件的二次设备三维模型自动生成方法
US11676341B2 (en) * 2020-04-30 2023-06-13 Clothing Tech LLC Computer implemented methods for generating 3D garment models
CN112862975B (zh) * 2021-03-17 2023-11-28 武汉联影智融医疗科技有限公司 骨骼数据处理方法、系统、可读存储介质和设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339018A (zh) * 2008-08-13 2009-01-07 广州市城市规划勘测设计研究院 远程模式的三维坐标转换方法
US20090021514A1 (en) * 2007-05-22 2009-01-22 Mark Klusza Handling raster image 3d objects
CN102831635A (zh) * 2011-06-13 2012-12-19 华为软件技术有限公司 一种展示矢量图形的方法和终端
CN105160700A (zh) * 2015-06-18 2015-12-16 上海工程技术大学 一种用于三维模型重建的截面曲线重构方法

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6424996B1 (en) * 1998-11-25 2002-07-23 Nexsys Electronics, Inc. Medical network system and method for transfer of information
US6690762B1 (en) * 2001-02-28 2004-02-10 Canon Kabushiki Kaisha N-dimensional data encoding of projected or reflected data
GB2382509B (en) * 2001-11-23 2003-10-08 Voxar Ltd Handling of image data created by manipulation of image data sets
US7774326B2 (en) * 2004-06-25 2010-08-10 Apple Inc. Methods and systems for managing data
KR20080066408A (ko) * 2007-01-12 2008-07-16 삼성전자주식회사 3차원 영상 처리 장치 및 방법
KR20090025699A (ko) * 2007-09-07 2009-03-11 한국과학기술연구원 3차원 모델 제공 시스템 및 방법
JP2011142586A (ja) * 2010-01-08 2011-07-21 Sony Corp 画像処理装置、情報記録媒体、および画像処理方法、並びにプログラム
US8717384B1 (en) * 2010-09-28 2014-05-06 The United State Of America As Represented By The Secretary Of The Navy Image file format article of manufacture
US20120203806A1 (en) * 2011-02-07 2012-08-09 Ivan Panushev Building information management system
US10743945B2 (en) * 2012-10-02 2020-08-18 Radlink, Inc. Surgical method and workflow
JP6415812B2 (ja) * 2012-12-25 2018-10-31 キヤノンメディカルシステムズ株式会社 画像観察装置、画像観察方法、及びコンピュータ読み取り可能な記録媒体
US9751294B2 (en) * 2013-05-09 2017-09-05 Perkinelmer Informatics, Inc. Systems and methods for translating three dimensional graphic molecular models to computer aided design format
US10416099B2 (en) * 2013-09-19 2019-09-17 Sigray, Inc. Method of performing X-ray spectroscopy and X-ray absorption spectrometer system
CN103617220B (zh) 2013-11-22 2017-01-18 北京掌阔移动传媒科技有限公司 一种移动终端3d模型实现方法和装置
CN103854304A (zh) * 2014-03-06 2014-06-11 王治魁 一种三维模型生成系统及生成方法
US9390548B2 (en) * 2014-06-16 2016-07-12 Sap Se Three-dimensional volume rendering using an in-memory database
WO2016040377A1 (en) * 2014-09-08 2016-03-17 Trupik, Inc. Systems and methods for image generation and modeling of complex three-dimensional objects
CN105260441A (zh) 2015-10-09 2016-01-20 摩多数据(深圳)有限公司 一种3d人体数据模型场景导入方法及过程
CN105809733A (zh) 2016-03-10 2016-07-27 江苏工程职业技术学院 基于SketchUp 的校园三维手绘地图构建方法
US11369467B2 (en) * 2016-04-05 2022-06-28 Establishment Labs S.A. Medical imaging systems, devices, and methods
WO2017194071A1 (en) * 2016-05-12 2017-11-16 Hewlett-Packard Development Company, L.P. Processing of 3d printing files
CN107016228B (zh) * 2016-11-25 2023-08-18 斯图尔特平李 一种基于hmds的医学成像系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090021514A1 (en) * 2007-05-22 2009-01-22 Mark Klusza Handling raster image 3d objects
CN101339018A (zh) * 2008-08-13 2009-01-07 广州市城市规划勘测设计研究院 远程模式的三维坐标转换方法
CN102831635A (zh) * 2011-06-13 2012-12-19 华为软件技术有限公司 一种展示矢量图形的方法和终端
CN105160700A (zh) * 2015-06-18 2015-12-16 上海工程技术大学 一种用于三维模型重建的截面曲线重构方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111275814A (zh) * 2020-01-21 2020-06-12 山东浪潮通软信息科技有限公司 一种面向webgl应用的三维模型轻量化方法
CN111275814B (zh) * 2020-01-21 2023-10-13 浪潮通用软件有限公司 一种面向webgl应用的三维模型轻量化方法

Also Published As

Publication number Publication date
US20190371047A1 (en) 2019-12-05
CN113177998A (zh) 2021-07-27
US10997778B2 (en) 2021-05-04
CN108292447B (zh) 2021-03-30
CN108292447A (zh) 2018-07-17

Similar Documents

Publication Publication Date Title
WO2018094883A1 (zh) 生成三维模型的方法和终端设备
JP7355821B2 (ja) 疎結合されたリローカライゼーションサービスおよびアセット管理サービスを介して人工環境内でデジタルアセットを提示するためのシステムおよび方法
CN104395902B (zh) 根据存储的图像确定3d模型信息
CN104346834B (zh) 信息处理设备和位置指定方法
US9928645B2 (en) Raster-based mesh decimation
US11715263B2 (en) File generation apparatus, image generation apparatus based on file, file generation method and storage medium
US11775781B2 (en) Product verification in a messaging system
US11816926B2 (en) Interactive augmented reality content including facial synthesis
WO2020024744A1 (zh) 一种图像特征点检测方法、终端设备及存储介质
KR20230162987A (ko) 서드 파티 애플리케이션들을 위한 증강 현실 콘텐츠에서의 얼굴 합성
US11468613B2 (en) Annotating an image with a texture fill
US11875600B2 (en) Facial synthesis in augmented reality content for online communities
US20220319060A1 (en) Facial synthesis in augmented reality content for advertisements
US12003883B2 (en) Facial synthesis in overlaid augmented reality content
EP4143787A1 (en) Photometric-based 3d object modeling
US20210118087A1 (en) Watermark embedding method and apparatus, terminal, and storage medium
KR20230162107A (ko) 증강 현실 콘텐츠에서의 머리 회전들에 대한 얼굴 합성
US20160042233A1 (en) Method and system for facilitating evaluation of visual appeal of two or more objects
JP7378960B2 (ja) 画像処理装置、画像処理システム、画像生成方法、および、プログラム
CN114064187A (zh) 一种跨渲染引擎的中间装置、数据处理方法及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17873919

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17873919

Country of ref document: EP

Kind code of ref document: A1