CN109600601A - A kind of method and terminal device storing 3D rendering - Google Patents

A kind of method and terminal device storing 3D rendering Download PDF

Info

Publication number
CN109600601A
CN109600601A CN201811405986.5A CN201811405986A CN109600601A CN 109600601 A CN109600601 A CN 109600601A CN 201811405986 A CN201811405986 A CN 201811405986A CN 109600601 A CN109600601 A CN 109600601A
Authority
CN
China
Prior art keywords
data
bit
data bit
object format
block
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201811405986.5A
Other languages
Chinese (zh)
Inventor
纪杨琨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811405986.5A priority Critical patent/CN109600601A/en
Publication of CN109600601A publication Critical patent/CN109600601A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the present invention provides a kind of method and terminal device for storing 3D rendering, is related to technical field of image processing, for solving the problems, such as that the data format for storing 3D rendering in the prior art can not be general between terminal devices.This method comprises: storing target 3D rendering with object format;Object format includes: format identification (FID) information, File header information, 3D data and end-of-file information;The format identification (FID) information is used to identify the version information of object format;Analytic parameter needed for File header information is used for identification (RNC-ID) analytic 3D data;3D data include the depth data and color data of pixel in target 3D rendering;End-of-file information is used to identify the end position of object format.The embodiment of the present invention is for storing 3D rendering.

Description

