CODEC METHOD, ENCODING DEVICE, DECODING DEVICE, AND STORAGE MEDIUM

The codec method improves encoding and decoding efficiency for non-diffuse reflective surfaces by separately handling texture and geometry information, addressing the imbalance in current methods and enhancing compression performance.

JP2024533801AActive Publication Date: 2024-09-12ZHEJIANG UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024519647
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2024-09-12
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

Current video codec methods for non-diffuse reflective surfaces in three-dimensional space fail to balance representation of non-diffuse reflective properties with compression performance, leading to inefficient encoding and decoding processes.

Method used

A codec method that determines the presence of geometry information in patch data units, allowing for separate encoding and decoding of texture and geometry information, reducing redundancy and improving compression efficiency while maintaining rendering quality.

Benefits of technology

The method enhances codec efficiency and compression performance by supporting the transmission of different numbers of texture and geometry information, effectively representing non-diffuse reflection characteristics with reduced geometry data redundancy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024533801000001
    Figure 2024533801000001
Patent Text Reader

Abstract

An embodiment of the present application provides a codec method, an encoding device, a decoding device, and a storage medium, in which the decoding device decodes a code stream to determine a first instruction parameter, and if the first instruction parameter indicates that a patch data unit that does not contain geometry information exists, determines a second instruction parameter corresponding to the patch data unit, and if the second instruction parameter indicates that the patch data unit does not contain geometry information, performs a reconstruction process based on texture information corresponding to the patch data unit.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to the technical field of image processing, and in particular to a codec method, an encoding device, a decoding device, and a storage medium. [Background technology]

[0002] In the video codec field, in the process of rendering a non-diffuse reflective surface using an image-based rendering method, the colors of the surface in different observation directions need to be collected by a camera first, and then, during rendering, according to the position and observation direction of the rendering window, the colors of the surface collected by the cameras with different observation directions are weighted and fused to form the color of the surface at the pose of the rendering window.

[0003] Currently, it is permitted to represent the same region in 3D space using multiple texture patch data units (PDUs) and place them in a texture atlas, but at the same time, the geometry patches corresponding to these texture patches must also be placed in a geometry atlas for encoding and transmission.

[0004] As such, we can see that the currently supported methods for representing non-diffuse reflective surfaces in three-dimensional space cannot take into account both the representation of non-diffuse reflective properties and compression performance. Therefore, how to improve codec efficiency and compression performance while being able to fully represent the non-diffuse reflective properties of surfaces is an important issue that needs to be resolved. Summary of the Invention

[0005] The embodiments of the present application provide a codec method, an encoding device, a decoding device, and a storage medium that can improve compression performance by reducing complexity while improving decoding accuracy and realizing a simple and efficient codec method.

[0006] The technical solutions of the embodiments of the present application can be realized as follows.

[0007] In a first aspect, an embodiment of the present application provides a decoding method for application to a decoding device, the method comprising: decoding the codestream to determine a first indication parameter; determining a second indication parameter corresponding to the patch data unit if the first indication parameter indicates the presence of a patch data unit that does not contain geometry information; If the second instruction parameter indicates that the patch data unit does not include geometry information, performing a reconstruction process based on texture information corresponding to the patch data unit.

[0008] In a second aspect, an embodiment of the present application provides an encoding method applied to an encoding device, the method comprising: If the patch data unit does not include geometry information, encoding the patch data unit to generate a codestream and simultaneously determining a first indication parameter and a second indication parameter of the patch data unit, the first indication parameter being used to determine whether there is a patch data unit that does not include geometry information, and the second indication parameter being used to determine whether the patch data unit includes geometry information; writing the first instruction parameter and the second instruction parameter into the codestream.

[0009] In a third aspect, an embodiment of the present application provides a decoding device, the decoding device comprising: a decoding unit; a first determination unit; and a reconstruction unit; the decoder is configured to decode a codestream; The first determination unit is configured to determine a first indication parameter, and when the first indication parameter indicates that a patch data unit that does not include geometry information exists, determine a second indication parameter corresponding to the patch data unit; The reconstruction unit is configured to perform a reconstruction process based on texture information corresponding to the patch data unit when the second instruction parameter indicates that the patch data unit does not include geometry information.

[0010] In a fourth aspect, an embodiment of the present application provides a decoding device, the decoding device comprising a first processor and a first memory storing instructions executable by the first processor, the instructions causing the first processor to perform the above-mentioned decoding method.

[0011] In a fifth aspect, an embodiment of the present application provides an encoding device, the encoding device comprising: an encoding unit; The encoding unit is configured to execute the steps of: if a patch data unit does not include geometry information, encoding the patch data unit to generate a code stream, and at the same time determining a first instruction parameter and a second instruction parameter of the patch data unit, where the first instruction parameter is used to determine whether a patch data unit that does not include geometry information exists, and the second instruction parameter is used to determine whether the patch data unit includes geometry information, and writing the first instruction parameter and the second instruction parameter to the code stream.

[0012] In a sixth aspect, an embodiment of the present application provides an encoding device, the encoding device comprising a second processor and a second memory storing instructions executable by the second processor, the instructions causing the second processor to execute the above encoding method.

[0013] In a seventh aspect, an embodiment of the present application provides a computer storage medium, the computer storage medium storing a computer program, the computer program causing a first processor to perform the decoding method according to the first aspect, or causing a second processor to perform the encoding method according to the second aspect.

[0014] The embodiments of the present application provide a codec method, an encoding device, a decoding device, and a storage medium, in which the decoding device decodes a code stream to determine a first indication parameter, and if the first indication parameter indicates that a patch data unit that does not include geometry information exists, determines a second indication parameter corresponding to the patch data unit, and if the second indication parameter indicates that the patch data unit does not include geometry information, performs a reconstruction process based on texture information corresponding to the patch data unit. If the patch data unit does not include geometry information, encodes the patch data unit to generate a code stream, and at the same time, determines the first indication parameter and the second indication parameter of the patch data unit, the first indication parameter is used to determine whether a patch data unit that does not include geometry information exists, and the second indication parameter is used to determine whether the patch data unit includes geometry information, and writes the first indication parameter and the second indication parameter into the code stream. That is, in the embodiment of the present application, the first indication parameter can determine whether there is a patch data unit that does not contain geometry information, and the second indication parameter can determine whether the patch data unit does not contain geometry information, thereby supporting the transmission of different amounts of texture information and geometry information, effectively improving the rendering quality through sufficient texture information while reducing the redundancy of geometry data, thereby fully expressing the non-diffuse reflection characteristics of the surface, and improving codec efficiency and compression performance. [Brief description of the drawings]

[0015] [Figure 1] 1 is a flowchart showing an implementation of a decoding method; [Diagram 2] 2 is a flowchart showing an implementation of the decoding method; [Diagram 3] 3 is a flowchart showing an implementation of the decoding method; [Figure 4] 1 is a flowchart illustrating an implementation of an encoding method. [Diagram 5] 1 is a schematic diagram showing a configuration of a decoding device proposed in an embodiment of the present application; [Figure 6] FIG. 2 is a schematic diagram showing the configuration of a decoding device proposed in an embodiment of the present application. [Figure 7] 1 is a schematic diagram showing a configuration of an encoding device proposed in an embodiment of the present application; [Figure 8] FIG. 2 is a schematic diagram showing a configuration of an encoding device proposed in an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] In the following, the technical solutions of the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application. It should be noted that the specific embodiments described in this specification are for interpreting the relevant application, and do not limit the present application. Furthermore, for the convenience of description, only parts related to the present application are shown in the drawings.

[0017] In real life, due to the influence of the material of the object, the same point on the same surface of the same object often shows different colors when observed from different angles. This phenomenon in which the color of the object surface changes with the change in the observation angle is called the non-diffuse reflection phenomenon of the object surface, and such a surface is also called a non-diffuse reflection surface.

[0018] In MIV (MPEG Immersive Video), in order to reduce the transmission pixel rate and improve the compression efficiency, redundancy between viewpoints is removed for each frame of the multi-view depth video input to the system, and finally, in a single time slice, one area in a 3D space is represented using only one geometry patch (also called a subblock image) that describes the geometry information of the area and one texture patch corresponding to the geometry patch. These patches are arranged on a canvas called an atlas (also called a combined image), and different types of patches are arranged on different atlases, and an atlas with a geometry patch arranged thereon is called a geometry atlas, i.e., a geometry combined image, and an atlas with a texture patch arranged thereon is called a texture atlas, i.e., a texture combined image. These atlases are stacked in time to form an atlas sequence, and then the atlas sequence is encoded using a video codec to form a code stream and transmit it.

[0019] In the existing MIV realization method, TMIV (Test model of MPEG Immersive Video), in the process of removing redundancy between viewpoints, one region in a 3D space is represented using only one geometry patch and one texture patch. Such a representation method is feasible and efficient when used to represent a non-diffuse reflecting surface, because the colors of the diffuse reflecting surface in each observation direction are very similar and almost match. However, when used to represent a non-diffuse reflecting surface, such a representation method cannot realize the non-diffuse reflecting characteristics of different colors in different observation directions, because only one texture patch is transmitted for one region.

[0020] In the process of rendering a non-diffuse surface using an image-based rendering method, the colors of the surface in different viewing directions must first be collected by a camera, and then, during rendering, the colors of the surface collected by the cameras in different viewing directions are weighted and fused according to the position and viewing direction of the rendering window to form the color of the surface at the pose of the rendering window. That is, in order to realize the representation of a non-diffuse surface, it is necessary to use multiple observed texture images of the surface in different viewing directions. Therefore, an efficient representation of a non-diffuse surface is to represent it using one geometry patch and multiple texture patches observed from different directions.

[0021] The existing MIV standard allows the same area in 3D space to be represented using multiple texture patches and placed in a texture atlas, but at the same time, the current MIV standard requires that the geometry patches corresponding to these texture patches must also be placed in the geometry atlas for encoding and transmission.

[0022] In other words, the methods of representing non-diffuse reflective surfaces in three-dimensional space supported by the current MIV standard mainly include a method of representing them using one geometry patch and one texture patch, or a method of representing them using multiple geometry patches and an equal number of multiple texture patches.

[0023] However, a representation method using only one geometry patch and one texture patch cannot fully represent the non-diffuse reflection characteristics of the surface, which affects the subsequent rendering quality. A representation method using multiple geometry patches and multiple texture patches can fully represent the non-diffuse reflection characteristics of the surface, but multiple geometry patches repeatedly represent the same surface, which results in low representation efficiency of geometry information and reduced coding efficiency.

[0024] As described above, it can be seen that in the method for representing a non-diffuse reflection surface in a three-dimensional space supported by the current MIV standard, both the representation of non-diffuse reflection characteristics and compression performance cannot be considered. Therefore, how to improve codec efficiency and compression performance while sufficiently representing the non-diffuse reflection characteristics of the surface has become an important issue to be solved.

[0025] To solve the above problems, in the embodiments of the present application, the first instruction parameter can be used to determine whether there is a patch data unit (PDU: Patch Data Unit) that does not include geometry information, and the second instruction parameter can be used to determine whether the patch data unit does not include geometry information. Thereby, the transmission of different numbers of texture information and geometry information can be supported, and while effectively improving the rendering quality with sufficient texture information, the redundancy of geometry data can be reduced, thereby improving the codec efficiency and compression performance while sufficiently representing the non-diffuse reflection characteristics of the surface.

