Mesh decoding device, mesh decoding method, and program
The mesh decoding device and method enhance encoding efficiency by using arithmetic decoding with bypass and inverse transformations to improve the suitability of two-dimensional video for video codecs, addressing the inefficiencies in existing techniques.
Patent Information
- Application Number
- JP2023066595
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2043-04-14
AI Technical Summary
The generated two-dimensional video from existing mesh decoding techniques is not suitable for encoding with a video codec, leading to decreased encoding efficiency.
A mesh decoding device and method that includes an arithmetic decoding unit with bypass, inverse quantization, inter prediction, and inverse transformation units to generate and output displacement amounts, enhancing encoding efficiency by performing inverse operations after quantization.
Improves encoding efficiency by performing inverse operations like inverse quantization and inter prediction before quantization during encoding, thereby optimizing the mesh decoding process.
Smart Images

Figure 2024152412000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a mesh decoding device, a mesh decoding method, and a program. [Background technology]
[0002] Non-Patent Document 1 discloses a technique in which a mesh is divided into a rough basic mesh and a detailed displacement amount, and the mesh is decoded, and the displacement amount is converted into a two-dimensional image and then decoded by a video codec. [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] Khaled Mammou, Jungsun Kim, Alexis Tourapis, Dimitri Podborski, Krasimir Kolarov, “[V-CG] Apple's Dynamic Mesh Coding CfP Response,” ISO / IEC JTC 1 / SC 29 / WG 7 m5928, April 2022. Summary of the Invention [Problem to be solved by the invention]
[0004] However, the technology disclosed in Non-Patent Document 1 has a problem that the generated 2D video is not suitable for encoding by a video codec, and the encoding efficiency is reduced. Therefore, the present invention has been made in consideration of the above-mentioned problems, and aims to provide a mesh decoding device, a mesh decoding method, and a program that can improve the encoding efficiency. [Means for solving the problem]
[0005] A first feature of the present invention is a mesh decoding device comprising a displacement amount decoding unit configured to decode a displacement amount bit stream to generate and output a displacement amount, the displacement amount decoding unit comprising: a bypass arithmetic decoding unit configured to generate a coefficient level value by performing bypass arithmetic decoding on the displacement amount bit stream; an inverse quantization unit configured to generate a first transform coefficient by performing inverse quantization on the coefficient level value; an adder configured to generate a second transform coefficient by adding a predictive transform coefficient and a predictive residual; a frame buffer configured to acquire and accumulate the second transform coefficient output from the adder; an inter prediction unit configured to generate the predictive transform coefficient by performing inter prediction using the second transform coefficient of a reference frame read from the frame buffer; and a second inverse transform unit configured to generate a decoded displacement amount by performing a second inverse transform on the second transform coefficient.
[0006] A second feature of the present invention is a mesh decoding method comprising the steps of: decoding a displacement amount bit stream to generate and output a displacement amount; the steps including: a step A of generating a coefficient level value by performing bypass arithmetic decoding on the displacement amount bit stream; a step B of generating a first transform coefficient by performing inverse quantization on the coefficient level value; a step C of generating a second transform coefficient by adding a predictive transform coefficient and a predictive residual; a step D of acquiring the second transform coefficient generated by the step C and accumulating it in a frame buffer; a step E of generating the predictive transform coefficient by performing inter prediction using the second transform coefficient of a reference frame read from the frame buffer; and a step F of generating a decoded displacement amount by performing a second inverse transform on the second transform coefficient.
[0007] A third feature of the present invention is a program for causing a computer to function as a mesh decoding device, the mesh decoding device comprising a displacement amount decoding unit configured to decode a displacement amount bit stream to generate and output a displacement amount, the displacement amount decoding unit comprising: a bypass arithmetic decoding unit configured to generate a coefficient level value by performing bypass arithmetic decoding on the displacement amount bit stream; an inverse quantization unit configured to generate a first transform coefficient by performing inverse quantization on the coefficient level value; an adder configured to generate a second transform coefficient by adding a predictive transform coefficient and a predictive residual; a frame buffer configured to acquire and accumulate the second transform coefficient output from the adder; an inter prediction unit configured to generate the predictive transform coefficient by performing inter prediction using the second transform coefficient of a reference frame read from the frame buffer; and a second inverse transform unit configured to generate a decoded displacement amount by performing a second inverse transform on the second transform coefficient. Effect of the Invention
[0008] According to the present invention, it is possible to provide a mesh decoding device, a mesh decoding method, and a program capable of improving the encoding efficiency. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a mesh processing system 1 according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of functional blocks of a mesh decoding device 200 according to an embodiment. [Diagram 3] FIG. 3 is a diagram showing an example of functional blocks of the displacement amount decoding unit 205 of the mesh decoding device 200 according to an embodiment. [Figure 4] FIG. 4 is a diagram showing an example of the configuration of a displacement amount bit stream. [Diagram 5]FIG. 5 is a diagram showing an example of a syntax configuration of a DPS. [Figure 6] FIG. 6 is a diagram showing an example of a syntax configuration of the DFH. [Figure 7] FIG. 7 is a diagram showing an example of a syntax configuration of the DDU. [Figure 8] FIG. 8 is a diagram showing an example of the operation of the displacement amount decoding unit 205 of the mesh decoding device 200 according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the embodiments of the present invention will be described with reference to the drawings. Note that the components in the following embodiments can be appropriately replaced with existing components, and various variations including combinations with other existing components are possible. Therefore, the description of the following embodiments does not limit the content of the invention described in the claims.
[0011] First Embodiment Hereinafter, the mesh processing system according to this embodiment will be described with reference to FIGS.
[0012] 1 is a diagram showing an example of the configuration of a mesh processing system 1 according to this embodiment. As shown in FIG.
[0013] FIG. 2 is a diagram showing an example of functional blocks of the mesh decoding device 200 according to this embodiment.
[0014] As shown in FIG. 2, the mesh decoding device 200 includes a demultiplexing unit 201 , a basic mesh decoding unit 202 , a subdivision unit 203 , a mesh decoding unit 204 , a displacement amount decoding unit 205 , and a video decoding unit 206 .
[0015] The demultiplexing unit 201 is configured to separate the multiplexed bit stream into a base mesh bit stream, a displacement amount bit stream, and a texture bit stream.
[0016] The base mesh decoding unit 202 is configured to decode the base mesh bitstream and generate and output a base mesh.
[0017] The subdivision unit 203 is configured to generate and output added subdivision vertices and their connection information from the basic mesh decoded by the basic mesh decoding unit 202 using a subdivision method indicated by the control information.
[0018] Here, the basic mesh, the added subdivision vertices, and their connection information are collectively referred to as a "subdivision mesh."
[0019] The mesh decoding unit 204 is configured to generate and output a decoded mesh using the subdivision mesh generated by the subdivision unit 203 and the amount of displacement decoded by the displacement amount decoding unit 205 .
[0020] The displacement amount decoding unit 205 is configured to decode the displacement amount bitstream to generate and output the displacement amount.
[0021] The video decoding unit 206 is configured to decode the texture by video encoding and output the texture. For example, the video decoding unit 206 may use HEVC in Non-Patent Document 1.
[0022] (Displacement amount decoding unit 205) As shown in FIG. 3, the displacement amount decoding unit 205 includes a bypass arithmetic decoding unit 205A, an inverse quantization unit 205B, a first inverse transform unit 205C, an adder 205D, a frame buffer 205E, an inter prediction unit 205F, and a second inverse transform unit 205G.
[0023] The bypass arithmetic decoding unit 205A is configured to perform bypass arithmetic decoding on the received displacement amount bit stream to generate and output coefficient level values.
[0024] The bypass arithmetic decoding unit 205A may efficiently generate coefficient level values using a syntax as shown in FIG. 7, which will be described later.
[0025] The coefficient level values generated by the bypass arithmetic decoding unit 205A may be represented in a matrix of 3×N size in each frame, where 3 indicates the number of dimensions and N indicates the total number of subdivision vertices. A subdivision level is defined for each subdivision vertex.
[0026] The bypass arithmetic decoding unit 205A decodes the original value depending on which section on the number line the input binary decimal falls within.
[0027] The bypass arithmetic decoding unit 205A defines a number line from 0 to 1, and divides the interval according to the occurrence probability of two values (hereinafter, referred to as a context value) for use.
[0028] Here, the bypass arithmetic decoding unit 205A may bypass updating the context value by always fixing the context value to 0.5. Bypassing updating the context value enables high-speed decoding.
[0029] The bypass arithmetic decoding unit 205A may set, for each syntax element, whether or not to bypass updating of the context value.
[0030] Furthermore, the bypass arithmetic decoding unit 205A may update the context value every time one bit is decoded.
[0031] The bypass arithmetic decoding unit 205A may use an update table that updates the context value slightly when a symbol with a high probability of occurrence of 0 or 1 occurs, and updates the context value significantly when a symbol with a low probability of occurrence occurs.
[0032] Furthermore, the bypass arithmetic decoding unit 205A may perform arithmetic decoding using a plurality of types of context values.
[0033] For example, the context value may be divided and defined for each dimension, may be divided and defined for each subdivision level, or may be divided and defined for each syntax.
[0034] As described above, the bypass arithmetic decoding unit 205A may generate coefficient level values based on binary arithmetic decoding, or may generate coefficient level values based on multi-value arithmetic decoding such as RangeCoder.
[0035] The inverse quantization unit 205B is configured to perform inverse quantization on the received coefficient level values to generate and output first transform coefficients.
[0036] The first inverse transform unit 205C is configured to perform a first inverse transform on the received first transform coefficients, thereby generating and outputting a prediction residual.
[0037] For example, the first inverse transform unit 205C may perform the first inverse transform using an inverse DCT, or may perform the first inverse transform using an inverse wavelet transform.
[0038] In this way, by performing inverse transformation after inverse quantization, it becomes possible to perform transformation before quantization during encoding, and this is expected to improve encoding efficiency.
[0039] The adder 205D is configured to obtain the predictive transform coefficients from the inter prediction unit 205F and the predictive residuals from the first inverse transform unit, and to add the two together to generate and output the second transform coefficients.
[0040] The generated second transform coefficients are output to the second inverse transform unit 205G and the frame buffer 205E.
[0041] The frame buffer 205E is configured to obtain and store the second transform coefficients from the adder 205D. The frame buffer 205E is also configured to obtain and store the prediction residuals from the first inverse transform unit 205C as the second transform coefficients.
[0042] The frame buffer 205E is configured to output second transform coefficients at corresponding vertices in the reference frame in response to control information (not shown).
[0043] The inter prediction unit 205F is configured to perform inter prediction using the second transform coefficients of the reference frame read from the frame buffer 205E, thereby generating and outputting predicted transform coefficients.
[0044] For example, the inter prediction unit 205E may determine the predictive transform coefficients of each frequency in the current frame by directly referring to the second transform coefficients of the corresponding frequency in the reference frame.
[0045] In this way, by performing inter prediction after inverse quantization, it becomes possible to perform inter prediction before quantization at the time of encoding, and an improvement in encoding efficiency can be expected.
[0046] The second inverse transform unit 205G is configured to perform a second inverse transform on the received second transform coefficients (or prediction residuals) to generate and output a decoded displacement amount.
[0047] For example, the second inverse transform unit 205G may perform the second inverse transform using an inverse DCT, or may perform the second inverse transform using an inverse wavelet transform.
[0048] (Structure of Displacement Bit Stream) Hereinafter, an example of the configuration of a displacement amount bit stream will be described with reference to FIGS.
[0049] In Fig. 5 to Fig. 7, the Descriptor column indicates how each syntax is coded. In Fig. 5 to Fig. 7, u(v) indicates an unsigned variable-length code, ue(v) indicates an unsigned variable-length zeroth-order exponential Golomb code, and u(n) indicates an n-bit code.
[0050] FIG. 4 is a diagram showing an example of the configuration of a displacement amount bit stream.
[0051] As shown in FIG. 4, first, the displacement bit stream may include a Displacement Parameter Set (DPS) which is a set of control information related to decoding of the displacement.
[0052] Secondly, the displacement bitstream may include a Displacement Frame Header (DFH), which is a collection of control information corresponding to a frame.
[0053] Thirdly, the displacement bitstream may include, following the DFH, a Displacement Data Unit (DDU), which is an encoded displacement corresponding to a frame.
[0054] FIG. 5 is a diagram showing an example of a syntax configuration of a DPS.
[0055] The DPS may include a flag (transform_enabled_flag) that controls whether or not to perform the transformation. For example, it may be defined that the transformation is performed when the transform_enabled_flag is 1, and that the transformation is not performed when the transform_enabled_flag is 0.
[0056] FIG. 6 is a diagram showing an example of a syntax configuration of the DFH.
[0057] The DFH may include a frame type (frame_type). For example, when frame_type is 1, it may be defined that inter prediction is performed in the corresponding frame, and when frame_type is 0, it may be defined that inter prediction is not performed in the corresponding frame.
[0058] FIG. 7 is a diagram showing an example of a syntax configuration of the DDU.
[0059] The DDU may include a flag indicating whether the coefficient level value is significant (sig_coeff_flag), a flag indicating whether the absolute value of the coefficient level value is 2 or greater (coeff_abs_level_greater1_flag), a flag indicating the positive or negative sign of the coefficient level value (coeff_sign_flag), and the absolute value of the coefficient level value (coeff_abs_level_remaining).
[0060] (Operation of the Displacement Amount Decoding Unit 205) An example of the operation of the displacement amount decoding unit 205 will be described below with reference to Fig. 8. Fig. 8 is a diagram showing an example of the operation of the displacement amount decoding unit 205.
[0061] In step S101, the bypass arithmetic decoding unit 205A generates coefficient level values by performing bypass arithmetic decoding.
[0062] In step S102, the inverse quantization unit 205B generates first transform coefficients by performing inverse quantization.
[0063] In step S103, the first inverse transform unit 205C determines whether or not transform_enabled_flag is 1. If Yes, the operation proceeds to step S104, and if No, the operation proceeds to step S105.
[0064] In step S104, the first inverse transform unit 205C generates a prediction residual by performing a first inverse transform.
[0065] In step S105, the inter prediction unit 205F determines whether or not frame_type is 1. If Yes, the operation proceeds to step S106, and if No, the operation proceeds to step S107.
[0066] In step S106, the inter prediction unit 205F and the adder 205D perform inter prediction to generate predictive transform coefficients, and then add the predictive transform coefficients to the predictive residuals to generate second transform coefficients.
[0067] In step S107, the second inverse transform unit 205G generates a decoded displacement amount by performing a second inverse transform.
[0068] In step S108, the bypass arithmetic decoding unit 205A determines whether the currently processed frame is the final frame or not If Yes, this operation ends, and if No, this operation proceeds to step S109.
[0069] In step S109, the bypass arithmetic decoding unit 205A proceeds to processing the next frame.
[0070] According to the mesh decoding device 200 of this embodiment, by performing inverse quantization immediately after bypass arithmetic decoding, and then performing inverse transform and inter prediction, it becomes possible to perform inverse transform and inter prediction before quantization during encoding, thereby improving encoding efficiency.
[0071] The above-mentioned mesh encoding device 100 and mesh decoding device 200 may be realized as a program that causes a computer to execute each function (each step). [Industrial Applicability]
[0072] According to this embodiment, for example, it is possible to improve the overall service quality in video communication, which makes it possible to contribute to Goal 9 of the Sustainable Development Goals (SDGs) led by the United Nations, which is to "build resilient infrastructure, promote sustainable industrialization and foster innovation." [Explanation of symbols]
[0073] 1. Mesh processing system 100...Mesh coding device 200…Mesh decoding unit 201…Demultiplexer 202...Basic mesh decoding unit 203…Subdivision part 204…Mesh decoding unit 205...Displacement amount decoding unit 205A...Arithmetic decoding unit with bypass 205B...Inverse quantization section 205C…First inverter 205D…Adder 205E…Frame buffer 205F…Inter prediction section 205G…Second inverter 206...Video decoding section
Claims
1. A mesh decoding device, comprising: a displacement amount decoding unit configured to decode the displacement amount bitstream to generate and output the displacement amount; The displacement amount decoding unit a bypass arithmetic decoding unit configured to generate coefficient level values by performing bypass arithmetic decoding on the displacement bitstream; an inverse quantization unit configured to perform inverse quantization on the coefficient level values to generate first transform coefficients; an adder configured to generate second transform coefficients by adding the predicted transform coefficients and the prediction residual; a frame buffer configured to receive and store the second transform coefficients output from the adder; an inter prediction unit configured to generate the predicted transform coefficients by performing inter prediction using the second transform coefficients of a reference frame read from the frame buffer; a second inverse transform unit configured to generate decoded displacements by performing a second inverse transform on the second transform coefficients.
2. The mesh decoding device according to claim 1 , further comprising a first inverse transform unit immediately following the inverse quantization unit, the first inverse transform unit being configured to perform a first inverse transform on the first transform coefficients to generate the prediction residuals.
3. The mesh decoding device according to claim 1 , wherein the bypass arithmetic decoding unit is configured to set whether or not to bypass updating of a context value for each syntax.
4. A mesh decoding method, comprising: Decoding the displacement bitstream to generate and output a displacement, The process comprises: A step A of generating coefficient level values by performing bypass arithmetic decoding on the displacement bitstream; a step B of generating first transform coefficients by performing inverse quantization on the coefficient level values; a step C of generating second transform coefficients by adding the predictive transform coefficients and the prediction residual; a step D of acquiring the second transform coefficients generated by the step C and storing them in a frame buffer; A step E of generating the predicted transform coefficients by performing inter prediction using the second transform coefficients of the reference frame read from the frame buffer; F. generating decoded displacements by performing a second inverse transform on the second transform coefficients.
5. A program for causing a computer to function as a mesh decoding device, comprising: The mesh decoding device comprises a displacement decoding unit configured to decode a displacement bitstream to generate and output a displacement, The displacement amount decoding unit a bypass arithmetic decoding unit configured to generate coefficient level values by performing bypass arithmetic decoding on the displacement bitstream; an inverse quantization unit configured to perform inverse quantization on the coefficient level values to generate first transform coefficients; an adder configured to generate second transform coefficients by adding the predicted transform coefficients and the prediction residual; a frame buffer configured to receive and store the second transform coefficients output from the adder; an inter prediction unit configured to generate the predicted transform coefficients by performing inter prediction using the second transform coefficients of a reference frame read from the frame buffer; a second inverse transform unit configured to generate a decoding displacement by performing a second inverse transform on the second transform coefficients.
Citation Information
Patent Citations
Method and apparatus for encoding and decoding video signal by means of transform-domain prediction
US20180063552A1