A kind of method and terminal device storing 3D rendering
Technical field
The present invention relates to technical field of image processing more particularly to a kind of methods and terminal device for storing 3D rendering.
Background technique
Currently, exponentially type increases for 3D application in terminal device, in order to be compatible with 3D application, terminal device needs hard from bottom It has been shown that, editor and the storage of 3D rendering are supported on part and corresponding data processing.
Difference between 3D rendering and conventional digital image is that 3D rendering not only includes the color in conventional digital image Information, luminance information etc., but also include the depth information for reflecting object distance.In 3D rendering synthesis, as long as measuring every The depth information of one pixel, and by the depth information of each pixel and the colouring information of corresponding pixel, brightness Information etc. combines, and can synthesize the 3D rendering with depth information.Currently, the side that storage 3D rendering generally uses Formula is: saving the depth information of 3D rendering as the prefix of original image or suffix.It is deposited in this way in display When the 3D rendering of storage, it is necessary first to parse the prefix of original image or the depth letter of suffix acquisition 3D rendering by specific program Breath, is shown then in conjunction with the depth information and other information of 3D rendering.Due to the corresponding data (original image of depth information Prefix or suffix) need parsed using specific program, therefore it is this storage 3D rendering data format can not be in terminal It is general between equipment.
Summary of the invention
The embodiment of the present invention provides a kind of method and terminal device for storing 3D rendering, stores in the prior art for solving The data format of 3D rendering can not general problem between terminal devices.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of methods for storing 3D rendering, comprising:
Target 3D rendering is stored with object format;
The object format includes: format identification (FID) information, File header information, 3D data and end-of-file information;
The format identification (FID) information is used to identify the version information of the object format;
The File header information is for analytic parameter needed for 3D data described in identification (RNC-ID) analytic;
The 3D data include the depth data and color data of pixel in the target 3D rendering;
The end-of-file information is used to identify the end position of the object format.
Second aspect, the embodiment of the invention provides a kind of terminal devices, comprising:
Storage unit, for storing target 3D rendering with object format;
The object format includes: format identification (FID) information, File header information, 3D data and end-of-file information;
The format identification (FID) information is used to identify the version information of the object format;
The File header information is for analytic parameter needed for 3D data described in identification (RNC-ID) analytic;
The 3D data include the depth data and color data of pixel in the target 3D rendering;
The end-of-file information is used to identify the end position of the object format.
The third aspect the embodiment of the invention provides a kind of terminal device, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor Now the step of method of storage 3D rendering as described in relation to the first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Computer program is stored in matter, and storage 3D rendering as described in relation to the first aspect is realized when the computer program is executed by processor Method the step of.
The method of storage 3D rendering provided in an embodiment of the present invention, stores target 3D rendering with object format, wherein described Object format includes: format identification (FID) information for identifying the version information of the object format, for parsing the 3D data The 3D data of the File header information of required analytic parameter, the depth data including pixel in target 3D rendering and color data And the end-of-file information of the end position for identifying the object format.The depth of 3D rendering is believed compared with the prior art It ceases and is saved as the prefix or suffix of original image, the embodiment of the present invention places the depth data of pixel in 3D rendering In 3D data, therefore the embodiment of the present invention is not necessarily to parse the prefix of original image by specific program or suffix obtains 3D figure The depth information of picture, both in available 3D rendering pixel depth data, therefore storage 3D rendering provided by the invention Method can solve store the data format of 3D rendering in the prior art can not general problem between terminal devices.
Detailed description of the invention
Fig. 1 is the framework of Android operation system provided by the embodiments of the present application;
Fig. 2 is the flow chart of the method for storage 3D rendering provided in an embodiment of the present invention;
Fig. 3 is one of the schematic diagram of object format provided in an embodiment of the present invention;
Fig. 4 is the two of the schematic diagram of object format provided in an embodiment of the present invention;
Fig. 5 is the three of the schematic diagram of object format provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 7 is the hardware structural diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or";In formula, character "/" indicates forward-backward correlation Object is the relationship of a kind of " being divided by ".If explanation is not added, " multiple " herein refer to two or more.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in an embodiment of the present invention, use " the One ", the printed words such as " second " distinguish function or the essentially identical identical entry of effect or similar item, and those skilled in the art can To understand that the printed words such as " first ", " second " are not defined quantity and execution order.
In the embodiment of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This hair Be described as in bright embodiment " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as than it Its embodiment or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words be intended to Related notion is presented in specific ways.In embodiments of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or It is more than two.
Currently, storage 3D rendering is generally by the way of: using the depth information of 3D rendering as the prefix of original image or Person's suffix saves.In the 3D rendering that display stores in this way, it is necessary first to be parsed by specific program former The prefix or suffix of image obtain the depth information of 3D rendering, the depth information and other information then in conjunction with 3D rendering into Row display.Since the corresponding data of depth information need to parse using specific program, the data of this storage 3D rendering Format can not be general between terminal devices.
Based on the above issues, the embodiment of the invention provides a kind of method and terminal device for storing 3D rendering, the storages The method of 3D rendering stores target 3D rendering with object format, wherein the object format includes: for identifying the target lattice The format identification (FID) information of the version information of formula, for analytic parameter needed for parsing the 3D data File header information including The 3D data of the depth data of pixel and color data and the end for identifying the object format in target 3D rendering The end-of-file information of position.It is carried out compared with the prior art using the depth information of 3D rendering as the prefix of original image or suffix Save, the depth data of pixel in 3D rendering is placed in 3D data by the embodiment of the present invention, therefore the embodiment of the present invention without Prefix or suffix that original image need to be parsed by specific program obtain the depth information of 3D rendering, both available 3D rendering The depth data of middle pixel, therefore the method for storage 3D rendering provided by the invention can solve storage 3D figure in the prior art The data format of picture can not general problem between terminal devices.
Below by taking Android operation system as an example, the method for introducing storage 3D rendering provided by the embodiments of the present application is answered Software environment.
As shown in FIG. 1, FIG. 1 is a kind of possible peaces applied by the method for storage 3D rendering provided by the embodiments of the present application The configuration diagram of tall and erect operating system.In Fig. 1, the framework of Android operation system includes 4 layers, is respectively as follows: application layer, answers With process block rack-layer, system Runtime Library layer and inner nuclear layer (being specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present application, developer can be based on above-mentioned Android as shown in Figure 1 The software journey of the method for quick start application program provided by the embodiments of the present application is realized in the system architecture of operating system, exploitation Sequence, so that the method for the quick start application program can be run based on Android operation system as shown in Figure 1.Handle Device or terminal device can be provided by the embodiments of the present application fast by running software program realization in Android operation system The method of speed starting application program.
Terminal device provided by the embodiments of the present application can be mobile phone, tablet computer, laptop, super mobile personal Computer (ultra-mobile personal computer, UMPC), net book, personal digital assistant (personal Digital assistant, PDA), smartwatch, the terminal devices such as Intelligent bracelet or the terminal device can also be other The terminal device of type, the embodiment of the present application are not construed as limiting.
The embodiment of the present invention provides a kind of method for storing 3D rendering, specifically, referring to shown in Fig. 2, storage 3D figure The method of picture includes:
S21, target 3D rendering is stored with object format.
Wherein, the object format includes: format identification (FID) information, File header information, 3D data and end-of-file information;
The format identification (FID) information is used to identify the version information of the object format;
The File header information is for analytic parameter needed for 3D data described in identification (RNC-ID) analytic;
The 3D data include the depth data and color data of pixel in the target 3D rendering;
The end-of-file information is used to identify the end position of the object format.
It should be noted that the present invention is real before executing above-mentioned steps S21 (storing target 3D rendering with object format) The method for applying the storage 3D rendering of example offer also needs to obtain the depth data and color data of pixel in target 3D rendering, this Inventive embodiments can obtain the depth data and color data of each pixel in target 3D rendering by the following two kinds mode:
Mode 1 acquires the depth data and color data for obtaining each pixel in target 3D rendering by 3D camera.
Mode 2, parsing 3D rendering extract the depth data and color data of each pixel in target 3D rendering.
Certainly, those skilled in the art can also obtain the depth data of pixel in target 3D rendering by other means And color data, it is not limited in the embodiment of the present invention, with can obtain in target 3D rendering the depth data of pixel and Subject to color data.
Specifically, the object format in above-described embodiment is described in detail, with object format in Fig. 3 below in conjunction with Fig. 3 Using ASCII (American Standard Code for Information Interchange, ASCII), and each data bit be all made of 16 systems for be illustrated.
Optionally, the data in the object format form the data matrix of 16*N;
It include altogether N row data, N is positive integer that is, including 16 data in data in every a line.
As shown in figure 3, the format identification (FID) information 31 is carried on the 1st data bit of the object format to the 36th number According on position.
The File header information 32 is carried in the 37th data bit to the 136th data bit of the object format.
The 3D data 33 are loaded in the 137th data bit to the 10th data bit reciprocal of the object format.
The end-of-file information 34 is carried on the 9th data bit of inverse of the object format to the last one data bit On.
That is, the format identification (FID) information 31 of object format is carried in the data bit that address is 00000000 to 00000023, The File header information 32 of object format is carried in the data bit that address is 00000024 to 00000087, the 3D number of object format It is carried on according to 33 in the data bit that address is 00000088 to tuvwxyz6, the end-of-file information 34 of object format is carried on address In data bit for tuvwxyz7 to tuvwxyzf.
Illustratively, as shown in figure 3, the number carried in the 1st data bit to the 36th data bit of the object format According to be followed successively by 33,44,20,47,45,4e, 45,52,49,43,20,53,54,41,4e, 44,41,52,44,20,56,32,2e, 30,2e, 30,20,32,30,31,38,30,38,30,31,0a, therefore the corresponding character string of format identification (FID) information of object format For " 3D GENERIC STANDARD V2.0.0 20180801. ".
Illustratively, as shown in figure 3, being held in the 9th data bit to the last one data bit of inverse of the object format The data of load are followed successively by 45,52,44,33,44,46,49,4c, 45, therefore the corresponding character string of end-of-file information of object format For " END3DFILE ".
Further, referring to shown in Fig. 4, the File header information 32 includes: header file information identifier 401, depth map As effective bit wide identifier 402, the bit wide 403 of the effective bit wide data block of depth image, the effective bit wide data of the depth image Block 404, depth image width identifier 405, the bit wide 406 of depth image width data block, the depth image width data Block 407, depth image height identification accord with 408, the bit wide 409 of depth image altitude information block, the depth image altitude information The effective bit wide identifier 411 of block 410, luminance picture, the bit wide 412 of the effective bit wide data block of luminance picture, the luminance picture Effective bit wide data block 413, luminance picture width identifier 414, the bit wide 415 of luminance picture width data block, the brightness Picture traverse data block 416, luminance picture height identification accord with 417, the bit wide 418 of luminance picture altitude information block, the brightness Picture altitude data block 419, color image width identifier 420, the bit wide 421 of color image width data block, the color Picture traverse data block 422, color image height identification accord with 423, the bit wide 424 of color image altitude information block, the color Picture altitude data block 425, color format identifier 426, the bit wide 427 of color format data block and the color format number According to block 428.
Wherein, the header file information identifier 401 is loaded in the 37th data bit of the object format to the 42nd number According on position.
As shown in figure 4, header file information identifier 401 is carried on the data bit that address is 00000024 to 00000029 On, the data in the 37th data bit to the 42nd data bit of the object format are successively are as follows: 33,44,49,4c, 46,4f, Therefore the corresponding character string of header file information identifier 401 is " 3DINFO ".
The effective bit wide identifier 402 of depth image is carried on the 44th data bit of the object format to the 47th In data bit.
As shown in figure 4, the effective bit wide identifier 402 of depth image is carried on the number that address is 0000002b to 0000002e According on position, the data in the 37th data bit to the 42nd data bit of the object format are successively are as follows: and 44,42,49,54, because This depth image corresponding character string of effective bit wide identifier 402 is " DBIT ".
The bit wide of the effective bit wide data block 403 of depth image be carried on the object format the 48th data bit and In 49th data bit.
As shown in figure 4, the effective bit wide data block 403 of depth image is carried on the number that address is 0000002f to 00000030 According on position, the data in the 48th data bit and the 49th data bit of the object format are successively are as follows: and 01,00, therefore depth The image corresponding character string of effective bit wide data block 403 is " 1 ".That is, the effective bit wide data block of depth image occupies 1 data Position.
In wide the 50th data bit for being carried on the object format of the effective bit wide data block 404 of depth image.
As shown in figure 4, the effective bit wide data block 404 of depth image is carried in the data bit that address is 00000031, institute State the 50th data bits evidence of object format are as follows: 0c, therefore the corresponding character string of the effective bit wide data block 404 of depth image is " 12 ", i.e. effective bit wide of depth image data are 12.
The depth image width identifier 405 is carried on the 51st data bit of the object format to the 54th data On position.
As shown in figure 4, depth image width identifier 405 is carried on the data bit that address is 00000033 to 0000035 On, the data in the 51st data bit and the 54th data bit of the object format are successively are as follows: and 44,45,50,57, therefore it is deep Spending the corresponding character string of picture traverse identifier 405 is " DEWP ".
The bit wide 406 of the depth image width data block is carried on the 55th data bit of the object format to the 58th In a data bit.
As shown in figure 4, the effective bit wide data block 406 of depth image is carried on the number that address is 00000036 to 00000039 According on position, the data in the 55th data bit and the 58th data bit of the object format are successively are as follows: and 04,00,00,00, because This depth image corresponding character string of effective bit wide data block 406 is " 4 ".That is, depth image width data block occupies 4 data Position.
The depth image width data block 407 is carried on the 59th data bit of the object format to the 62nd data On position.
As shown in figure 4, depth image width data block 407 is carried on the data bit that address is 0000003a to 0000003d On, the data in the 59th data bit and the 62nd data bit of the object format are successively are as follows: and 80,02,00,00, therefore it is deep Spending the corresponding character string of picture traverse data block 407 is " 640 ".That is, depth image width is 640 pixels.
Depth image height identification symbol 408 is carried on the 63rd data bit of the object format to the 66th data On position.
As shown in figure 4, depth image height identification symbol 408 is carried on the data bit that address is 0000003e to 00000041 On, the data in the 63rd data bit and the 66th data bit of the object format are successively are as follows: and 44,45,50,48, therefore it is deep Spending the corresponding character string of picture altitude identifier 408 is " DEWH ".
The bit wide 409 of the depth image altitude information block is carried on the 67th data bit of the object format to the 70th In a data bit.
As shown in figure 4, it is 00000042 to 00000045 that the bit wide 409 of depth image altitude information block, which is carried on address, In data bit, the data in the 67th data bit and the 70th data bit of the object format are successively are as follows: and 04,00,00,00, Therefore the corresponding character string of bit wide 409 of depth image altitude information block is " 4 ".That is, depth image altitude information block occupies 4 Data bit.
The depth image altitude information block 410 is carried on the 71st data bit of the object format to the 74th data On position.
As shown in figure 4, depth image altitude information block 410 is carried on the data bit that address is 00000046 to 00000049 On, the data in the 71st data bit and the 74th data bit of the object format are successively are as follows: e0,01,00,00, therefore it is deep Spending the corresponding character string of picture altitude data block 410 is " 480 ".That is, depth image height is 480 pixels.
The effective bit wide identifier 411 of luminance picture be carried on the object format the 75th data bit and the 78th In data bit.
As shown in figure 4, the effective bit wide identifier 411 of luminance picture is carried on the number that address is 0000004a to 0000004d According on position, the data in the 75th data bit and the 78th data bit of the object format are successively are as follows: and 49,42,49,54, because This luminance picture corresponding character string of effective bit wide identifier 411 is " IBIT ".
The bit wide 412 of the effective bit wide data block of luminance picture be carried on the object format the 79th data bit and In 80th data bit.
As shown in figure 4, the bit wide 412 of the effective bit wide data block of luminance picture be carried on address be 0000004e and In the data bit of 0000004f, the data in the 79th data bit and the 80th data bit of the object format are successively are as follows: 01, 00, therefore the corresponding character string of bit wide 412 of the effective bit wide data block of luminance picture is " 1 ".That is, depth image altitude information block Occupy 1 data bit.
The effective bit wide data block 413 of luminance picture is loaded in the 81st data bit of the object format.
As shown in figure 4, the effective bit wide data block 413 of luminance picture is carried in the data bit that address is 00000050, institute State the data in the 81st data bit of object format are as follows: 0c, therefore the corresponding character of the effective bit wide data block 413 of luminance picture String is " 12 ".That is, effective bit wide of luminance picture data is 12.
The luminance picture width identifier 414 is stated in the 82nd data bit to the 85th data bit of object format.
As shown in figure 4, luminance picture width identifier 414 is carried on the data bit that address is 00000051 to 00000054 On, the object format the 82nd according to position and the 85th according to the data on position successively are as follows: 49,52,4c, 47, therefore luminance graph image width Spending the corresponding character string of identifier 414 is " IRLW ".
The bit wide 415 of the luminance picture width data block is carried on the 86th data bit of the object format to the 89th In a data bit.
As shown in figure 4, it is 00000055 to 00000058 that the bit wide 415 of luminance picture width data block, which is carried on address, In data bit, the data in the 86th data bit to the 89th data bit of the object format are successively are as follows: 04,00,00,00, Therefore the corresponding character string of bit wide 415 of luminance picture width data block is " 4 ".That is, luminance picture width data block occupies 4 Data bit.
The luminance picture width data block 416 is carried on the 90th data bit of the object format to the 93rd data On position.
As shown in figure 4, luminance picture width data block 416 is carried on the data bit that address is 00000059 to 0000005c On, the data in the 90th data bit and the 93rd data bit of the object format are successively are as follows: and 80,02,00,00, therefore it is bright Spending the corresponding character string of picture traverse data block 416 is " 640 ".That is, luminance picture width is 640 pixels.
Luminance picture height identification symbol 417 is carried on the 94th data bit of the object format to the 97th data On position.
As shown in figure 4, luminance picture height identification symbol 417 is carried on the data bit that address is 00000051 to 00000054 On, the data in the 94th data bit to the 97th data bit of the object format are successively are as follows: 49,52,4c, 48, therefore it is bright Spending the corresponding character string of picture traverse identifier 414 is " IRLH ".
The bit wide 418 of the luminance picture altitude information block is carried on the 98th data bit of the object format to In 101 data bit.
As shown in figure 4, it is 00000061 to 00000064 that the bit wide 418 of luminance picture altitude information block, which is carried on address, In data bit, the data in the 98th data bit to the 101st data bit of the object format are successively are as follows: 04,00,00, 00, therefore the corresponding character string of bit wide 418 of luminance picture altitude information block is " 4 ".That is, luminance picture altitude information block accounts for With 4 data bit.
The luminance picture altitude information block 419 is loaded in the 102nd data bit of the object format to the 105th data On position.
As shown in figure 4, luminance picture altitude information block 419 is carried on the data bit that address is 00000065 to 00000068 On, the data in the 90th data bit and the 93rd data bit of the object format are successively are as follows: e0,01,00,00, therefore it is bright Spending the corresponding character string of picture altitude data block 419 is " 480 ".That is, luminance picture height is 480 pixels.
The color image width identifier 420 is carried on the 106th data bit of the object format to the 109th number According on position.
As shown in figure 4, color image width identifier 420 is carried on the data bit that address is 00000069 to 0000006c On, the 106th of the object format according to the data on position and the 109th data position successively are as follows: 43,4f, 4c, 57, therefore bright Spending the corresponding character string of picture traverse identifier 414 is " CPLW ".
The bit wide 421 of the color image width data block is carried on the 110th data bit of the object format to In 113 data bit.
As shown in figure 4, it is 0000006d to 00000070 that the bit wide 421 of color image width data block, which is carried on address, In data bit, the data in the 110th data bit and the 113rd data bit of the object format are successively are as follows: 04,00,00, 00, therefore the corresponding character string of bit wide 421 of color image width data block is " 4 ".That is, color image width data block occupies 4 data bit.
The color image width data block 422 is carried on the 114th data bit of the object format to the 117th number According on position.
As shown in figure 4, color image width data block 422 is carried on the data bit that address is 00000071 to 00000074 On, the data in the 114th data bit and the 117th data bit of the object format are successively are as follows: c0,0f, 00,00, therefore The corresponding character string of color image width data block 422 is " 4032 ".That is, color image width is 4032 pixels.
Color image height identification symbol 423 is carried on the 118th data bit of the object format to the 121st number According to position.
As shown in figure 4, color image height identification symbol 423 is carried on the data bit that address is 00000075 to 00000078 On, the 118th of the object format according to the data on position and the 121st data position successively are as follows: 43,4f, 4c, 48, therefore bright Spending the corresponding character string of picture traverse identifier 414 is " CPLH ".
The bit wide 424 of the color image altitude information block is carried on the 122nd data bit of the object format to In 125 data bit.
As shown in figure 4, it is 00000079 to 0000007c's that the bit wide 424 of color image altitude information block, which is carried on address, In data bit, the data in the 122nd data bit and the 125th data bit of the object format are successively are as follows: 04,00,00, 00, therefore the corresponding character string of bit wide 424 of color image altitude information block is " 4 ".That is, color image altitude information block occupies 4 data bit.
The color image altitude information block 425 is carried on the 126th data bit of the object format to the 129th number According on position.
As shown in figure 4, color image altitude information block 425 is carried on the data bit that address is 0000007d to 00000080 On, the data in the 126th data bit and the 129th data bit of the object format are successively are as follows: d0,0b, 00,00, therefore The corresponding character string of color image altitude information block 425 is " 3024 ".That is, color image width is 3024 pixels.
Color format identifier carrying 426 in the object format the 130th data bit to the 133rd data bit On.
As shown in figure 4, color format identifier carrying 426 is carried on the data bit that address is 00000081 to 00000084 On, the 130th of the object format according to the data on position and the 133rd data position successively are as follows: 43,4f, 4c, 46, therefore bright Spending color format identifier to carry 426 corresponding character strings is " COLF ".
The bit wide 427 of the color format data block be carried on the object format the 134th data bit and the 135th In data bit.
As shown in figure 4, the bit wide 427 of color format data block is carried on the data that address is 00000085 and 00000086 On position, the data in the 134th data bit and the 135th data bit of the object format are successively are as follows: and 01,00, therefore color The corresponding character string of bit wide 427 of formatted data block is " 1 ".That is, color format data block occupies 1 data bit.
The color format data block 428 is carried in the 136th data bit of the object format.
As shown in figure 4, color format data block 428 is carried in the data bit that address is 00000087, the target lattice Data in 136th data bit of formula are 00, therefore the corresponding character string of color format data block 428 is " 0 ".
It should be noted that the data carried in the 136th data bit of object format can also be 01 or 02;Its In, when the corresponding character string of the color format data block 428 is " 0 ", indicate that target 3D rendering only includes depth data, when When the corresponding character string of the color format data block 428 is " 1 ", indicate that target 3D rendering includes depth data and brightness number According to when the corresponding character string of the color format data block 428 is " 2 ", expression target 3D rendering includes depth data, brightness Data and color data.
That is, identifier, identifier that the File header information 32 of object format includes occupy number of data bits, effective bit wide number According to block bit wide, data block bit wide, the physical significance of instruction and can be as shown in table 1 below:
Table 1
Optionally, the 3D data include: depth data identifier, the quantity of depth data block, the target 3D rendering The depth data block of middle pixel, picture element point chromatic identifier, the quantity of color data block, pixel in the target 3D rendering Color data block.
Further alternative, the depth data identifier occupies 4 data bit;
The quantity of the depth data block occupies 4 data bit;
The depth data block of a pixel occupies 2 data bit in the target 3D rendering;
The color data identifier occupies 4 data bit;
The quantity of the color data block occupies 4 data bit;
The color data block of a pixel occupies 24 data bit in the target 3D rendering.
Based on pixel in above-mentioned depth data identifier, the quantity of depth data block, the target 3D rendering Depth data block, picture element point chromatic identifier, the quantity of color data block, in the target 3D rendering pixel color The quantity for the data bit that data block occupies is it is found that 3D data include at least 52 data bit, therefore the target of the embodiment of the present invention 137th data bit of format object format includes at least 52 data bit between the 10th data bit reciprocal.
Optionally, the 3D data further include: IR data identifier, the quantity of IR data block and the target 3D rendering The IR data block of middle pixel.
Further alternative, the IR data identifier occupies 4 data bit;
The quantity of the IR data block occupies 4 data bit;
The IR data block of a pixel occupies 2 data bit in the target 3D rendering.
That is, as shown in figure 5, the 3D data of the object format include: depth data identifier 501, depth data block The depth data block 503 of pixel in quantity 502, the target 3D rendering, IR data identifier 504, IR data block quantity 505, in the target 3D rendering pixel IR data block 506, the quantity of picture element point chromatic identifier 507, color data block 508, in the target 3D rendering pixel color data block 509.
Optionally, the depth data identifier 501 occupies 4 data bit.
As shown in figure 5, the data in the data bit that depth data identifier 501 occupies are followed successively by 5a, 44,41,54, therefore The corresponding character string of depth data identifier 501 is " ZDAT ".
Optionally, the quantity 502 of the depth data block occupies 4 data bit.
As shown in figure 5, the data in the data bit that the quantity 502 of depth data block occupies are followed successively by 00,60,09,00, because The corresponding character string of quantity 502 of this depth data block is " 614400 ", i.e., includes 614400 each depth datas in 3D data.
The depth data block 503 of a pixel occupies 2 data bit in the target 3D rendering.
As shown in figure 5, the data on the depth data block of first pixel are followed successively by b1,0d, therefore first pixel The corresponding character string of depth data block of point is " 3505 ", i.e., the depth of first pixel is 3505 millimeters.
The IR data identifier 504 occupies 4 data bit.
As shown in figure 5, the data in the data bit that IR data identifier 504 occupies are followed successively by 49,44,41,54, therefore deep Spending the corresponding character string of data identifier 501 is " IDAT ".
The quantity 505 of the IR data block occupies 4 data bit.
As shown in figure 5, the data in the data bit that the quantity 505 of IR data block occupies are followed successively by 00,60,09,00, therefore The corresponding character string of quantity 505 of IR data block is " 614400 ", i.e., includes 614400 each brightness datas in 3D data.
The IR data block 506 of a pixel occupies 2 data bit in the target 3D rendering.
As shown in figure 5, the data on the depth data block of first pixel are followed successively by a0,00, therefore first pixel The corresponding character string of IR data block of point is " 160 ", i.e., the brightness of first pixel is 160.
The color data identifier 507 occupies 4 data bit.
As shown in figure 5, the data in the data bit that color data identifier 507 occupies are followed successively by 43,44,41,54, therefore The corresponding character string of color data identifier 507 is " CDAT ".
The quantity 508 of the color data block occupies 4 data bit.
As shown in figure 5, the data in the data bit that color data identifier 507 occupies are followed successively by 00,60,09,00, therefore The corresponding character string of color data identifier 507 is " 614400 ", i.e., includes 614400 each color datas in 3D data.
The color data block 509 of a pixel occupies 24 data bit in the target 3D rendering.
As shown in figure 5, the red color channel of the first data block occupies 8 data bit, green tint channel occupies 8 numbers 8 data bit are occupied according to position, blue color channel, occupy 24 data bit altogether.
Optionally, as shown in figure 5,8 numbers in the target 3D rendering after the color data block 509 of a pixel It is reserved data position 510 according to position.
It with the data that reserved data position 510 carries is 00 to exemplify in Fig. 5.
That is, identifier, identifier that the 3D data of object format include occupy number of data bits, data block bit wide, instruction Physical significance and can be as shown in table 2 below:
Table 2
The method of storage 3D rendering provided in an embodiment of the present invention, stores target 3D rendering with object format, wherein described Object format includes: format identification (FID) information for identifying the version information of the object format, for parsing the 3D data The File header information of required analytic parameter, including the depth data of pixel, infrared IR data and color in target 3D rendering The end-of-file information of the 3D data of color data and the end position for identifying the object format.Compared with the prior art will The depth information of 3D rendering is saved as the prefix or suffix of original image, and the embodiment of the present invention is by pixel in 3D rendering Depth data be placed in 3D data, therefore the embodiment of the present invention be not necessarily to by specific program parsing original image prefix or Person's suffix obtain 3D rendering depth information, both in available 3D rendering pixel depth data, therefore the present invention provide Storage 3D rendering method can solve in the prior art store 3D rendering data format can not lead between terminal devices The problem of using.
In addition it is also necessary to explanation, since in the embodiment of the present invention picture can be extracted from the 3D data of object format The depth data of vegetarian refreshments, infrared IR data and color data, therefore store the data lattice of 3D rendering compared to the prior art Formula, the embodiment of the present invention can also support the editor to 3D rendering data.
The embodiment of the present invention provides a kind of terminal device, and referring to shown in Fig. 6, which includes:
Storage unit 61, for storing target 3D rendering with object format;
The object format includes: format identification (FID) information, File header information, 3D data and end-of-file information;
The format identification (FID) information is used to identify the version information of the object format;
The File header information is for analytic parameter needed for 3D data described in identification (RNC-ID) analytic;
The 3D data include the depth data and color data of pixel in the target 3D rendering;
The end-of-file information is used to identify the end position of the object format.
Optionally, the format identification (FID) information is carried on the 1st data bit of the object format to the 36th data bit On;
The File header information is carried in the 37th data bit to the 136th data bit of the object format;
The 3D data are loaded in the 137th data bit to the 10th data bit reciprocal of the object format;
The end-of-file information is carried in the 9th data bit to the last one data bit of inverse of the object format.
Optionally, the File header information includes: header file information identifier, the effective bit wide identifier of depth image, depth Spend bit wide, the effective bit wide data block of the depth image, depth image width identifier, depth of the effective bit wide data block of image The bit wide of picture traverse data block, the depth image width data block, depth image height identification symbol, the high degree of depth image According to the bit wide of block, the depth image altitude information block, the effective bit wide identifier of luminance picture, the effective bit wide data of luminance picture The position of the effective bit wide data block of the bit wide of block, the luminance picture, luminance picture width identifier, luminance picture width data block The bit wide, described bright of wide, the described luminance picture width data block, luminance picture height identification symbol, luminance picture altitude information block Spend the position of picture altitude data block, color image width identifier color image width identifier, color image width data block Wide, the described color image width data block, color image height identification symbol, the bit wide of color image altitude information block, the color Coloured picture as altitude information block, color format identifier, color format data block bit wide and the color format data block.
Optionally, the header file information identifier is loaded in the 37th data bit of the object format to the 42nd data On position;
The effective bit wide identifier of depth image is carried on the 44th data bit of the object format to the 47th number According on position;
The bit wide of the effective bit wide data block of depth image is carried on the 48th data bit and of the object format In 49 data bit;
In wide the 50th data bit for being carried on the object format of the effective bit wide data block of depth image;
The depth image width identifier is carried on the 51st data bit of the object format to the 54th data bit On;
The bit wide of the depth image width data block is carried on the 55th data bit of the object format to the 58th In data bit;
The depth image width data block is carried on the 59th data bit of the object format to the 62nd data bit On;
Depth image height identification symbol is carried on the 63rd data bit of the object format to the 66th data bit On;
The bit wide of the depth image altitude information block is carried on the 67th data bit of the object format to the 70th In data bit;
The depth image altitude information block is carried on the 71st data bit of the object format to the 74th data bit On;
The effective bit wide identifier of luminance picture is carried on the 75th data bit and the 78th number of the object format According on position;
The bit wide of the effective bit wide data block of luminance picture is carried on the 79th data bit and of the object format In 80 data bit;
The effective bit wide data block of luminance picture is loaded in the 81st data bit of the object format;
The luminance picture width identifier is carried on the 82nd data bit of the object format to the 85th data bit On;
The bit wide of the luminance picture width data block is carried on the 86th data bit of the object format to the 89th In data bit;
The luminance picture width data block is carried on the 90th data bit of the object format to the 93rd data bit On;
Luminance picture height identification symbol is carried on the 94th data bit of the object format to the 97th data bit On;
The bit wide of the luminance picture altitude information block is carried on the 98th data bit of the object format to the 101st In data bit;
The luminance picture altitude information block is loaded in the 102nd data bit of the object format to the 105th data bit On;
The color image width identifier is carried on the 106th data bit of the object format to the 109th data On position;
The bit wide of the color image width data block is carried on the 110th data bit of the object format to the 113rd In a data bit;
The color image width data block is carried on the 114th data bit of the object format to the 117th data On position;
Color image height identification symbol is carried on the 118th data bit of the object format to the 121st data On position;
The bit wide of the color image altitude information block is carried on the 122nd data bit of the object format to the 125th In a data bit;
The color image altitude information block is carried on the 126th data bit of the object format to the 129th data On position;
The color format identifier is carried in the 130th data bit to the 133rd data bit of the object format;
The bit wide of the color format data block is carried on the 134th data bit and the 135th number of the object format According on position;
The color format data block is carried in the 136th data bit of the object format.
Optionally, the 3D data include: depth data identifier, the quantity of depth data block, the target 3D rendering The depth data block of middle pixel, picture element point chromatic identifier, the quantity of color data block, pixel in the target 3D rendering Color data block.
Optionally, the depth data identifier occupies 4 data bit;
The quantity of the depth data block occupies 4 data bit;
The depth data block of a pixel occupies 2 data bit in the target 3D rendering;
The color data identifier occupies 4 data bit;
The quantity of the color data block occupies 4 data bit;
The color data block of a pixel occupies 24 data bit in the target 3D rendering.
Optionally, IR data identifier, the quantity of IR data block, in the target 3D rendering pixel IR data block.
Optionally, the IR data identifier occupies 4 data bit;
The quantity of the IR data block occupies 4 data bit;
The IR data block of a pixel occupies 2 data bit in the target 3D rendering.
Optionally, 8 data bit in the target 3D rendering after the color data block of a pixel are pre- residual According to position.
Terminal device provided in an embodiment of the present invention stores target 3D rendering with object format, wherein the object format It include: format identification (FID) information for identifying the version information of the object format, for solution needed for parsing the 3D data Analyse the File header information of parameter, including the depth data of pixel in target 3D rendering, infrared IR data and color data The end-of-file information of 3D data and the end position for identifying the object format.Compared with the prior art by 3D rendering Depth information is saved as the prefix or suffix of original image, and the embodiment of the present invention is by the depth number of pixel in 3D rendering According to being placed in 3D data, therefore the embodiment of the present invention is not necessarily to obtain by the prefix or suffix of specific program parsing original image Take the depth information of 3D rendering, both in available 3D rendering pixel depth data, therefore terminal provided by the invention is set It is standby can solve store the data format of 3D rendering in the prior art can not general problem between terminal devices.
A kind of hardware structural diagram of terminal device of the embodiment of Fig. 7 to realize the present invention, the terminal device include But be not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display are single The components such as member 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.This field Technical staff is appreciated that terminal device structure shown in Fig. 7 does not constitute the restriction to terminal device, and terminal device can be with Including perhaps combining certain components or different component layouts than illustrating more or fewer components.In the embodiment of the present invention In, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device And pedometer etc..
Wherein, memory 109, for storing target 3D rendering with object format;
The object format includes: format identification (FID) information, File header information, 3D data and end-of-file information;
The format identification (FID) information is used to identify the version information of the object format;
The File header information is for analytic parameter needed for 3D data described in identification (RNC-ID) analytic;
The 3D data include the depth data and color data of pixel in the target 3D rendering;
The end-of-file information is used to identify the end position of the object format.
Terminal device provided in an embodiment of the present invention stores target 3D rendering with object format, wherein the object format It include: format identification (FID) information for identifying the version information of the object format, for solution needed for parsing the 3D data It analyses the File header information of parameter, the 3D data of the depth data including pixel in target 3D rendering and color data and is used for Identify the end-of-file information of the end position of the object format.Compared with the prior art using the depth information of 3D rendering as original The prefix or suffix of image are saved, and the depth data of pixel in 3D rendering is placed on 3D data by the embodiment of the present invention In, therefore the embodiment of the present invention is not necessarily to parse the prefix of original image by specific program or suffix obtains the depth of 3D rendering Information, both in available 3D rendering pixel depth data, therefore terminal device provided by the invention can solve it is existing The data format that 3D rendering is stored in technology can not general problem between terminal devices.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set Standby communication.
Terminal device provides wireless broadband internet by network module 102 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 103 can be received by radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The associated audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end equipment executes. Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 101 is converted in the case where telephone calling model.
Terminal device further includes at least one sensor 105, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment light The light and shade of line adjusts the brightness of display panel 1061, and proximity sensor can close display when terminal device is moved in one's ear Panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three in multiple directions Axis) acceleration size, can detect that size and the direction of gravity when static, it is (such as horizontal to can be used to identify terminal device posture Vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, humidity Meter, thermometer, infrared sensor etc., details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number of input or character information and generate and the user of terminal device Setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and its His input equipment 1072.Touch panel 1071, also referred to as touch screen collect the touch operation (ratio of user on it or nearby Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071 Operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus The touch orientation of user is detected, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller Touch information is received from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receives processor 110 orders sent simultaneously are executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touching The type for touching event provides corresponding visual output on display panel 1061.Although in Fig. 7, touch panel 1071 and display Panel 1061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 108 is the interface that external device (ED) is connect with terminal device.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will The one or more elements or can be used in terminal device and external device (ED) that the input received is transferred in terminal device Between transmit data.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal device, utilizes the more of various interfaces and the entire terminal device of connection A part is stored in memory by running or executing the software program being stored in memory 109 and/or module and call Data in 109 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Processing Device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal device can also include the power supply 111 (such as battery) powered to multiple components, it is preferred that power supply 111 can With by power-supply management system and processor 110 it is logically contiguous, thus by power-supply management system realize management charge, electric discharge with And the functions such as power managed.
In addition, terminal device includes some unshowned functional modules, details are not described herein.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize the more of the method that 3D rendering is stored described in above-described embodiment one when being executed by processor A process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network side equipment etc.) execute method described in various embodiments of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (11)