[0026] Furthermore, the codec method proposed in the present application can represent one region in a three-dimensional space using only at least one geometry patch data without repeatedly representing the same region in the three-dimensional space using multiple geometry patches. Therefore, to achieve efficient encoding and rendering of non-diffuse reflection objects, for one non-diffuse reflection surface, G geometry patches and T texture patches are used for representation and transmission (both G and T are integers, and 1 ≤ G < T). In this way, while providing multiple texture information from different viewpoints for the same region, a sufficient amount of geometry information can be transmitted to represent the region. Compared with the existing solutions supported by the MIV standard, this solution can support a sufficient and efficient representation of non-diffuse reflection surfaces, effectively improving the rendering quality of the surface while reducing the redundancy of geometry data information, thereby improving the encoding efficiency of the system when compressing non-diffuse reflection surfaces.

[0027] The codec method in the embodiments of the present application may be applied to a video encoding system, may be applied to a video decoding system, or may be applied to both a video encoding system and a video decoding system, and is not particularly limited in the embodiments of the present application.

[0028] In the following, the technical solutions of the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application.

[0029] One embodiment of the present application proposes a decoding method applied to a decoding device, and FIG. 1 is an implementation flowchart 1 of the decoding method. As shown in FIG. 1, the decoding method by the decoding device may include the following steps:

[0030] In step 101, the codestream is decoded to determine a first instruction parameter.

[0031] In an embodiment of the present application, the decoding device is capable of determining the first indication parameter by decoding the codestream.

[0032] Furthermore, in the embodiment of the present application, the first instruction parameter may be a sequence-level instruction parameter or an image-level instruction parameter.

[0033] It should be noted that in the implementation of the present application, the first indication parameter can indicate whether or not there is at least one patch data unit that does not include geometry information among all patch data units corresponding to the current atlas sequence.

[0034] It should be noted that in the implementation of the present application, the first indication parameter can indicate whether or not there is at least one patch data unit that does not include geometry information among all patch data units corresponding to the current atlas.

[0035] It can be understood that in the embodiment of the present application, the first indication parameter can be understood as a flag bit indicating whether there is a patch data unit that does not include geometry information and only includes texture information. Specifically, the decoding device can decode the code stream to determine one variable as the first indication parameter, and can then determine the first indication parameter according to the value of the variable. Here, the value of the first indication parameter can be a first value or a second value.

[0036] In addition, in an embodiment of the present application, when the value of the first instruction parameter is a first value, it can be determined that there is a patch data unit that does not contain geometry information, and when the value of the first instruction parameter is a second value, it can be determined that there is no patch data unit that does not contain geometry information, i.e., all patch data units contain geometry information.

[0037] It can be understood that in the embodiment of the present application, the first value may be set to 1 and the second value may be set to 0, or the first value may be set to true and the second value may be set to false, but is not particularly limited in the present application.

[0038] Further, in the embodiment of the present application, a flag asme_patch_geometry_absent_flag can be used to represent the first indication parameter. For example, in the present application, when the value of asme_patch_geometry_absent_flag is 1, it can indicate that there is a patch data unit that does not contain a geometry patch, that is, there is at least one patch data unit that does not contain geometry information and only contains texture information, and when the value of asme_patch_geometry_absent_flag is 0, it can indicate that there is no patch data unit that does not contain a geometry patch, that is, all patch data units contain texture information and geometry information.

[0039] Furthermore, in the embodiment of the present application, the current atlas sequence may be an atlas sequence to be currently decoded. Specifically, the atlas sequence may include geometry information or texture information corresponding to one or more patch data units, i.e., may include geometry patches or texture patches corresponding to one or more patch data units.

[0040] As can be understood, in an embodiment of the present application, for any patch data unit in the current atlas sequence, the patch data unit may include both geometry information and texture information, or may include only texture information without including geometry information.

[0041] As can be understood, in an embodiment of the present application, for any patch data unit of the current atlas, the patch data unit may include both geometry information and texture information, or may include only texture information without including geometry information.

[0042] Furthermore, in the embodiment of the present application, different methods can be selected to reconstruct a patch data unit for different situations, such as whether a patch data unit includes geometry information or does not include geometry information. Therefore, a first indication parameter can be first determined to indicate whether a patch data unit does not include geometry information.

[0043] In step 102, if the first indication parameter indicates that a patch data unit that does not contain geometry information is present, a second indication parameter corresponding to the patch data unit is determined.

[0044] In an embodiment of the present application, after determining a first indication parameter, if the first indication parameter indicates that there are patch data units that do not contain geometry information, the decoding device can further determine a second indication parameter corresponding to each patch data unit, and can determine the patch data units that do not contain geometry information based on the second indication parameter.

[0045] Further, in an embodiment of the present application, the first instruction parameter may be a sequence level instruction parameter or an image level instruction parameter, so that when the first instruction parameter indicates that there is a patch data unit in the current atlas sequence that does not include geometry information, the second instruction parameter is determined to correspond to the patch data unit of the current atlas sequence, or when the first instruction parameter indicates that there is a patch data unit in the current atlas that does not include geometry information, the second instruction parameter is determined to correspond to the patch data unit of the current atlas.

[0046] It should be noted that in the implementation of the present application, the second indication parameter can indicate whether the corresponding patch data unit does not include geometry information.

[0047] It can be understood that in the embodiment of the present application, the second indication parameter can be understood as a flag bit indicating whether the code stream does not include geometry information and only includes texture information. Specifically, the decoding device can decode the code stream to determine one variable as the second indication parameter, and can determine the second indication parameter according to the value of the variable. Here, the value of the second indication parameter can be a first value or a second value.

[0048] In addition, in an embodiment of the present application, when the value of the second instruction parameter is a first value, it can be determined that the corresponding patch data unit does not contain geometry information, and when the value of the second instruction parameter is a second value, it can be determined that the corresponding patch data unit does contain geometry information.

[0049] It can be understood that in the embodiment of the present application, the first value may be set to 1 and the second value may be set to 0, or the first value may be set to true and the second value may be set to false, but is not particularly limited in the present application.

[0050] In addition, in the embodiment of the present application, a flag pdu_geometry_absent_flag can be used to represent a second indication parameter. For example, in the present application, when the value of pdu_geometry_absent_flag is 1, it can indicate that the corresponding patch data unit does not include a geometry patch, i.e., the corresponding patch data unit does not include geometry information and only includes texture information, and when the value of pdu_geometry_absent_flag is 0, it can indicate that the corresponding patch data unit includes a geometry patch, i.e., the corresponding patch data unit includes texture information and a geometry patch.

[0051] It should be noted that in the embodiment of the present application, the current atlas sequence may include at least one sub-atlas, where each sub-atlas includes at least one patch data unit. Correspondingly, a flag pdu_geometry_absent_flag[tileID][p] may be used to represent the second indication parameter, where tileID and p may be identifiers of patch data units. For example, in the present application, when the value of pdu_geometry_absent_flag[tileID][p] is 1, it indicates that the p-th patch data unit in the sub-atlas of tileID does not include a geometry patch, i.e., the p-th patch data unit in the sub-atlas of tileID does not include geometry information and only includes texture information, and when the value of pdu_geometry_absent_flag[tileID][p] is 0, it indicates that the p-th patch data unit in the sub-atlas of tileID includes a geometry patch, i.e., the p-th patch data unit in the sub-atlas of tileID includes texture information and geometry information.

[0052] In step 103, if the second instruction parameter indicates that the patch data unit does not include geometry information, then perform the reconstruction process based on the texture information corresponding to the patch data unit.

[0053] In an embodiment of the present application, when a first instruction parameter indicates that a patch data unit exists that does not contain geometry information, after determining a second instruction parameter corresponding to the patch data unit, if it is determined that the second instruction parameter indicates that the patch data unit does not contain geometry information, a reconstruction process can be further performed based on texture information corresponding to the patch data unit.

[0054] In addition, in an embodiment of the present application, if it is determined based on the second instruction parameter that the corresponding patch data unit does not include geometry information and only includes texture information, the texture information corresponding to the patch data unit can be first determined, then the patch data unit can be reconstructed using the texture information, and finally a reconstructed patch data unit corresponding to the patch data unit can be determined.

[0055] Furthermore, in embodiments of the present application, when determining a reconstructed patch data unit corresponding to a patch data unit based on texture information corresponding to the patch data unit, the reconstruction process may be completed using only the texture information, or the geometry information of the patch data unit may be first reconstructed using geometry information of a reference patch data unit, and then combined with the texture information of the patch data unit to complete the image reconstruction process.

[0056] It can be understood that, in the present application, according to one embodiment, when the second indication parameter indicates that the patch data unit does not include geometry information, first determine texture information corresponding to the patch data unit, and then perform a reconstruction process on the patch data unit based on the texture information, where the reconstructed patch data unit only includes texture information and does not include geometry information.

[0057] It should be noted that in the embodiment of the present application, when the second instruction parameter indicates that the corresponding patch data unit only includes a texture patch (texture information) and does not include a geometry patch (geometry information), that is, when it can be determined based on the second instruction parameter that the corresponding patch data unit does not include geometry information, there is no need to perform a decoding process of the geometry information, and it is only necessary to obtain the corresponding texture information by decoding. Correspondingly, in the subsequent image reconstruction process, there is no need to consider the geometry information of the patch data unit, and the corresponding reconstructed patch data unit is determined based only on the corresponding texture information.

[0058] In other words, in the decoding method proposed in this application, each time an Atlas sequence (current atlas sequence) is processed in the decoding process, first, the asme_patch_geometry_absent_flag (first indication parameter) corresponding to the Atlas sequence is determined, and then, based on the asme_patch_geometry_absent_flag, it is possible to determine whether or not there is a patch data unit in the Atlas sequence that does not contain a geometry patch (geometry information).

[0059] If the value of asme_patch_geometry_absent_flag is 1, it can be determined that there is a patch data unit in the Atlas sequence that does not include a geometry patch. In this case, it is necessary to further determine pdu_geometry_absent_flag (second indication parameter) corresponding to each patch data unit in order to specifically determine which patch data unit does not include a geometry patch. If the value of asme_patch_geometry_absent_flag is 0, it can be determined that there is no patch data unit in the Atlas sequence that does not include a geometry patch. In this case, it is possible to directly obtain the geometry patch (first geometry information) and texture patch (texture information) of each patch data unit by decoding without determining pdu_geometry_absent_flag, and thus perform reconstruction processing based on the geometry patch and texture patch.

[0060] Furthermore, in the embodiment of the present application, if it is determined that there is a patch data unit in the Atlas sequence that does not include a geometry patch, in the process of decoding all the patch data units in the Atlas sequence one by one, it can further determine whether the corresponding patch data unit includes a geometry patch based on pdu_geometry_absent_flag. Specifically, if the value of pdu_geometry_absent_flag is 1, it can be determined that the corresponding patch data unit does not include a geometry patch, in this case, the geometry patch in the corresponding patch data unit is not obtained from the geometry Atlas during decoding, and only the texture patch in the corresponding patch data unit is obtained from the texture Atlas, and finally, the corresponding reconstructed patch data unit can be determined based on the texture patch. If the value of pdu_geometry_absent_flag is 0, it can be determined that the corresponding patch data unit includes a geometry patch, in this case, the geometry patch in the corresponding patch data unit still needs to be obtained from the geometry Atlas during decoding, and at the same time, the texture patch in the corresponding patch data unit needs to be obtained from the texture Atlas, and finally, the corresponding reconstructed patch data unit can be determined based on the geometry patch and the texture patch.

[0061] It can be understood that, in the present application, according to one embodiment, when the second indication parameter indicates that the patch data unit does not include geometry information, the texture information corresponding to the patch data unit and the identification information of the reference patch data unit can be determined first, and then, based on the identification information, the first geometry information corresponding to the patch data unit can be determined, and finally, a reconstruction process can be performed on the patch data unit based on the texture information and the first geometry information, where the reconstructed patch includes both texture information and geometry information.

[0062] It should be noted that in the embodiment of the present application, when the second instruction parameter indicates that the corresponding patch data unit only includes a texture patch (texture information) and does not include a geometry patch (geometry information), that is, when it is determined based on the second instruction parameter that the corresponding patch data unit does not include geometry information, it is necessary to first perform a reconstruction process of the geometry information, and at the same time, obtain the corresponding texture information by decoding. Correspondingly, in the subsequent image reconstruction process, the corresponding reconstructed patch data unit can be determined based on the texture information of the patch data unit and the reconstructed geometry information (first geometry information).

[0063] Further, in an embodiment of the present application, an identification information of a reference patch data unit corresponding to a patch data unit may be determined first, and then, based on the identification information, a first geometry information corresponding to the patch data unit may be determined. Here, the identification information may be used to determine the reference patch data unit. For example, pdu_geometry_reference_patch_id[tileID][p] may be used to represent the identification information, where tileID and p may be indexes of the reference patch data unit, and the identification information pdu_geometry_absent_flag[tileID][p] may specify the p-th patch data unit in the sub-atlas of tileID as the reference patch data unit. It can be understood that in the embodiments of the present application, after determining the corresponding reference patch data unit based on the identification information, second geometry information corresponding to the reference patch data unit can be further determined, and the second geometry information can be used to complete the reconstruction of the geometry information of the patch data unit and determine the first geometry information corresponding to the patch data unit.

[0064] That is, in an embodiment of the present application, if it is determined based on the second instruction parameter that the corresponding patch data unit does not contain geometry information, the second geometry information of the reference patch data unit can be used to reconstruct the first geometry information of the patch data unit, thereby determining the corresponding reconstructed patch data unit based on the texture information and the first geometry information of the patch data unit.

[0065] In other words, in the decoding method proposed in this application, each time an Atlas sequence (current atlas sequence) is processed in the decoding process, first, the asme_patch_geometry_absent_flag (first indication parameter) corresponding to the Atlas sequence is determined, and then, based on the asme_patch_geometry_absent_flag, it is possible to determine whether or not there is a patch data unit in the Atlas sequence that does not contain a geometry patch (geometry information).

[0066] If the value of asme_patch_geometry_absent_flag is 1, it can be determined that there is a patch data unit in the Atlas sequence that does not include a geometry patch. In this case, it is necessary to further determine pdu_geometry_absent_flag (second indication parameter) corresponding to each patch data unit in order to specifically determine which patch data unit does not include a geometry patch. If the value of asme_patch_geometry_absent_flag is 0, it can be determined that there is no patch data unit in the Atlas sequence that does not include a geometry patch. In this case, it is possible to directly obtain the geometry patch (first geometry information) and texture patch (texture information) of each patch data unit by decoding without determining pdu_geometry_absent_flag, and thus perform reconstruction processing based on the geometry patch and texture patch.

[0067] Furthermore, in the embodiment of the present application, if it is determined that there is a patch data unit in the Atlas sequence that does not include a geometry patch, in the process of decoding all patch data units in the Atlas sequence one by one, it can further determine whether the corresponding patch data unit includes a geometry patch based on pdu_geometry_absent_flag. Specifically, if the value of pdu_geometry_absent_flag is 1, it can be determined that the corresponding patch data unit does not include a geometry patch, in this case, the geometry patch in the corresponding patch data unit will not be obtained from the geometry Atlas during decoding, and the index number pdu_geometry_reference_patch_id (identification information) of the geometry reconstruction reference patch data unit (reference patch data unit) of the corresponding patch data unit needs to be further determined, and further, based on pdu_geometry_reference_patch_id, the geometry patch (second geometry information) of the reference patch data unit specified thereby can be obtained, and then the geometry patch of the reference patch data unit can be used to reconstruct the geometry patch of the patch data unit, and finally, in combination with the texture patch (texture information) obtained from the texture Atlas, the reconstruction process can be completed and the corresponding reconstruction patch data unit can be determined. If the value of pdu_geometry_absent_flag is 0, it can be determined that the corresponding patch data unit includes a geometry patch. In this case, when decoding, it is still necessary to obtain the geometry patch in the corresponding patch data unit from the geometry Atlas, and at the same time, it is necessary to obtain the texture patch in the corresponding patch data unit from the texture Atlas. Finally, the corresponding reconstructed patch data unit can be determined based on the geometry patch and the texture patch.

[0068] Further, in an embodiment of the present application, FIG. 2 is an implementation flowchart 2 of the decoding method. As shown in FIG. 2, after decoding the codestream and determining the first indication parameter, i.e., after step 101, the decoding method by the decoding device may further include the following steps:

[0069] In step 104, if the first indication parameter indicates that all patch data units include geometry information, determine texture information and first geometry information corresponding to the patch data units.

[0070] In an embodiment of the present application, after determining the first instruction parameter, the decoding device can further determine texture information and first geometry information corresponding to each patch data unit if the first instruction parameter indicates that all patch data units include geometry information.

[0071] It can be understood that in the embodiment of the present application, if it is determined based on the first instruction parameter that each patch data unit includes a geometry patch (geometry information) and a texture patch (texture information), the texture information and the first geometry information corresponding to the patch data unit can be directly obtained by decoding.

[0072] That is, in an embodiment of the present application, when the first instruction parameter indicates that all patch data units include geometry information, the texture information and first geometry information of the patch data units can be directly obtained without determining the second instruction parameter.

[0073] In step 105, a reconstruction process is performed on the patch data unit based on the texture information and the first geometry information.

[0074] In an embodiment of the present application, after determining texture information and first geometry information corresponding to a patch data unit, a reconstruction process can be performed on the patch data unit based on the texture information and the first geometry information, and finally, a corresponding reconstructed patch data unit can be obtained.

[0075] It should be noted that in the embodiments of the present application, for patch data units that include both texture information and first geometry information, the corresponding texture information and first geometry information can be directly used to complete the determination of the reconstructed patch data unit.

[0076] Further, in an embodiment of the present application, Figure 3 is an implementation flowchart 3 of the decoding method, and as shown in Figure 3, when the first indication parameter indicates that there is a patch data unit that does not contain geometry information, after determining the second indication parameter corresponding to the patch data unit, i.e., after step 102, the decoding method by the decoding device may further include the following steps:

[0077] In step 106, if the second indication parameter indicates that the patch data unit includes geometry information, the texture information and the first geometry information corresponding to the patch data unit are determined.

[0078] In an embodiment of the present application, when the first instruction parameter indicates that a patch data unit exists that does not contain geometry information, after determining a second instruction parameter corresponding to the patch data unit, when the second instruction parameter indicates that the patch data unit includes geometry information, texture information and first geometry information corresponding to the patch data unit can be further determined.

[0079] It can be understood that in an embodiment of the present application, if it is determined based on the second instruction parameter that the corresponding patch data unit includes both a geometry patch (geometry information) and a texture patch (texture information), the texture information and the first geometry information corresponding to the patch data unit can be directly obtained by decoding.

[0080] That is, in the embodiment of the present application, when the first indication parameter indicates that there is a patch data unit that does not contain geometry information, the specific situation of whether each patch data unit contains geometry information can be further determined according to the determined second indication parameter, where, when the second indication parameter indicates that the corresponding patch data unit contains geometry information, that is, for a patch data unit that contains both geometry information and texture information, the texture information and the first geometry information of the patch data unit can be directly obtained.

[0081] In step 105, a reconstruction process is performed on the patch data unit based on the texture information and the first geometry information.

[0082] In an embodiment of the present application, after determining texture information and first geometry information corresponding to a patch data unit, a reconstruction process can be performed on the patch data unit based on the texture information and the first geometry information, and finally, a corresponding reconstructed patch data unit can be obtained.

[0083] Further, in an embodiment of the present application, if the second instruction parameter indicates that the patch data unit does not contain geometry information, after performing the reconstruction process based on the texture information corresponding to the patch data unit, i.e., after step 103, the method of rendering processing by the decoding device may include the following steps:

[0084] In step 107, a target window is constructed based on the patch data units that contain the geometry information.

[0085] In step 108, a shading process is performed on the target window based on the texture information of the patch data unit to obtain a rendered image.

[0086] In an embodiment of the present application, when a reconstruction process is completed using only texture information for a patch data unit that does not contain geometry information, a target window can be further constructed based on the patch data unit that contains geometry information, and then a shading process can be performed on the target window based on the texture information of the patch data unit to obtain a rendered image.

[0087] In addition, in the embodiment of the present application, after the decoding process is completed, a rendering process can be further performed using the image information obtained after decoding, where the rendering process can include two processes: a viewpoint view restoration process and a target window geometry reconstruction and pixel shading process.

[0088] In addition, as a general method for the viewpoint view restoration process, for all patch data units, the texture patches in the patch data units are sequentially restored to the original positions of the texture view of the original viewpoint to which they belong, and the geometry patches in the patch data units are sequentially restored to the original positions of the geometry view of the original viewpoint to which they belong. Meanwhile, in the process of scanning all patch data units to perform view restoration in the present application, if the first instruction parameter indicates that all patch data units include both geometry information and texture information, or if the second instruction parameter indicates that the corresponding patch data unit includes both geometry information and texture information, the viewpoint view restoration process can be performed on the patch data units according to the general method described above. For patch data units that do not include geometry information and include only texture information, that is, patch data units whose pdu_geometry_absent_flag has a value of 1, which are indicated by the second instruction parameter, only the texture patches of the patch data units can be restored to the original positions of the texture view of the original viewpoint to which they belong, without the operation of restoring the geometry patches.

[0089] Furthermore, in the embodiment of the present application, when performing the geometry reconstruction and pixel shading processing of the target window, first, the existing multi-view geometry image restored by the viewpoint view restoration processing is used to reconstruct the geometry image of the target window, then, each pixel point in the target window is scanned, and candidate pixels for each pixel are obtained from the multi-view texture image based on the position of the pixel point in the target window in the three-dimensional space, and the pixel values ​​of each candidate pixel are weighted and fused based on the relative position and orientation relationship between each candidate pixel and the target window to obtain the pixel value of each pixel point in the target window.

[0090] In other words, in an embodiment of the present application, if, for all patch data units, there are cases where some patch data units include both geometry information and texture information and the remaining patch data units include only texture information, when rendering a target window, only some of the patch data units that include geometry information can be used to reconstruct the target window geometry image, and the target window can be shaded using the texture information of all available patch data units.