1. a kind of method for storing 3D rendering characterized by comprising
Target 3D rendering is stored with object format;
The object format includes: format identification (FID) information, File header information, 3D data and end-of-file information;
The format identification (FID) information is used to identify the version information of the object format;
The File header information is for analytic parameter needed for 3D data described in identification (RNC-ID) analytic;
The 3D data include the depth data and color data of pixel in the target 3D rendering;
The end-of-file information is used to identify the end position of the object format.
2. the method according to claim 1, wherein
The format identification (FID) information is carried in the 1st data bit to the 36th data bit of the object format;
The File header information is carried in the 37th data bit to the 136th data bit of the object format;
The 3D data are loaded in the 137th data bit to the 10th data bit reciprocal of the object format;
The end-of-file information is carried in the 9th data bit to the last one data bit of inverse of the object format.
3. the method according to claim 1, wherein the File header information include: header file information identifier, The effective bit wide identifier of depth image, the bit wide of the effective bit wide data block of depth image, the effective bit wide data of the depth image Block, depth image width identifier, the bit wide of depth image width data block, the depth image width data block, depth map As height identification symbol, the bit wide of depth image altitude information block, the depth image altitude information block, the effective bit wide of luminance picture Bit wide, the effective bit wide data block of the luminance picture, luminance picture width mark of the effective bit wide data block of identifier, luminance picture Know symbol, the bit wide of luminance picture width data block, the luminance picture width data block, luminance picture height identification symbol, brightness The bit wide of picture altitude data block, the luminance picture altitude information block, color image width identifier color image width mark Know symbol, the bit wide of color image width data block, the color image width data block, color image height identification symbol, color The bit wide of picture altitude data block, the color image altitude information block, color format identifier, color format data block position The wide and described color format data block.
4. according to the method described in claim 3, it is characterized in that,
The header file information identifier is loaded in the 37th data bit to the 42nd data bit of the object format;
The effective bit wide identifier of depth image is carried on the 44th data bit of the object format to the 47th data bit On;
The bit wide of the effective bit wide data block of depth image be carried on the object format the 48th data bit and the 49th In data bit;
In wide the 50th data bit for being carried on the object format of the effective bit wide data block of depth image;
The depth image width identifier is carried in the 51st data bit to the 54th data bit of the object format;
The bit wide of the depth image width data block is carried on the 55th data bit of the object format to the 58th data On position;
The depth image width data block is carried in the 59th data bit to the 62nd data bit of the object format;
The depth image height identification symbol is carried in the 63rd data bit to the 66th data bit of the object format;
The bit wide of the depth image altitude information block is carried on the 67th data bit of the object format to the 70th data On position;
The depth image altitude information block is carried in the 71st data bit to the 74th data bit of the object format;
The effective bit wide identifier of luminance picture is carried on the 75th data bit and the 78th data bit of the object format On;
The bit wide of the effective bit wide data block of luminance picture be carried on the object format the 79th data bit and the 80th In data bit;
The effective bit wide data block of luminance picture is loaded in the 81st data bit of the object format;
The luminance picture width identifier is carried in the 82nd data bit to the 85th data bit of the object format;
The bit wide of the luminance picture width data block is carried on the 86th data bit of the object format to the 89th data On position;
The luminance picture width data block is carried in the 90th data bit to the 93rd data bit of the object format;
The luminance picture height identification symbol is carried in the 94th data bit to the 97th data bit of the object format;
The bit wide of the luminance picture altitude information block is carried on the 98th data bit of the object format to the 101st data On position;
The luminance picture altitude information block is loaded in the 102nd data bit to the 105th data bit of the object format;
The color image width identifier is carried in the 106th data bit to the 109th data bit of the object format;
The bit wide of the color image width data block is carried on the 110th data bit of the object format to the 113rd number According on position;
The color image width data block is carried in the 114th data bit to the 117th data bit of the object format;
The color image height identification symbol is carried in the 118th data bit to the 121st data bit of the object format;
The bit wide of the color image altitude information block is carried on the 122nd data bit of the object format to the 125th number According on position;
The color image altitude information block is carried in the 126th data bit to the 129th data bit of the object format;
The color format identifier is carried in the 130th data bit to the 133rd data bit of the object format;
The bit wide of the color format data block is carried on the 134th data bit and the 135th data bit of the object format On;
The color format data block is carried in the 136th data bit of the object format.
5. the method according to claim 1, wherein the 3D data include: depth data identifier, depth number According to the number of the depth data block of pixel, picture element point chromatic identifier, color data block in the quantity of block, the target 3D rendering The color data block of pixel in amount, the target 3D rendering.
6. according to the method described in claim 5, it is characterized in that,
The depth data identifier occupies 4 data bit;
The quantity of the depth data block occupies 4 data bit;
The depth data block of a pixel occupies 2 data bit in the target 3D rendering;
The color data identifier occupies 4 data bit;
The quantity of the color data block occupies 4 data bit;
The color data block of a pixel occupies 24 data bit in the target 3D rendering.
7. according to the method described in claim 6, it is characterized in that, the 3D data further include: IR data identifier, IR data The IR data block of pixel in the quantity of block and the target 3D rendering.
8. the method according to the description of claim 7 is characterized in that
The IR data identifier occupies 4 data bit;
The quantity of the IR data block occupies 4 data bit;
The IR data block of a pixel occupies 2 data bit in the target 3D rendering.
9. according to the described in any item methods of claim 6 to 8, which is characterized in that
8 data bit in the target 3D rendering after the color data block of pixel are reserved data position.
10. a kind of terminal device characterized by comprising
Storage unit, for storing target 3D rendering with object format;
The object format includes: format identification (FID) information, File header information, 3D data and end-of-file information;
The format identification (FID) information is used to identify the version information of the object format;
The File header information is for analytic parameter needed for 3D data described in identification (RNC-ID) analytic;
The 3D data include the depth data and color data of every pixel in the target 3D rendering;
The end-of-file information is used to identify the end position of the object format.
11. a kind of terminal device characterized by comprising processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 9 is realized when the computer program is executed by the processor Any one of described in storage 3D rendering method the step of.
CN201811405986.5A 2018-11-23 2018-11-23 A kind of method and terminal device storing 3D rendering Pending CN109600601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811405986.5A CN109600601A (en) 2018-11-23 2018-11-23 A kind of method and terminal device storing 3D rendering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811405986.5A CN109600601A (en) 2018-11-23 2018-11-23 A kind of method and terminal device storing 3D rendering