[0091] Further, in an embodiment of the present application, if the second instruction parameter indicates that the patch data unit does not contain geometry information, after performing the reconstruction process based on the texture information corresponding to the patch data unit, i.e., after step 103, the method of rendering processing by the decoding device may include the following steps:

[0092] In step 109, a geometry missing patch data unit reconstruction process is performed for patch data units that do not contain geometry information based on the reference patch data units.

[0093] In step 110, a target window is constructed based on the geometry information of the patch data unit.

[0094] In step 108, a shading process is performed on the target window based on the texture information of the patch data unit to obtain a rendered image.

[0095] In an embodiment of the present application, for a patch data unit that does not contain geometry information, the geometry information of the patch data unit is first reconstructed using the geometry information of a reference patch data unit, and then combined with the texture information of the patch data unit to complete the image reconstruction process. First, a geometry-missing patch data unit reconstruction process is performed on the patch data units that do not contain geometry information based on the reference patch data unit, so that all patch data units contain both geometry information and texture information, and a target window is constructed based on the geometry information of the patch data unit, and then a shading process is performed on the target window based on the texture information of the patch data unit to obtain a rendered image.

[0096] Furthermore, in the embodiment of the present application, after the decoding process is completed, the image information obtained after decoding can be used to perform the rendering process, where the rendering process may include the processes of missing geometry patch reconstruction, viewpoint view restoration, target window geometry reconstruction and pixel shading.

[0097] In addition, in the missing geometry patch reconstruction process, all patch data units can be scanned. If the value of pdu_geometry_absent_flag of one patch data unit is 1, it is determined that the patch data unit is missing a geometry patch (geometry information), and the missing geometry patch reconstruction can be started. Specifically, the geometry patch of the patch data unit can be reconstructed using the geometry patch and viewpoint parameter information in the reference patch data unit whose index number is pdu_geometry_reference_patch_id. After the above process, all patch data units include a texture patch and a geometry patch.

[0098] Furthermore, in an embodiment of the present application, after missing geometry patch reconstruction is completed, for all patch data units, the texture patches in the patch data units may be sequentially restored to their original positions in the texture view of the original viewpoint to which they belong, and the geometry patches in the patch data units may be sequentially restored to their original positions in the geometry view of the original viewpoint to which they belong.

[0099] Furthermore, in the embodiment of the present application, when performing the geometry reconstruction and pixel shading processing of the target window, first, the existing multi-view geometry image restored by the viewpoint view restoration processing is used to reconstruct the geometry image of the target window, then, each pixel point in the target window is scanned, and candidate pixels for each pixel are obtained from the multi-view texture image based on the position of the pixel point in the target window in three-dimensional space, and the pixel values ​​of each candidate pixel are weighted and fused based on the relative position and orientation relationship between each candidate pixel and the target window to obtain the pixel value of each pixel point in the target window.

[0100] In other words, in an embodiment of the present application, if there are cases where, for all patch data units, some patch data units include both geometry information and texture information and the remaining patch data units include only texture information, when rendering the target window, a geometry-missing patch data unit reconstruction process is first performed, so that all patch data units after the geometry-missing patch data unit reconstruction process include geometry patches and texture patches, and finally, the geometry information of all patch data units can be used to reconstruct the target window geometry image and the texture information of all patch data units can be used to shade the target window.

[0101] As described above, the decoding method proposed in the above steps 101 to 110 can support the decoding of patch data units that do not contain geometry information and contain only texture information. Thereby, for one non-diffuse reflection surface, G geometry patches and T texture patches can be used for representation and transmission (both G and T are integers, and 1 ≤ G < T), that is, for the same area, while providing multiple texture information from different viewpoints, a sufficient amount of geometry information can be transmitted to represent the area, thereby supporting a sufficient and efficient representation of the non-diffuse reflection surface, effectively improving the rendering quality of the surface, reducing the redundancy of the geometry data information, and thereby improving the encoding efficiency when compressing the non-diffuse reflection surface.

[0102] Note that the decoding method proposed in this application introduces a mechanism that the patch data unit may not contain geometry patches in order to enable the MIV standard to support efficient encoding of non-diffuse reflection content.

[0103] Correspondingly, the decoding method proposed in this application sets syntax elements that support patch data units without geometry patches at the atlas sequence level and the patch data unit level based on the existing MIV standard syntax structure, so that patch data units without geometry patches can also be accurately decoded. Here, the geometry information of the patch data unit without geometry patches is obtained by reconstructing a specific patch data unit containing geometry patches.

[0104] Embodiments of the present application provide a decoding method. The decoding apparatus decodes a code stream to determine a first indication parameter. When the first indication parameter indicates the existence of a patch data unit that does not include geometry information, it determines a second indication parameter corresponding to the patch data unit. When the second indication parameter indicates that the patch data unit does not include geometry information, it performs a reconstruction process based on the texture information corresponding to the patch data unit. That is, in the embodiments of the present application, the first indication parameter can be used to determine whether there is a patch data unit that does not include geometry information, and the second indication parameter can be used to determine whether the patch data unit does not include geometry information. Thereby, it is possible to support the transmission of different numbers of texture information and geometry information, effectively improve the rendering quality with sufficient texture information, reduce the redundancy of geometry data, thereby fully expressing the non-diffuse reflection characteristics of the surface, and improve the codec efficiency and compression performance.

[0105] Based on the above embodiments, the decoding method provided in another embodiment of the present application is used to achieve efficient encoding and rendering of non-diffuse reflection objects. Specifically, for one non-diffuse reflection surface, G geometry patches and T texture patches are used for representation and transmission (both G and T are integers, and 1 ≤ G < T). Thereby, it is possible to provide a plurality of texture information from different viewpoints for the same region while transmitting a sufficient amount of geometry information to represent the region.

[0106] Furthermore, in the embodiments of the present application, on the decoding side, the decoding apparatus can enable accurate decoding of a patch data unit that does not include a geometry patch. Specifically, based on the current MIV standard, by modifying the relevant syntax structure, the modified MIV standard supports representing and transmitting G geometry patches and T texture patches for one non-diffuse reflection surface (both G and T are integers, and 1 ≤ G < T).

[0107] Note that in the present embodiment, the syntax can be modified to declare that no geometry patches exist within the current patch data unit.

[0108] As can be understood, in the embodiment of the present application, one syntax element asme_patch_geometry_absent_flag is added to the syntax structure “Atlas sequence parameter set MIV extension syntax” of the MIV standard to indicate that there is a patch data unit in the current atlas sequence that does not include a geometry patch and includes only texture patches. Here, Table 1 is the current syntax structure 1, and Table 2 is the modified syntax structure 1. Based on Table 1, a syntax element asme_patch_geometry_absent_flag is added to Table 2 to indicate whether there is a patch data unit in the current atlas sequence that does not include a geometry patch and includes only texture patches.

[0109] [Table 1]

[0110] [Table 2]

[0111] It should be noted that in the embodiment of the present application, after decoding the code stream based on the above Table 2, if it is determined that asme_patch_geometry_absent_flag is equal to 1, it can indicate that the pdu_geometry_absent_flag syntax element is present in the patch_data_unit() syntax structure, that is, it can indicate that there is a patch data unit in the current atlas sequence that does not include geometry information and only includes texture information. If it is determined that asme_patch_geometry_absent_flag is equal to 0, it can indicate that the pdu_geometry_absent_flag syntax element is not present in the patch_data_unit() syntax structure, that is, it can indicate that all patch data units in the current atlas sequence include texture information and geometry information.

[0112] Furthermore, in an embodiment of the present application, if it is determined that there are patch data units in the current atlas sequence that do not contain geometry information and only contain texture information, the decoding can further determine a pdu_geometry_absent_flag syntax element corresponding to each patch data unit.

[0113] It can be understood that in the embodiment of the present application, in the syntax structure “Patch data unit MIV extension syntax” of the MIV standard, one syntax element pdu_geometry_absent_flag[tileID][p] is added to indicate whether the current patch data unit includes a texture patch and also includes a geometry patch, so that the decoding device can recognize the patch data unit that does not include a geometry patch, and therefore the subsequent operation does not need to consider the geometry information of the patch data unit. Here, Table 3 is the current syntax structure 2, and Table 4 is the modified syntax structure 2. Based on Table 3, Table 4 adds a syntax element pdu_geometry_absent_flag[tileID][p] to indicate whether the current patch data unit does not include a geometry patch and only includes a texture patch.

[0114] [Table 3]

[0115] [Table 4]

[0116] In addition, in the embodiment of the present application, based on the above Table 4, if it is determined that pdu_geometry_absent_flag[tileID][p] is equal to 1, it can indicate that no valid geometry information exists in the geometry patch data (Patch), that is, it can indicate that the patch data unit does not contain geometry information. If it is determined that pdu_geometry_absent_flag[tileID][p] is equal to 0, it can indicate that valid geometry information exists in the geometry patch data (Patch), that is, it can indicate that the patch data unit contains geometry information.

[0117] Furthermore, in an embodiment of the present application, if it is determined that there are patch data units in the current atlas sequence that do not contain geometry information and only contain texture information, the pdu_geometry_absent_flag syntax element corresponding to each patch data unit can be further determined by decoding.

[0118] In this manner, in the embodiment of the present application, in the decoding process, each time one Atlas sequence is processed, it is determined whether or not there is a patch data unit in the Atlas sequence that does not include a geometry patch based on asme_patch_geometry_absent_flag. When asme_patch_geometry_absent_flag is 1, it means that there is a patch data unit in the Atlas sequence that does not include a geometry patch. When asme_patch_geometry_absent_flag is 0, it means that there is no patch data unit in the Atlas sequence that does not include a geometry patch. Then, in the process of decoding all the patch data units in the Atlas sequence one by one, it can be determined whether or not the current patch data unit includes a geometry patch based on pdu_geometry_absent_flag. When pdu_geometry_absent_flag is 1, it means that the current patch data unit does not include a geometry patch. In this case, the geometry patch in the current patch data unit is not obtained from the geometry Atlas during decoding. When pdu_geometry_absent_flag is 0, it means that the current patch data unit includes a geometry patch.

[0119] In the embodiment of the present application, in the current rendering process, for all patch data units, the texture patches in the patch data units are sequentially restored to their original positions in the texture view of the original viewpoint to which they belong, and the geometry patches in the patch data units are restored to their original positions in the geometry view of the original viewpoint to which they belong. Meanwhile, in the process of scanning all patch data units to perform view restoration in the present application, if the pdu_geometry_absent_flag of a patch data unit is 1, only the texture patches of the block image unit are restored to their original positions in the texture view of the viewpoint to which they belong, without the restoration operation of the geometry patches.

[0120] Furthermore, in the embodiment of the present application, when performing the geometry reconstruction and pixel shading processing of the target window, the existing multi-view geometry image restored in the previous step is used to reconstruct the geometry image of the target window, and then each pixel point in the target window is scanned, and candidate pixels for each pixel are obtained from the restored multi-view texture image based on the position of the pixel point in the target window in the three-dimensional space, and the pixel values ​​of each candidate pixel are weighted and fused based on the relative position and orientation relationship between each candidate pixel and the target window to obtain the pixel value of each pixel point in the target window.

[0121] That is, in the embodiment of the present application, in the patch data unit list, only some of the patch data units include both geometry information and texture information, and the remaining patch data units include only texture information. When rendering the target window, only some of the patch data units in the patch data unit list that include geometry information are used to reconstruct the target window geometry image, and the texture information of all available patch data units is used to shade the target window.