Publications (1)

Publication Number Publication Date
CN109600601A true CN109600601A (en) 2019-04-09

Family

ID=65958848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811405986.5A Pending CN109600601A (en) 2018-11-23 2018-11-23 A kind of method and terminal device storing 3D rendering

Country Status (1)

Country Link
CN (1) CN109600601A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021227919A1 (en) * 2020-05-09 2021-11-18 维沃移动通信有限公司 Method and device for image data encoding, display method and device, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926576A (en) * 2004-02-27 2007-03-07 Td视觉有限公司 Method and system for digital coding three-dimensional video image
CN101868970A (en) * 2007-10-19 2010-10-20 三星电子株式会社 The method of recording three-dimensional image data
CN101978699A (en) * 2008-01-25 2011-02-16 电子部品研究院 Stereoscopic video file format and computer readable recording medium in which stereoscopic video file is recorded according thereto
CN103179421A (en) * 2013-01-25 2013-06-26 成都索贝数码科技股份有限公司 Stereoscopic video file description and management method
US20150003752A1 (en) * 2011-09-28 2015-01-01 Pelican Imaging Corporation Systems and methods for decoding refocusable light field image files
CN106464860A (en) * 2014-07-10 2017-02-22 英特尔公司 Storage of depth information in a digital image file

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926576A (en) * 2004-02-27 2007-03-07 Td视觉有限公司 Method and system for digital coding three-dimensional video image
CN101868970A (en) * 2007-10-19 2010-10-20 三星电子株式会社 The method of recording three-dimensional image data
CN101978699A (en) * 2008-01-25 2011-02-16 电子部品研究院 Stereoscopic video file format and computer readable recording medium in which stereoscopic video file is recorded according thereto
US20150003752A1 (en) * 2011-09-28 2015-01-01 Pelican Imaging Corporation Systems and methods for decoding refocusable light field image files
CN103179421A (en) * 2013-01-25 2013-06-26 成都索贝数码科技股份有限公司 Stereoscopic video file description and management method
CN106464860A (en) * 2014-07-10 2017-02-22 英特尔公司 Storage of depth information in a digital image file

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021227919A1 (en) * 2020-05-09 2021-11-18 维沃移动通信有限公司 Method and device for image data encoding, display method and device, and electronic device

Similar Documents

Publication Publication Date Title
CN109992231A (en) Throw screen method and terminal
CN108628985B (en) Photo album processing method and mobile terminal
CN109889348A (en) A kind of images share method and device
CN108966004A (en) A kind of method for processing video frequency and terminal
CN109743498A (en) A kind of shooting parameter adjustment method and terminal device
CN109862504A (en) A kind of display methods and terminal device
CN110213485A (en) A kind of image processing method and terminal
CN110391867A (en) DCI detection method, DCI sending method, terminal and base station
CN109817232A (en) A kind of transmission method, terminal device and apparatus for processing audio
CN108391123A (en) A kind of method and terminal generating video
CN109327672A (en) A kind of video call method and terminal
CN109522278A (en) A kind of file memory method and terminal device
CN109819168A (en) A kind of the starting method and mobile terminal of camera
CN110035503A (en) Configuration method, activation or the anti-activating method of resource status, base station and terminal
CN109803417A (en) Determine the method, uplink detection reference signal sending method and equipment of reference signal
CN110180181A (en) Screenshot method, device and the computer readable storage medium of Wonderful time video
CN110457879A (en) Object displaying method and terminal device
CN107273024B (en) A kind of method and apparatus realized using data processing
CN109358931A (en) A kind of interface display method and terminal
CN109005314A (en) A kind of image processing method and terminal
CN110191426A (en) A kind of method and terminal of information sharing
CN109067975A (en) A kind of method for managing contact person information and terminal device
CN109284146A (en) A kind of light application open method and mobile terminal
CN109117037A (en) A kind of method and terminal device of image procossing
CN109600601A (en) A kind of method and terminal device storing 3D rendering

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409