[0122] Embodiments of the present application provide a decoding method. The decoding apparatus decodes a code stream to determine a first instruction parameter. When the first instruction parameter indicates that there is a patch data unit that does not contain geometry information, it determines a second instruction parameter corresponding to the patch data unit. When the second instruction parameter indicates that the patch data unit does not contain geometry information, it performs a reconstruction process based on the texture information corresponding to the patch data unit. That is, in the embodiments of the present application, the first instruction parameter can be used to determine whether there is a patch data unit that does not contain geometry information, and the second instruction parameter can be used to determine whether the patch data unit does not contain geometry information. Thereby, it is possible to support the transmission of different numbers of texture information and geometry information, effectively improve the rendering quality with sufficient texture information, reduce the redundancy of geometry data, and thereby fully represent the non-diffuse reflection characteristics of the surface and improve the codec efficiency and compression performance.

[0123] Based on the above embodiments, the decoding method provided in another embodiment of the present application is used to achieve efficient encoding and rendering of non-diffuse reflection objects. Specifically, for one non-diffuse reflection surface, G geometry patches and T texture patches are used for representation and transmission (both G and T are integers, and 1 ≤ G < T). Thereby, it is possible to provide multiple texture information from different viewpoints for the same region while transmitting a sufficient amount of geometry information to represent the region.

[0124] Furthermore, in the embodiments of the present application, on the decoding side, the decoding apparatus can enable accurate decoding of a patch data unit that does not contain geometry patches. Specifically, based on the current MIV standard, by modifying the relevant syntax structure, the modified MIV standard will support representing and transmitting G geometry patches and T texture patches for one non-diffuse reflection surface (both G and T are integers, and 1 ≤ G < T).

[0125] Note that in an embodiment of the present application, the syntax can be modified to declare that there is no geometry patch in the current patch data unit, while at the same time indicating that the geometry information of the current patch data unit is obtained by reconstruction of a particular patch data unit that contains the geometry patch, and giving an index of the patch data unit that provides the geometry reconstruction information.

[0126] As can be understood, in the embodiment of the present application, in the syntax structure of the MIV standard "Atlas sequence parameter set MIV extension syntax", one syntax element asme_patch_geometry_absent_flag is added to indicate that there is a patch data unit in the current atlas sequence that does not include a geometry patch and only includes a texture patch. As shown in Table 2 above, a syntax element asme_patch_geometry_absent_flag is added to indicate whether there is a patch data unit in the current atlas sequence that does not include a geometry patch and only includes a texture patch.

[0127] It should be noted that in the embodiment of the present application, after decoding the code stream based on the above Table 2, if it is determined that asme_patch_geometry_absent_flag is equal to 1, it can indicate that the pdu_geometry_absent_flag syntax element is present in the patch_data_unit() syntax structure, that is, it can indicate that there is a patch data unit in the current atlas sequence that does not contain geometry information and only contains texture information. If it is determined that asme_patch_geometry_absent_flag is equal to 0, it can indicate that the pdu_geometry_absent_flag syntax element is not present in the patch_data_unit() syntax structure, that is, it can indicate that all patch data units contain texture information and geometry information.

[0128] Furthermore, in an embodiment of the present application, if it is determined that there are patch data units in the current atlas sequence that do not contain geometry information and only contain texture information, the pdu_geometry_absent_flag syntax element corresponding to each patch data unit can be further determined by decoding.

[0129] It can be understood that in the embodiment of the present application, in the syntax structure “Patch data unit MIV extension syntax” of the MIV standard, one syntax element pdu_geometry_absent_flag[tileID][p] is added to indicate whether the current patch data unit includes a texture patch and also includes a geometry patch, so that the decoding device can recognize the patch data unit that does not include a geometry patch, and therefore the subsequent operation does not need to consider the geometry information of the patch data unit. Here, Table 5 is a modified syntax structure 3, based on Table 3, Table 5 adds a syntax element pdu_geometry_absent_flag[tileID][p] to indicate whether the current patch data unit does not include a geometry patch and only includes a texture patch.

[0130] [Table 5]

[0131] It should be noted that in the embodiment of the present application, based on the above Table 5, if it is determined that pdu_geometry_absent_flag[tileID][p] is equal to 1, it can indicate that no valid geometry information exists in the geometry patch data (Patch), that is, it can indicate that the patch data unit does not contain geometry information. If it is determined that pdu_geometry_absent_flag[tileID][p] is equal to 0, it can indicate that valid geometry information exists in the geometry patch data (Patch), that is, it can indicate that the patch data unit contains geometry information.

[0132] It can be understood that in the embodiment of the present application, after it is determined that the current patch data unit does not contain a geometry patch in the syntax structure "Patch data unit MIV extension syntax" of the MIV standard, i.e., it is determined that pdu_geometry_absent_flag[tileID][p] is equal to 1, one syntax element pdu_geometry_reference_patch_id[tileID][p] is further added to provide an index number of a geometry reconstruction reference patch data unit. The geometry patch in the patch data unit specified by the index number can be used to reconstruct the geometry information missing in the current patch data unit.

[0133] In this manner, in the embodiment of the present application, in the decoding process, each time one Atlas sequence is processed, it is determined whether or not there is a patch data unit in the Atlas sequence that does not include a geometry patch based on asme_patch_geometry_absent_flag. When asme_patch_geometry_absent_flag is 1, it means that there is a patch data unit in the Atlas sequence that does not include a geometry patch. When asme_patch_geometry_absent_flag is 0, it means that there is no patch data unit in the Atlas sequence that does not include a geometry patch. Then, in the process of decoding all the patch data units in the Atlas sequence one by one, it can be determined whether or not the current patch data unit includes a geometry patch based on pdu_geometry_absent_flag. When pdu_geometry_absent_flag is 1, it means that the current patch data unit does not include a geometry patch. In this case, when decoding, instead of obtaining a geometry patch in the current patch data unit from the geometry Atlas, the index number pdu_geometry_reference_patch_id of the geometry reconstruction reference patch data unit of the current patch data unit is determined. At this time, the geometry patch of the reference patch data unit specified by the index number is obtained. If pdu_geometry_absent_flag is 0, it means that the current patch data unit includes a geometry patch.

[0134] It should be noted that in the embodiment of the present application, after scanning all patch data units, if the pdu_geometry_absent_flag of the current patch data unit is 1, it means that the current patch data unit is missing a geometry patch, and the missing geometry patch reconstruction is started, that is, the geometry patch of the current patch data unit is reconstructed by using the geometry patch and viewpoint parameter information in the patch data unit whose index number is pdu_geometry_reference_patch_id. After this process, all patch data units contain a texture patch and a geometry patch.

[0135] Furthermore, in an embodiment of the present application, after the geometry-missing patch data unit reconstruction process, for all patch data units, the texture patches in the patch data unit are sequentially restored to their original positions in the texture view of the original viewpoint to which they belong, and the geometry patches in the patch data unit are restored to their original positions in the geometry view of the original viewpoint to which they belong.

[0136] Furthermore, in the embodiment of the present application, when performing the geometry reconstruction and pixel shading processing of the target window, the existing multi-view geometry image restored in the previous step is used to reconstruct the geometry image of the target window, and then each pixel point in the target window is scanned, and candidate pixels for each pixel are obtained from the restored multi-view texture image based on the position of the pixel point in the target window in the three-dimensional space, and the pixel values ​​of each candidate pixel are weighted and fused based on the relative position and orientation relationship between each candidate pixel and the target window to obtain the pixel value of each pixel point in the target window.

[0137] That is, in the embodiment of the present application, all patch data units in the patch data unit list after the geometry missing patch data unit reconstruction process include geometry patches and texture patches. When rendering the target window, the geometry information in all available patch data units is used to reconstruct the target window geometry image, and the texture information in all available patch data units can be used to shade the target window.

[0138] The embodiment of the present application provides a decoding method. The decoding device decodes a code stream to determine a first instruction parameter. When the first instruction parameter indicates that there is a patch data unit that does not include geometry information, a second instruction parameter corresponding to the patch data unit is determined. When the second instruction parameter indicates that the patch data unit does not include geometry information, a reconstruction process is performed based on the texture information corresponding to the patch data unit. That is, in the embodiment of the present application, the first instruction parameter can be used to determine whether there is a patch data unit that does not include geometry information, and the second instruction parameter can be used to determine whether the patch data unit does not include geometry information. Thereby, the transmission of different numbers of texture information and geometry information can be supported, the redundancy of the geometry data can be reduced while effectively improving the rendering quality with sufficient texture information, so that the non-diffuse reflection characteristics of the surface can be fully expressed, and the codec efficiency and compression performance can be improved.

[0139] Based on the above embodiment, the encoding method proposed in the present application uses G geometry patches and T texture patches to represent and transmit (both G and T are integers, and 1≤G<T) for one non-diffuse reflection surface during encoding. This means that there is a patch data unit that does not include geometry patches during encoding.

[0140] One embodiment of the present application proposes an encoding method applied to an encoding device, and FIG. 4 is an implementation flowchart of the encoding method. As shown in FIG. 4, the encoding method by the encoding device may include the following steps:

[0141] In step 201, if the patch data unit does not contain geometry information, encode the patch data unit to generate a code stream, and simultaneously determine a first indication parameter and a second indication parameter of the patch data unit, where the first indication parameter is used to determine whether there is a patch data unit that does not contain geometry information, and the second indication parameter is used to determine whether the patch data unit contains geometry information.

[0142] In step 202, a first instruction parameter and a second instruction parameter are written to the codestream.

[0143] In an embodiment of the present application, when a patch data unit that does not contain geometry information exists, the encoding device can encode the patch data unit to generate a code stream, and at the same time, the encoding device can determine a first instruction parameter and a second instruction parameter for each patch data unit, and then write the first instruction parameter and the second instruction parameter to the code stream.

[0144] Furthermore, in the embodiment of the present application, the first instruction parameter may be a sequence-level instruction parameter or an image-level instruction parameter.

[0145] It should be noted that in the implementation of the present application, the first indication parameter can indicate whether there is at least one patch data unit that does not include geometry information among all patch data units corresponding to the current atlas sequence, that is, the first indication parameter can be used to determine whether there is a patch data unit that does not include geometry information in the current atlas sequence.

[0146] It should be noted that in the implementation of the present application, the first indication parameter can indicate whether there is at least one patch data unit that does not include geometry information among all patch data units corresponding to the current atlas, that is, the first indication parameter can be used to determine whether there is a patch data unit that does not include geometry information in the current atlas.

[0147] It can be understood that in the embodiment of the present application, the first indication parameter can be understood as a flag bit indicating whether there is a patch data unit that does not include geometry information and only includes texture information. Specifically, the encoding device can determine a variable as the first indication parameter, and can determine the first indication parameter according to the value of the variable. Here, the value of the first indication parameter can be a first value or a second value.

[0148] In addition, in an embodiment of the present application, if it is determined that there is a patch data unit in the current atlas sequence that does not contain geometry information, the value of the first instruction parameter can be determined to be a first value, and if it is determined that there is no patch data unit in the current atlas sequence that does not contain geometry information, i.e., if it is determined that all patch data units in the current atlas sequence contain geometry information, the value of the first instruction parameter can be determined to be a second value.

[0149] In addition, in an embodiment of the present application, if it is determined that there are no patch data units in the current atlas that do not contain geometry information, the value of the first instruction parameter can be determined to be a first value, and if it is determined that there are no patch data units in the current atlas that do not contain geometry information, i.e., if it is determined that all patch data units in the current atlas contain geometry information, the value of the first instruction parameter can be determined to be a second value.

[0150] It can be understood that in the embodiment of the present application, the first value may be set to 1 and the second value may be set to 0, or the first value may be set to true and the second value may be set to false, but is not particularly limited in the present application.

[0151] In addition, in the embodiment of the present application, a flag asme_patch_geometry_absent_flag can be used to represent the first indication parameter. For example, in the present application, if there is a patch data unit that does not include a geometry patch, i.e., there is at least one patch data unit that does not include geometry information and only includes texture information, the value of asme_patch_geometry_absent_flag can be set to 1, and if there is no patch data unit that does not include a geometry patch, i.e., all patch data units include texture information and geometry information, the value of asme_patch_geometry_absent_flag can be set to 0.

[0152] Furthermore, in the embodiment of the present application, the current atlas sequence may be an atlas sequence to be currently encoded. Specifically, the atlas sequence may include geometry information or texture information corresponding to one or more patch data units, i.e., may include geometry patches or texture patches corresponding to one or more patch data units.

[0153] As can be understood, in an embodiment of the present application, for any patch data unit in the current atlas sequence, the patch data unit may include both geometry information and texture information, or may include only texture information without including geometry information.

[0154] As can be understood, in an embodiment of the present application, for any patch data unit of the current atlas, the patch data unit may include both geometry information and texture information, or may include only texture information without including geometry information.

[0155] In addition, in the embodiment of the present application, different methods can be selected to encode a patch data unit for different situations, whether the patch data unit includes geometry information or does not include geometry information, so it is necessary to determine a first indication parameter for indicating whether there is a patch data unit that does not include geometry information.

[0156] It should be noted that in the implementation of the present application, the second indication parameter can indicate whether the corresponding patch data unit does not include geometry information, that is, the second indication parameter can be used to determine whether the patch data unit includes geometry information, where each patch data unit corresponds to one second indication parameter.

[0157] It can be understood that in the embodiment of the present application, the second indication parameter can be understood as a flag bit indicating whether the image does not include geometry information and only includes texture information. Specifically, the encoding device can determine one variable as the second indication parameter, and can determine the second indication parameter according to the value of the variable. Here, the value of the second indication parameter can be a first value or a second value.

[0158] In addition, in an embodiment of the present application, if it is determined that the corresponding patch data unit does not contain geometry information, it can be determined that the value of the second instruction parameter is a first value, and if it is determined that the corresponding patch data unit does contain geometry information, it can be determined that the value of the second instruction parameter is a second value.

[0159] It can be understood that in the embodiment of the present application, the first value may be set to 1 and the second value may be set to 0, or the first value may be set to true and the second value may be set to false, but is not particularly limited in the present application.

[0160] In addition, in the embodiment of the present application, a flag pdu_geometry_absent_flag can be used to represent a second indication parameter. For example, in the present application, if the corresponding patch data unit does not include a geometry patch, i.e., the corresponding patch data unit does not include geometry information and only includes texture information, the value of pdu_geometry_absent_flag can be set to 1, and if the corresponding patch data unit includes a geometry patch, i.e., the corresponding patch data unit includes texture information and a geometry patch, the value of pdu_geometry_absent_flag can be set to 0.

[0161] It should be noted that in the embodiment of the present application, the current atlas sequence may include at least one sub-atlas, where each sub-atlas includes at least one patch data unit. Correspondingly, a flag pdu_geometry_absent_flag[tileID][p] may be used to represent the second indication parameter, where tileID and p may be identifiers of patch data units. For example, in the present application, when the value of pdu_geometry_absent_flag[tileID][p] is 1, it indicates that the p-th patch data unit in the sub-atlas of tileID does not include a geometry patch, i.e., the p-th patch data unit in the sub-atlas of tileID does not include geometry information and only includes texture information, and when the value of pdu_geometry_absent_flag[tileID][p] is 0, it indicates that the p-th patch data unit in the sub-atlas of tileID includes a geometry patch, i.e., the p-th patch data unit in the sub-atlas of tileID includes texture information and geometry information.

[0162] Furthermore, in the embodiment of the present application, when a patch data unit that does not include geometry information exists, it is possible to further perform encoding processing based on texture information corresponding to the patch data unit to generate a codestream.

[0163] In addition, in an embodiment of the present application, if it is determined that a patch data unit does not include geometry information and only includes texture information, first, the texture information corresponding to the patch data unit is determined, and then an encoding process is performed on the patch data unit using the texture information to generate a code stream.

[0164] Furthermore, in embodiments of the present application, when determining an encoded patch data unit corresponding to a patch data unit based on texture information corresponding to the patch data unit, the encoding process may be completed using only the texture information, or the geometry information of the reference patch data unit may be first used to determine the geometry information of the patch data unit, and then combined with the texture information of the patch data unit to complete the image encoding process.

[0165] It can be understood that, in the present application, according to one embodiment, if a patch data unit does not include geometry information, texture information corresponding to the patch data unit can be determined first, and then an encoding process can be performed on the patch data unit based on the texture information to generate a code stream, where during the encoding process, only the texture information included in the patch data unit is encoded.

[0166] In addition, in the embodiment of the present application, if a patch data unit only includes a texture patch (texture information) and does not include a geometry patch (geometry information), that is, if it is determined that the patch data unit does not include geometry information, there is no need to obtain the geometry information, and only the corresponding texture information is obtained. Correspondingly, in the subsequent image encoding process, there is no need to consider the geometry information of the patch data unit, and the encoding process is performed based only on the corresponding texture information.

[0167] It can be understood that in the present application, according to one embodiment, when a patch data unit does not include geometry information, texture information and reference patch data corresponding to the patch data unit can be determined first, and then, based on the reference patch, first geometry information corresponding to the patch data unit can be determined, and finally, an encoding process can be performed on the patch data unit based on the texture information and the first geometry information to generate a code stream, where during the encoding process, the encoding process is performed on the texture information and geometry information included in the patch data unit.

[0168] In the embodiment of the present application, when a patch data unit includes only a texture patch (texture information) and does not include a geometry patch (geometry information), that is, when it is determined that the patch data unit does not include geometry information, it is necessary to first determine the geometry information based on the reference patch data unit, and at the same time, determine the corresponding texture information. Correspondingly, in the subsequent image encoding process, the texture information of the patch data unit and the determined geometry information (first geometry information) can be combined to perform the encoding process.

[0169] Further, in an embodiment of the present application, a reference patch data unit corresponding to the patch data unit can be first determined, and then, based on the reference patch data unit, first geometry information corresponding to the patch data unit can be determined.

[0170] In addition, in the embodiment of the present application, the encoding device may also determine identification information of the reference patch data unit and write the identification information into the codestream. Here, the identification information may represent an index number of the reference patch data unit. For example, the identification information may be represented using pdu_geometry_reference_patch_id[tileID][p], where tileID and p may be indexes of the reference patch data unit, and the identification information pdu_geometry_absent_flag[tileID][p] may specify the p-th patch data unit in the sub-atlas of tileID as the reference patch data unit.

[0171] As can be understood, in an embodiment of the present application, after determining the corresponding reference patch data unit, second geometry information corresponding to the reference patch data unit can be further determined, and the second geometry information can be further used to determine the geometry information of the patch data unit, i.e., the first geometry information corresponding to the patch data unit.

[0172] That is, in an embodiment of the present application, if it is determined that a patch data unit does not contain geometry information, the second geometry information of a reference patch data unit can be used to determine the first geometry information of the patch data unit, thereby performing an encoding process and generating a code stream based on the texture information and first geometry information of the patch data unit.

[0173] As can be understood, in an embodiment of the present application, the encoding device can write a first instruction parameter into the code stream, and if the first instruction parameter indicates that a patch data unit is present that does not contain geometry information, the encoding device can further write a second instruction parameter into the code stream, and if the second instruction parameter indicates that the patch data unit does not contain geometry information, the encoding device can further write identification information into the code stream.

[0174] Furthermore, in an embodiment of the present application, the encoding method by the encoding device may further include the following steps.

[0175] In step 204, if all patch data units contain geometry information, the texture information and first geometry information corresponding to the patch data units are determined.

[0176] In an embodiment of the present application, if all patch data units include geometry information, the texture information and the first geometry information corresponding to each patch data unit can be further determined.

[0177] As can be understood, in an embodiment of the present application, if it is determined that each patch data unit includes a geometry patch (geometry information) and a texture patch (texture information), the texture information and first geometry information corresponding to the patch data unit can be directly determined.

[0178] That is to say, in the embodiment of the present application, if all patch data units include geometry information, the texture information and first geometry information of the patch data units can be obtained directly.

[0179] In step 205, an encoding process is performed on the patch data units based on the texture information and the first geometry information to generate a codestream.

[0180] In an embodiment of the present application, after determining texture information and first geometry information corresponding to a patch data unit, an encoding process can be performed on the patch data unit based on the texture information and the first geometry information to generate a code stream.

[0181] It should be noted that in the embodiment of the present application, for a patch data unit that includes both texture information and first geometry information, the encoding process can be completed by directly using the corresponding texture information and first geometry information.

[0182] Furthermore, in an embodiment of the present application, the encoding method by the encoding device may further include the following steps.

[0183] In step 206, if the patch data unit includes geometry information, the texture information and first geometry information corresponding to the patch data unit are determined.

[0184] In an embodiment of the present application, if it is determined that the patch data unit includes geometry information, the embodiment may further determine texture information and first geometry information corresponding to the patch data unit.

[0185] As can be understood, in an embodiment of the present application, when it is determined that a patch data unit includes both a geometry patch (geometry information) and a texture patch (texture information), the texture information and first geometry information corresponding to the patch data unit can be directly determined.

[0186] That is, in the embodiment of the present application, when there is a patch data unit that does not contain geometry information, the specific situation of whether each patch data unit contains geometry information can be further determined. Here, when the patch data unit contains geometry information, that is, when the patch data unit contains both geometry information and texture information, the texture information and the first geometry information of the patch data unit can be directly obtained.

[0187] In step 205, an encoding process is performed on the patch data units based on the texture information and the first geometry information to generate a codestream.

[0188] In an embodiment of the present application, after determining texture information and first geometry information corresponding to a patch data unit, an encoding process can be performed on the patch data unit based on the texture information and the first geometry information to generate a code stream.

[0189] Further, in an embodiment of the present application, the method of rendering processing by the encoding device may include the following steps.

[0190] In step 207, a target window is constructed based on the patch data units, which contain the geometry information.

[0191] In step 208, a shading process is performed on the target window based on the texture information of the patch data unit to obtain a rendered image.

[0192] In an embodiment of the present application, when the encoding process is completed using only texture information for a patch data unit that does not contain geometry information, a target window can be further constructed based on the patch data unit that contains geometry information, and then a shading process can be performed on the target window based on the texture information of the patch data unit to obtain a rendered image.

[0193] In addition, in the embodiment of the present application, after the encoding process is completed, a rendering process can be further performed using the image information obtained after encoding, where the rendering process can include two processes: a viewpoint view restoration process and a target window geometry reconstruction and pixel shading process.

[0194] In addition, as a general method for the viewpoint view restoration process, for all patch data units, the texture patches in the patch data units are sequentially restored to the original positions of the texture view of the original viewpoint to which they belong, and the geometry patches in the patch data units are sequentially restored to the original positions of the geometry view of the original viewpoint to which they belong. Meanwhile, in the process of scanning all patch data units to perform view restoration in the present application, if the first instruction parameter indicates that all patch data units include both geometry information and texture information, or if the second instruction parameter indicates that the corresponding patch data unit includes both geometry information and texture information, the viewpoint view restoration process can be performed on the patch data units according to the general method described above. For patch data units that do not include geometry information and include only texture information, that is, patch data units whose pdu_geometry_absent_flag has a value of 1, which are indicated by the second instruction parameter, only the texture patches of the patch data units can be restored to the original positions of the texture view of the original viewpoint to which they belong, without the operation of restoring the geometry patches.

[0195] Furthermore, in the embodiment of the present application, when performing the geometry reconstruction and pixel shading processing of the target window, first, the existing multi-view geometry image restored by the viewpoint view restoration processing is used to reconstruct the geometry image of the target window, then, each pixel point in the target window is scanned, and candidate pixels for each pixel are obtained from the multi-view texture image based on the position of the pixel point in the target window in the three-dimensional space, and the pixel values ​​of each candidate pixel are weighted and fused based on the relative position and orientation relationship between each candidate pixel and the target window to obtain the pixel value of each pixel point in the target window.

[0196] In other words, in an embodiment of the present application, if, for all patch data units, there are cases where some patch data units include both geometry information and texture information and the remaining patch data units include only texture information, when rendering a target window, only some of the patch data units that include geometry information can be used to reconstruct the target window geometry image, and the target window can be shaded using the texture information of all available patch data units.

[0197] Further, in an embodiment of the present application, the method of rendering processing by the encoding device may include the following steps.

[0198] In step 209, a geometry missing patch data unit reconstruction process is performed for patch data units that do not contain geometry information based on the reference patch data units.

[0199] In step 210, a target window is constructed based on the geometry information of the patch data unit.

[0200] In step 208, a shading process is performed on the target window based on the texture information of the patch data unit to obtain a rendered image.

[0201] In an embodiment of the present application, for a patch data unit that does not contain geometry information, the geometry information of the patch data unit is first restored using the geometry information of a reference patch data unit, and then combined with the texture information of the patch data unit to complete the image encoding process. First, a geometry patch missing restoration process is performed on the patch data unit that does not contain geometry information based on the reference patch data unit, so that all patch data units contain both geometry information and texture information, and a target window is constructed based on the geometry information of the patch data unit, and then a shading process is performed on the target window based on the texture information of the patch data unit to obtain a rendered image.

[0202] Furthermore, in the embodiment of the present application, after the encoding process is completed, a rendering process can be further performed using the image information obtained after encoding, where the rendering process may include the processes of missing geometry patch reconstruction, viewpoint view restoration, target window geometry reconstruction and pixel shading.

[0203] In addition, the missing geometry patch reconstruction process can scan all patch data units. If it is determined that a patch data unit is missing a geometry patch (geometry information), it starts to restore the missing geometry patch. Specifically, it can use the geometry patch and viewpoint parameter information in the reference patch data unit to restore the geometry patch of the patch data unit. After the above process, all patch data units include a texture patch and a geometry patch.

[0204] Furthermore, in an embodiment of the present application, after the determination of missing geometry patches is completed, for all patch data units, the texture patches in the patch data units may be sequentially restored to their original positions in the texture view of the original viewpoint to which they belong, and the geometry patches in the patch data units may be sequentially restored to their original positions in the geometry view of the original viewpoint to which they belong.

[0205] Furthermore, in the embodiment of the present application, when performing the geometry reconstruction and pixel shading processing of the target window, first, the existing multi-view geometry image restored by the viewpoint view restoration processing is used to reconstruct the geometry image of the target window, then, each pixel point in the target window is scanned, and candidate pixels for each pixel are obtained from the multi-view texture image based on the position of the pixel point in the target window in three-dimensional space, and the pixel values ​​of each candidate pixel are weighted and fused based on the relative position and orientation relationship between each candidate pixel and the target window to obtain the pixel value of each pixel point in the target window.

[0206] In other words, in an embodiment of the present application, if there are cases where, for all patch data units, some patch data units include both geometry information and texture information and the remaining patch data units include only texture information, when rendering the target window, a geometry-missing patch data unit reconstruction process is first performed, so that all patch data units after the geometry-missing patch data unit reconstruction process include geometry patches and texture patches, and finally, the geometry information of all patch data units can be used to reconstruct the target window geometry image and the texture information of all patch data units can be used to shade the target window.

[0207] As described above, according to the encoding method proposed in the above steps 201 to 210, during encoding, for one non-diffuse reflection surface, G geometric patches and T texture patches are used for representation and transmission (both G and T are integers, and 1 ≤ G < T). This means that there may be patch data units that do not contain geometric patches during encoding. That is, while providing multiple texture information from different viewpoints for the same region, a sufficiently small amount of geometric information can be transmitted to represent the region, thereby supporting a sufficient and efficient representation of the non-diffuse reflection surface, effectively improving the rendering quality of the surface, reducing the redundancy of geometric data information, and thereby improving the encoding efficiency when compressing the non-diffuse reflection surface.

[0208] Note that the encoding method proposed in this application introduces a mechanism that the patch data unit may not contain geometric patches in order to enable the MIV standard to support efficient encoding of non-diffuse reflection content.

[0209] Correspondingly, the encoding method proposed in this application sets syntax elements that support patch data units without geometric patches at the atlas sequence level and the patch data unit level based on the existing MIV standard syntax structure, so that patch data units without geometric patches can also be accurately decoded.

[0210] According to the encoding method of the embodiment of the present application, if the patch data unit does not include geometry information, the patch data unit is encoded to generate a code stream, and at the same time, a first indication parameter and a second indication parameter of the patch data unit are determined, the first indication parameter is used to determine whether there is a patch data unit that does not include geometry information, and the second indication parameter is used to determine whether the patch data unit includes geometry information, and the first indication parameter and the second indication parameter are written into the code stream. That is, in the embodiment of the present application, the first indication parameter can determine whether there is a patch data unit that does not include geometry information, and the second indication parameter can determine whether the patch data unit does not include geometry information, thereby supporting the transmission of different numbers of texture information and geometry information, effectively improving the rendering quality through sufficient texture information, while reducing the redundancy of geometry data, thereby fully expressing the non-diffuse reflection characteristics of the surface, and improving the codec efficiency and compression performance.

[0211] Based on the above embodiment, according to another embodiment of the present application, FIG. 5 is a schematic diagram 1 showing the configuration of a decoding device proposed in the embodiment of the present application. As shown in FIG. 5, the decoding device 300 proposed in the embodiment of the present application may include a decoding unit 301, a first determination unit 302, and a reconstruction unit 303.

[0212] The decoding unit 301 is configured to decode a codestream, the first determination unit 302 is configured to determine a first indication parameter, and, if the first indication parameter indicates that a patch data unit not including geometry information exists, determine a second indication parameter corresponding to the patch data unit; The reconstruction unit 303 is configured to perform a reconstruction process based on texture information corresponding to the patch data unit when the second instruction parameter indicates that the patch data unit does not include geometry information.

[0213] FIG. 6 is a schematic diagram 2 showing the configuration of a decoding device proposed in an embodiment of the present application. As shown in FIG. 6, the decoding device 300 proposed in an embodiment of the present application may include a first processor 304, a first memory 305 storing instructions executable by the first processor 304, a first communication interface 306, and a first bus 307 for connecting the first processor 304, the first memory 305, and the first communication interface 306.

[0214] Further, in an embodiment of the present application, the first processor 304 is configured to decode the codestream to determine a first instruction parameter, and if the first instruction parameter indicates that a patch data unit (PDU) that does not contain geometry information is present, determine a second instruction parameter corresponding to the patch data unit, and if the second instruction parameter indicates that the patch data unit does not contain geometry information, perform a reconstruction process based on texture information corresponding to the patch data unit.

[0215] FIG. 7 is a schematic diagram 1 showing the configuration of an encoding device proposed in an embodiment of the present application. As shown in FIG. 7, an encoding device 400 proposed in an embodiment of the present application may include an encoding unit 401.

[0216] The encoding unit 401 is configured to execute the steps of: if a patch data unit does not contain geometry information, encoding the patch data unit to generate a code stream, and at the same time determining a first instruction parameter and a second instruction parameter of the patch data unit, where the first instruction parameter is used to determine whether a patch data unit that does not contain geometry information exists, and the second instruction parameter is used to determine whether the patch data unit contains geometry information, and writing the first instruction parameter and the second instruction parameter to the code stream.

[0217] FIG. 8 is a schematic diagram 2 showing the configuration of an encoding device proposed in an embodiment of the present application. As shown in FIG. 8, the encoding device 400 proposed in an embodiment of the present application may include a second processor 402, a second memory 403 that stores instructions executable by the second processor 402, a second communication interface 404, and a second bus 405 for connecting the second processor 402, the second memory 403, and the second communication interface 404.

[0218] Further, in an embodiment of the present application, the second processor 402 is configured to, if a patch data unit does not contain geometry information, encode the patch data unit to generate a code stream, and at the same time determine a first instruction parameter and a second instruction parameter of the patch data unit, the first instruction parameter being used to determine whether a patch data unit does not contain geometry information and the second instruction parameter being used to determine whether the patch data unit contains geometry information, and write the first instruction parameter and the second instruction parameter to the code stream.

[0219] Furthermore, each functional module in this embodiment 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. The integrated unit may be realized in the form of hardware or in the form of a software functional module.

[0220] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in one computer-readable storage medium. Based on this understanding, the essential part of the technical solution of the present embodiment, or the part of the contribution to the prior art, or all or part of the solution of the technology can be embodied in the form of a software product, and the computer software product is stored in one storage medium and includes several instructions for making a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the method of the present embodiment. The aforementioned storage medium includes various media that can store program code, such as a U disk, a mobile hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0221] An embodiment of the present application provides an encoding device and a decoding device, which can determine whether there is a patch data unit that does not contain geometry information through a first indication parameter, and can determine whether the patch data unit does not contain geometry information through a second indication parameter, thereby supporting the transmission of different numbers of texture information and geometry information, and effectively improving the rendering quality through sufficient texture information while reducing the redundancy of geometry data, thereby fully expressing the non-diffuse reflection characteristics of the surface, and improving codec efficiency and compression performance.

[0222] An embodiment of the present application provides a computer-readable storage medium having a program stored thereon, the program causing a processor to execute the method according to the above embodiment.

[0223] Specifically, the program instructions corresponding to the decryption method in this embodiment can be stored in a storage medium such as an optical disk, a hard disk, a U disk, etc., and when the program instructions corresponding to the decryption method in the storage medium are read or executed by an electronic device, the electronic device can: decoding the codestream to determine a first indication parameter; determining a second indication parameter corresponding to the patch data unit if the first indication parameter indicates the presence of a patch data unit that does not contain geometry information; If the second instruction parameter indicates that the patch data unit does not include geometry information, the method causes the device to execute a process including a step of performing a reconstruction process based on texture information corresponding to the patch data unit.

[0224] When the program instructions corresponding to the encoding method in the storage medium are read or executed by an electronic device, the electronic device: If the patch data unit does not include geometry information, encoding the patch data unit to generate a codestream and simultaneously determining a first indication parameter and a second indication parameter of the patch data unit, the first indication parameter being used to determine whether there is a patch data unit that does not include geometry information, and the second indication parameter being used to determine whether the patch data unit includes geometry information; and writing the first instruction parameter and the second instruction parameter into the codestream.

[0225] It should be understood by those skilled in the art that the embodiments of the present application may be provided as a method, a system, or a computer program product. Thus, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied in one or more computer usable storage mediums (including, but not limited to, disk memory, optical memory, etc.) containing computer usable program code.

[0226] The present application will be described with reference to implementation flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to the embodiments of the present application. Note that each process and / or block in the implementation flowcharts and / or block diagrams, and combinations of processes and / or blocks in the implementation flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine. The instructions executed by the processor of the computer or other programmable data processing device generate an apparatus for implementing the functions specified in one or more processes in the implementation flowcharts and / or one or more blocks in the block diagrams.

[0227] These computer program instructions may further be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer readable memory can produce an article of manufacture that includes an instruction apparatus that implements the functions specified in one or more processes of the implementation flowcharts and / or one or more blocks of the block diagrams.

[0228] These computer program instructions may further be loaded into a computer or other programmable data processing apparatus to generate a computer-implemented process by executing a series of operational steps on the computer or other programmable data processing apparatus, whereby the instructions executed on the computer or other programmable data processing apparatus provide steps for implementing the functions specified in one or more processes of the implementation flowcharts and / or in one or more blocks of the block diagrams.

[0229] The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. [Industrial Applicability]

[0230] The embodiments of the present application provide a codec method, an encoding device, a decoding device, and a storage medium, in which the decoding device decodes a code stream to determine a first indication parameter, and if the first indication parameter indicates that a patch data unit that does not include geometry information exists, determines a second indication parameter corresponding to the patch data unit, and if the second indication parameter indicates that the patch data unit does not include geometry information, performs a reconstruction process based on texture information corresponding to the patch data unit. If the patch data unit does not include geometry information, encodes the patch data unit to generate a code stream, and at the same time, determines the first indication parameter and the second indication parameter of the patch data unit, the first indication parameter is used to determine whether a patch data unit that does not include geometry information exists, and the second indication parameter is used to determine whether the patch data unit includes geometry information, and writes the first indication parameter and the second indication parameter into the code stream. That is, in the embodiment of the present application, the first indication parameter can determine whether there is a patch data unit that does not contain geometry information, and the second indication parameter can determine whether the patch data unit does not contain geometry information, thereby supporting the transmission of different amounts of texture information and geometry information, effectively improving the rendering quality through sufficient texture information while reducing the redundancy of geometry data, thereby fully expressing the non-diffuse reflection characteristics of the surface, and improving codec efficiency and compression performance.

Claims

1. A decoding method applied to a decoding device, comprising: decoding the codestream to determine a first indication parameter; if the first indication parameter indicates the presence of a patch data unit that does not contain geometry information, determining a second indication parameter corresponding to the patch data unit; performing a reconstruction process based on texture information corresponding to the patch data unit if the second instruction parameter indicates that the patch data unit does not include geometry information.

2. determining a second indication parameter corresponding to a patch data unit of the current atlas sequence if the first indication parameter indicates the presence of a patch data unit in the current atlas sequence that does not contain geometry information; The method of decoding according to claim 1 .

3. if the first indication parameter indicates that there is a patch data unit in the current atlas that does not contain geometry information, determining a second indication parameter that corresponds to the patch data unit of the current atlas; The method of decoding according to claim 1 .

4. When the second instruction parameter indicates that the patch data unit does not include geometry information, the step of performing a reconstruction process based on texture information corresponding to the patch data unit includes: if the second indication parameter indicates that the patch data unit does not contain geometry information, determining texture information corresponding to the patch data unit; performing a reconstruction process on the patch data unit based on the texture information; 4. The decoding method according to claim 2 or 3.

5. When the second instruction parameter indicates that the patch data unit does not include geometry information, the step of performing a reconstruction process based on texture information corresponding to the patch data unit includes: if the second indication parameter indicates that the patch data unit does not contain geometry information, determining texture information corresponding to the patch data unit and an identification of a reference patch data unit; determining first geometry information corresponding to the patch data unit based on the identification information; performing a reconstruction process on the patch data unit based on the texture information and the first geometry information; 4. The decoding method according to claim 2 or 3.

6. The step of determining first geometry information corresponding to the patch data unit based on the identification information includes: determining second geometry information of the reference patch data unit based on the identification information; and reconstructing the first geometry information using the second geometry information. The decoding method according to claim 5.

7. The decoding method includes: if the first indication parameter indicates that all patch data units include geometry information, determining texture information and first geometry information corresponding to the patch data units; performing a reconstruction process on the patch data unit based on the texture information and the first geometry information.

4. The decoding method according to claim 2 or 3.

8. The decoding method includes: if the second indication parameter indicates that the patch data unit includes geometry information, determining texture information and first geometry information corresponding to the patch data unit; performing a reconstruction process on the patch data unit based on the texture information and the first geometry information.

4. The decoding method according to claim 2 or 3.

9. The decoding method includes: constructing a target window based on the patch data unit including geometry information; performing a shading process on the target window based on texture information of the patch data unit to obtain a rendered image; The decoding method according to claim 4.

10. The decoding method includes: performing a geometry-missing patch data unit reconstruction process on a patch data unit that does not contain geometry information based on the reference patch data unit; constructing a target window based on geometry information of the patch data unit; performing a shading process on the target window based on texture information of the patch data unit to obtain a rendered image; The decoding method according to claim 5.

11. When the value of the first indication parameter is a first value, the first indication parameter indicates the presence of a patch data unit that does not contain geometry information; When the value of the first instruction parameter is a second value, all patch data units indicated by the first instruction parameter include geometry information. The method of decoding according to claim 1 .

12. When the value of the second instruction parameter is a first value, the second instruction parameter indicates that the patch data unit does not include geometry information; When the value of the second indication parameter is a second value, the second indication parameter indicates that the patch data unit includes geometry information. The method of decoding according to claim 1 .

13. the first value is 1 and the second value is 0; or the first value is set to true and the second value is set to false; A decoding method according to claim 11 or 12.

14. An encoding method applied to an encoding device, comprising: if the patch data unit does not contain geometry information, encoding the patch data unit to generate a codestream and simultaneously determining a first indication parameter and a second indication parameter of the patch data unit, the first indication parameter being used to determine whether there is a patch data unit that does not contain geometry information, and the second indication parameter being used to determine whether the patch data unit contains geometry information; and writing said first instruction parameter and said second instruction parameter into said codestream.

15. The encoding method comprises: if the patch data unit does not contain geometry information, determining texture information corresponding to the patch data unit; and performing an encoding process on the patch data unit based on the texture information to generate the code stream. The encoding method according to claim 14.

16. The encoding method comprises: if the patch data unit does not contain geometry information, determining texture information and a reference patch data unit corresponding to the patch data unit; determining first geometry information corresponding to the patch data unit based on the reference patch data unit; performing an encoding process on the patch data unit based on the texture information and the first geometry information to generate the code stream; and writing an identification of the reference patch data unit into the codestream. The encoding method according to claim 14.

17. The step of determining first geometry information corresponding to the patch data unit based on the reference patch data unit includes: determining second geometry information of the reference patch data unit; determining the first geometry information utilizing the second geometry information; 17. The encoding method of claim 16.

18. The encoding method comprises: if all of the patch data units include geometry information, determining texture information and first geometry information corresponding to the patch data units; and performing an encoding process on the patch data unit based on the texture information and the first geometry information to generate the code stream. Encoding method according to any one of claims 14 to 17.

19. The encoding method comprises: if the patch data unit includes geometry information, determining texture information and first geometry information corresponding to the patch data unit; and performing an encoding process on the patch data unit based on the texture information and the first geometry information to generate the code stream. Encoding method according to any one of claims 14 to 17.

20. The encoding method comprises: constructing a target window based on the patch data unit including geometry information; performing a shading process on the target window based on texture information of the patch data unit to obtain a rendered image; The encoding method according to claim 15.

21. The encoding method comprises: performing a geometry-missing patch data unit reconstruction process on a patch data unit that does not contain geometry information based on the reference patch data unit; constructing a target window based on geometry information of the patch data unit; performing a shading process on the target window based on texture information of the patch data unit to obtain a rendered image; 17. The encoding method of claim 16.

22. determining that the value of the first indication parameter is a first value if there is a patch data unit in the current atlas sequence that does not contain geometry information; determining that the value of the first indication parameter is a second value if all patch data units of the current atlas sequence contain geometry information; The encoding method according to claim 14.

23. determining that the value of the first indication parameter is a first value if there is a patch data unit in the current atlas that does not contain geometry information; determining that the value of the first indication parameter is a second value if all patch data units of the current atlas contain geometry information; The encoding method according to claim 14.

24. If the patch data unit does not contain geometry information, determining that the value of the second indication parameter is a first value; determining that the value of the second instruction parameter is a second value if the patch data unit includes geometry information; The encoding method according to claim 14.

25. the first value is 1 and the second value is 0; or the first value is set to true and the second value is set to false; The encoding method according to any one of claims 22 to 24.

26. The encoding method comprises: writing said first indication parameter into said codestream; if a patch data unit is present that does not contain geometry information, writing said second indication parameter into said codestream; if the patch data unit does not contain geometry information, writing the identification information into the codestream.

17. The encoding method of claim 16.

27. A decoding device comprising: a decoding unit; a first determination unit; and a reconstruction unit; the decoder is configured to decode a codestream; The first determination unit is configured to determine a first indication parameter, and when the first indication parameter indicates that a patch data unit that does not include geometry information exists, determine a second indication parameter corresponding to the patch data unit; A decoding device, wherein the reconstruction unit is configured to perform reconstruction processing based on texture information corresponding to the patch data unit when the second instruction parameter indicates that the patch data unit does not include geometry information.

28. A decoding device comprising a first processor and a first memory storing instructions executable by the first processor, the instructions causing the first processor to perform a method according to any one of claims 1 to 13.

29. An encoding device comprising: An encoding device configured to execute the steps of: encoding the patch data unit to generate a code stream when the patch data unit does not include geometry information, and at the same time determining a first instruction parameter and a second instruction parameter of the patch data unit, wherein the first instruction parameter is used to determine whether there is a patch data unit that does not include geometry information, and the second instruction parameter is used to determine whether the patch data unit includes geometry information; and writing the first instruction parameter and the second instruction parameter to the code stream.

30. An encoding device comprising a second processor and a second memory storing instructions executable by the second processor, the instructions causing the second processor to perform a method according to any one of claims 14 to 26.

31. A computer storage medium having a computer program stored therein, the computer program causing a first processor to execute a method according to any one of claims 1 to 13, or causing a second processor to execute a method according to any one of claims 14 to 26.