Image decoding apparatus, image decoding method, and program product
By applying overlapping block motion compensation and weighted averaging to the decoding target blocks of the geometric segmentation mode in the image decoding device, the problems of insufficient coding performance of the GPM mode and the lack of specification in OBMC application are solved, thereby improving prediction accuracy and optimizing coding performance.
Patent Information
- Application Number
- CN202280055358.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-08-18
- Filing Date
- 2022-08-03
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-08-03
AI Technical Summary
In the existing technology, there is room for improvement in the coding performance of GPM mode, and the application method of GPM in intra-frame prediction by OBMC is not specified, resulting in insufficient prediction accuracy.
In an image decoding device, overlapping block motion compensation is applied to the sub-blocks facing the block boundary of the decoding target block in a geometric segmentation pattern consisting of inter-frame prediction or intra-frame prediction. The final predicted pixel is generated by combining the weighted average of the inter-frame prediction unit and the intra-frame prediction unit.
It improves the prediction accuracy of image decoding, optimizes encoding performance, and reduces the increase in processing execution and memory bandwidth.
Smart Images

Figure CN117795955B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to an image decoding device, an image decoding method, and a program product. Background Technology
[0002] Non-patent literature 1 discloses a GPM (Geometric Partitioning Mode).
[0003] GPM divides the rectangular block into two at an angle and performs motion compensation on each. Specifically, in GPM, the two segmented regions are motion compensated using motion vectors from a fusion pattern and then synthesized through a weighted average. Sixty-four patterns are prepared as the angled segmentation patterns, depending on the angle and position.
[0004] Non-patent document 2 discloses an OBMC (Overlapped Block Motion Compensation).
[0005] When there is a predicted block that performs motion compensation with a different motion vector than the target block adjacent to the motion compensation target block, OBMC expands the reference region of the adjacent block by a predetermined amount across the block boundary of the target block, and performs a weighted average of the reference region of the target block and the expanded reference region of the adjacent block.
[0006] Existing technical documents Patent documents Non-patent literature 1: ITU-T H.266 / VVC Non-patent literature 2: JVET-U0100, "Compression efficiency methods beyond VVC" Summary of the Invention
[0007] The problem that the invention aims to solve However, the GPM disclosed in Non-Patent Document 1 is limited to a fusion mode, thus having the potential for improvement in coding performance.
[0008] Furthermore, while Non-Patent Document 2 discloses an OBMC, it does not specify a method for applying OBMC to GPM. This raises the issue that performance could be improved if OBMC could be appropriately applied to GPM that includes intra-frame prediction.
[0009] Therefore, the present invention was made in view of the above-mentioned problems, and its object is to provide an image decoding apparatus, image decoding method and program that can be expected to improve prediction accuracy by specifying an application method of OBMC to GPM.
[0010] Methods for solving problems The first technical solution of the present invention is an image decoding device, the main feature of which is: a synthesis unit configured to apply overlapping block motion compensation to sub-blocks facing the block boundary of a decoding target block that is subjected to a geometric segmentation pattern composed of inter-frame prediction or intra-frame prediction.
[0011] The second technical solution of the present invention is an image decoding apparatus, the main feature of which includes: an inter-frame prediction unit configured to apply overlapping block motion compensation to a sub-block of a decoding target block facing the block boundary, wherein the prediction type is inter-frame prediction, for which a geometric segmentation mode composed of inter-frame prediction or intra-frame prediction is applied; an intra-frame prediction unit configured not to apply the overlapping block motion compensation to the sub-block of the sub-block facing the block boundary, wherein the prediction type is intra-frame prediction; and a synthesis unit configured to perform a weighted average of motion-compensated pixels output from the inter-frame prediction unit after applying the overlapping block motion compensation and intra-frame prediction pixels output from the intra-frame prediction unit without applying the overlapping block motion compensation, to generate the final predicted pixels of the decoding target block.
[0012] The third technical solution of the present invention is an image decoding apparatus, the main feature of which is that it comprises: an inter-frame prediction unit configured to generate motion-compensated pixels constituting a decoding target block applying a geometric segmentation pattern composed of inter-frame prediction or intra-frame prediction; and an intra-frame prediction unit configured to generate intra-frame prediction pixels constituting the decoding target block and output them to the inter-frame prediction unit, wherein the inter-frame prediction unit is configured to perform a weighted average of the generated motion-compensated pixels or the intra-frame prediction pixels output from the intra-frame prediction unit and synthesize the prediction pixels of the decoding target block, and apply overlapping motion compensation to the sub-blocks of the decoding target block facing the block boundary.
[0013] The fourth technical solution of the present invention is an image decoding apparatus, the main feature of which is that it comprises: an inter-frame prediction unit configured to generate motion-compensated pixels constituting a decoding target block applying a geometric segmentation pattern composed of inter-frame prediction or intra-frame prediction; and an intra-frame prediction unit configured to generate intra-frame prediction pixels constituting the decoding target block and output them to the inter-frame prediction unit, wherein the inter-frame prediction unit determines whether to apply overlapping block motion compensation to sub-blocks facing the block boundary of the decoding target block, and weights and averages the intra-frame prediction pixels output from the intra-frame prediction unit relative to the motion-compensated pixels to synthesize the prediction pixels of the decoding target block.
[0014] The fifth technical solution of the present invention is an image decoding method, the main point of which is to have the following steps: applying overlapping block motion compensation to the sub-blocks facing the block boundary of the decoding target block that are subjected to a geometric segmentation mode composed of inter-frame prediction or intra-frame prediction.
[0015] The sixth technical solution of the present invention is a program whose main purpose is to enable a computer to function as an image decoding device, wherein the image decoding device has a synthesis unit configured to apply overlapping block motion compensation to sub-blocks facing the block boundary of a decoding target block that applies a geometric segmentation pattern composed of inter-frame prediction or intra-frame prediction.
[0016] Invention Effects According to the present invention, an image decoding apparatus, image decoding method, and program are provided that can be expected to improve prediction accuracy by specifying an application method of OBMC to GPM. Attached Figure Description
[0017] Figure 1 This is a diagram illustrating an example of the structure of an image processing system according to one embodiment.
[0018] Figure 2 This is a diagram illustrating an example of the functional blocks of an image encoding apparatus 100 according to one embodiment.
[0019] Figure 3 This is a diagram illustrating an example of the functional blocks of an image decoding apparatus 200 according to one embodiment.
[0020] Figure 4 This is a diagram illustrating an example of a rectangular decoding target block being divided into two geometrically shaped segmented regions A and B by the segmentation lines of the geometric segmentation pattern disclosed in Non-Patent Document 1.
[0021] Figure 5 This illustrates an example of an application method for the intra-frame prediction mode of GPM as described in this embodiment.
[0022] Figure 6 This illustrates an example of an application method for the intra-frame prediction mode of GPM as described in this embodiment.
[0023] Figure 7 This is an example of a graph representing the weight coefficient w of the predicted pixels of GPM relative to each segmented region A / B.
[0024] Figure 8 This is a diagram representing an example of angleIdx, which specifies the angle of the dividing line of the GPM.
[0025] Figure 9 This is a diagram representing an example of disLut.
[0026] Figure 10 This is a diagram illustrating an example of applying OBMC to the top and left side block boundaries of a motion-compensated rectangular decoding target block using the OBMC disclosed in Non-Patent Document 2.
[0027] Figure 11 This is a flowchart illustrating an example of the operation of the inter-frame prediction unit 241.
[0028] Figure 12 This illustrates an example of applying OBMC to a block using GPM in this implementation.
[0029] Figure 13 This is a diagram showing an example of the functional block of the synthesis unit 243 involved in method 1 (structure 1).
[0030] Figure 14 This is a diagram illustrating an example of a functional block of the inter-frame prediction unit 241 involved in method 2 (structure 2).
[0031] Figure 15 This is a diagram illustrating an example of a functional block of the image encoding device 100 involved in method 3 (structure 3) or method 4 (structure 4).
[0032] Figure 16 This is a diagram illustrating an example of a functional block of the image decoding device 200 involved in method 3 (structure 3) or method 4 (structure 4).
[0033] Figure 17 This is a diagram showing an example of the functional block of the synthesis unit 243 involved in method 3 (structure 3).
[0034] Figure 18 This is a diagram showing an example of a functional block of the inter-frame prediction unit 241 involved in method 4 (structure 4).
[0035] Symbol Explanation 10: Image processing system; 100: Image encoding device; 111, 241: Inter-frame prediction unit; 112, 242: Intra-frame prediction unit; 113, 243: Synthesis unit; 121: Subtractor; 122, 230: Adder; 131: Transform / quantization unit; 132, 220: Inverse transform / inverse quantization unit; 140: Encoding unit; 150, 250: Loop filtering unit; 160, 260: Frame buffer; 200: Image decoding device; 210: Decoding unit; 241A: MV derivation unit; 241B: MC unit; 241C: OBMC unit; 243A: Predicted pixel synthesis unit; 243B: OBMC unit. Detailed Implementation
[0036] The following is for reference only. Figure 1The embodiments of the present invention will be described below. Furthermore, the constituent elements in the following embodiments can be appropriately replaced with existing constituent elements, and various modifications, including combinations with other existing constituent elements, are possible. Therefore, the scope of the technical solutions described in the claims is not limited based on the following description of the embodiments.
[0037] <First Implementation Method> The following is for reference. Figures 1-15 The image processing system 10 according to the first embodiment of the present invention will be described. Figure 1 This is a diagram illustrating the image processing system 10 according to this embodiment.
[0038] (Image Processing System 10) like Figure 1 As shown, the image processing system 10 according to this embodiment includes an image encoding device 100 and an image decoding device 200.
[0039] The image encoding device 100 is configured to generate encoded data by encoding an input image signal (image). The image decoding device 200 is configured to generate an output image signal by decoding the encoded data.
[0040] Here, the encoded data can be transmitted from the image encoding device 100 to the image decoding device 200 via a transmission path. Alternatively, the encoded data can also be provided from the image encoding device 100 to the image decoding device 200 after being stored in a storage medium.
[0041] (Image encoding device 100) The following is for reference. Figure 2 The image encoding apparatus 100 involved in this embodiment will be described. Figure 2 This diagram illustrates an example of the functional blocks of the image encoding apparatus 100 according to this embodiment.
[0042] like Figure 2 As shown, the image encoding apparatus 100 includes an inter-frame prediction unit 111, an intra-frame prediction unit 112, a synthesis unit 113, a subtractor 121, an adder 122, a transform / quantization unit 131, an inverse transform / inverse quantization unit 132, an encoding unit 140, a loop filtering processing unit 150, and a frame buffer 160.
[0043] The inter-frame prediction unit 111 is configured to generate an inter-frame prediction signal through inter-frame prediction.
[0044] Specifically, the inter-frame prediction unit 111 is configured to identify the reference block contained in the reference frame by comparing the encoded target frame (target frame) with the reference frame stored in the frame buffer 160, and to determine the motion vector (MV) for the specific reference block. Here, the reference frame is a frame different from the target frame.
[0045] Furthermore, the inter-frame prediction unit 111 is configured to generate an inter-frame prediction signal contained in a coded target block (hereinafter, target block) based on a reference block and a motion vector.
[0046] Furthermore, the inter-frame prediction unit 111 is configured to output the inter-frame prediction signal to the synthesis unit 113.
[0047] In addition, although Figure 2 Although not shown in the figure, the inter-frame prediction unit 111 is configured to output information related to the control of inter-frame prediction (specifically, information such as inter-frame prediction mode, motion vector, reference frame list, and reference frame number) to the coding unit 140.
[0048] The intra-frame prediction unit 112 is configured to generate an intra-frame prediction signal through intra-frame prediction.
[0049] Specifically, the intra-frame prediction unit 112 is configured as a reference block contained in a specific target frame, and generates an intra-frame prediction signal based on the specific reference block and the target block. Here, the reference block is a block that references the target block. For example, the reference block is a block adjacent to the target block.
[0050] In addition, the intra-frame prediction unit 112 is configured to output the intra-frame prediction signal to the synthesis unit 113.
[0051] In addition, although Figure 2 Although not shown in the figure, the intra-prediction unit 112 is configured to output information related to the control of intra-prediction (specifically, information such as intra-prediction mode) to the coding unit 140.
[0052] The synthesis unit 113 is configured to synthesize the inter-frame prediction signal input from the inter-frame prediction unit 111 and / or the intra-frame prediction signal input from the intra-frame prediction unit 112 using preset weighting coefficients, and output the synthesized prediction signal (hereinafter collectively referred to as the prediction signal) to the subtractor 121 and the adder 122.
[0053] Here, the synthesis processing of inter-frame prediction signals and / or intra-frame prediction signals of the synthesis unit 113 can also be performed using the same structure as in Non-Patent Document 1 in this embodiment, so the description is omitted.
[0054] Subtractor 121 is configured to subtract the prediction signal from the input image signal and output the prediction residual signal to the transform / quantization unit 131. Here, subtractor 121 is configured to generate the prediction residual signal, which is the difference between the prediction signal generated by intra-frame prediction or inter-frame prediction and the input image signal.
[0055] Adder 122 is configured to add the prediction signal output from synthesis unit 113 to the prediction residual signal output from inverse transform / inverse quantization unit 132 to generate a pre-filtering decoded signal, and output the pre-filtering decoded signal to intra-frame prediction unit 112 and loop filtering unit 150.
[0056] Here, the decoded signal before filtering constitutes a reference block used by the intra-frame prediction unit 112.
[0057] The transform / quantization unit 131 is configured to perform transform processing on the prediction residual signal and obtain coefficient level values. Furthermore, the transform / quantization unit 131 can also be configured to perform quantization on the coefficient level values.
[0058] Here, the transformation process is the process of transforming the predicted residual signal into a frequency component signal. As the transformation process, a basis pattern (transformation matrix) corresponding to the Discrete Cosine Transform (DCT) or a basis pattern (transformation matrix) corresponding to the Discrete Sine Transform (DST) can be used.
[0059] Alternatively, as a transformation process, the deviations of coefficients suitable for predicting residual signals disclosed in Non-Patent Document 1, which can be selected from multiple transformation bases in a horizontal / vertical direction, can also be used, as well as the coding performance improved by concentrating the transformation coefficients after a single transformation in a lower frequency region.
[0060] The inverse transform / inverse quantization unit 132 is configured to perform inverse transform processing on the coefficient level values output from the transform / quantization unit 131. Alternatively, the inverse transform / inverse quantization unit 132 may be configured to perform inverse quantization of the coefficient level values before the inverse transform processing.
[0061] Here, the inverse transformation processing and inverse quantization are performed in the opposite manner to the transformation processing and quantization performed by the transformation / quantization unit 131.
[0062] The encoding unit 140 is configured to encode the coefficient level values output from the transform / quantize unit 131 and output the encoded data.
[0063] Here, for example, the encoding is entropy encoding, which assigns codes of different lengths based on the probability of occurrence of coefficient hierarchy values.
[0064] In addition, the encoding unit 140 is configured to encode control data used by the decoding process, in addition to coefficient level values.
[0065] Here, the control data may include block size-related information (flags or indexes) such as coded block size, predicted block size, and transformed block size.
[0066] In addition, the control data may also include information (flags or indexes) required for control, such as the inverse transform / inverse quantization processing of the inverse transform / inverse quantization unit 220, the inter-frame prediction signal generation processing of the inter-frame prediction unit 241, the intra-frame prediction signal generation processing of the intra-frame prediction unit 242, the inter-frame prediction signal and / or intra-frame prediction signal synthesis processing of the synthesis unit 243, and the filtering processing of the loop filtering unit 250 in the image decoding apparatus 200 described later.
[0067] Furthermore, in Non-Patent Document 1, these control data are referred to as syntax, and their definition is referred to as semantics.
[0068] In addition, control data may also include header information such as Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Picture Header (PH), and Slice Header (SH), which will be described later.
[0069] The loop filtering processing unit 150 is configured to filter the decoded signal before filtering output from the adder 122 and output the decoded signal after filtering to the frame buffer 160.
[0070] Here, for example, the filtering process is a deblocking filter process that reduces distortion generated at the boundary portions of blocks (coding blocks, prediction blocks, or transform blocks) or an adaptive cyclic filtering process that switches filters based on filter coefficients, filter selection information, local properties of the image's graphics, etc., transmitted from the image coding device 100.
[0071] The frame buffer 160 is configured to accumulate reference frames used by the inter-frame prediction unit 111.
[0072] Here, the filtered decoded signal constitutes a reference frame used by the inter-frame prediction unit 111.
[0073] (Image decoding device 200) The following is for reference. Figure 3 The image decoding apparatus 200 involved in this embodiment will be described. Figure 3 This diagram illustrates an example of the functional blocks of the image decoding apparatus 200 according to this embodiment.
[0074] like Figure 3 As shown, the image decoding apparatus 200 includes a decoding unit 210, an inverse transform / inverse quantization unit 220, an adder 230, an inter-frame prediction unit 241, an intra-frame prediction unit 242, a synthesis unit 243, a loop filtering processing unit 250, and a frame buffer 260.
[0075] The decoding unit 210 is configured to decode the encoded data generated by the image encoding device 100 and to decode the coefficient level values.
[0076] Here, decoding is, for example, the entropy decoding step, which is the opposite of the entropy encoding step performed by the encoding unit 140.
[0077] Alternatively, the decoding unit 210 may be configured to obtain control data through decoding of encoded data.
[0078] Here, the control data may include information related to the block size of the aforementioned decoding block (which has the same meaning as the encoding target block of the image encoding device 100 described above. Hereinafter, they are collectively referred to as the target block).
[0079] In addition, the control data may also include information (flags or indexes) required for control, such as the inverse transformation / inverse quantization processing of the inverse transformation / inverse quantization unit 220, the prediction pixel generation processing of the inter-frame prediction unit 241 and the intra-frame prediction unit 242, and the filtering processing of the loop filtering unit 250.
[0080] In addition, control data may also include header information such as the sequence parameter set (SPS), picture parameter set (PPS), picture header (PH), and slice header (SH).
[0081] The inverse transform / inverse quantization unit 220 is configured to perform inverse transform processing on the coefficient level values output from the decoding unit 210. Alternatively, the inverse transform / inverse quantization unit 220 may be configured to perform inverse quantization of the coefficient level values before the inverse transform processing.
[0082] Here, the inverse transformation processing and inverse quantization are performed in the opposite manner to the transformation processing and quantization performed by the transformation / quantization unit 131.
[0083] Similar to the inter-frame prediction unit 111, the inter-frame prediction unit 241 is configured to generate an inter-frame prediction signal through inter-frame prediction.
[0084] Specifically, the inter-frame prediction unit 241 is configured to generate an inter-frame prediction signal based on the motion vector decoded from the encoded data and the reference signal contained in the reference frame. The inter-frame prediction unit 241 is configured to output the inter-frame prediction signal to the synthesis unit 243.
[0085] Similar to the intra-frame prediction unit 112, the intra-frame prediction unit 242 is configured to generate an intra-frame prediction signal through intra-frame prediction.
[0086] Specifically, the intra-prediction unit 242 is configured to be a reference block contained in a specific target frame, and generates an intra-prediction signal according to the specific reference block. The intra-prediction unit 242 is configured to output the intra-prediction signal to the synthesis unit 243.
[0087] Similar to the synthesis unit 113, the synthesis unit 243 is configured to synthesize the inter-frame prediction signal input from the inter-frame prediction unit 241 and / or the intra-frame prediction signal input from the intra-frame prediction unit 242 using preset weighting coefficients, and output the synthesized prediction signal (hereinafter collectively referred to as the prediction signal) to the adder 230.
[0088] The adder 230 is configured to add the prediction signal output from the synthesis unit 243 to the prediction residual signal output from the inverse transform / inverse quantization unit 220 to generate a pre-filtering decoded signal, and output the pre-filtering decoded signal to the loop filtering unit 250.
[0089] Here, the decoded signal before filtering constitutes a reference block used by the intra-frame prediction unit 242.
[0090] Similar to the loop filtering processing unit 150, the loop filtering processing unit 250 is configured to filter the decoded signal before filtering output from the adder 230, and output the decoded signal after filtering to the frame buffer 260.
[0091] Here, for example, the filtering process is a deblocking filter process that reduces distortion at the boundary portions of blocks (coding blocks, prediction blocks, transform blocks, or sub-blocks into which these are divided) or an adaptive cyclic filtering process that switches filters based on filter coefficients, filter selection information, local properties of the image's graphics, etc., transmitted from the image coding device 100.
[0092] Similar to frame buffer 160, frame buffer 260 is configured to accumulate reference frames used by inter-frame prediction unit 241.
[0093] Here, the filtered decoded signal constitutes a reference frame used by the inter-frame prediction unit 241.
[0094] (Geometric segmentation mode) The following uses Figures 4-6 The geometric segmentation mode (GPM) disclosed in Non-Patent Document 1, which relates to the decoding unit 210, the inter-frame prediction unit 241, and the intra-frame prediction unit 242, and the first and second methods for applying the intra-frame prediction mode to the geometric segmentation mode (GPM) will be described.
[0095] Figure 4 This represents an example of a rectangular decoding target block being divided into two geometrically shaped segmented regions A and B by the segmentation line L of the geometric segmentation pattern disclosed in Non-Patent Document 1.
[0096] Here, the dividing line L of the geometric division pattern disclosed in Non-Patent Document 1 is prepared with 64 patterns according to the angle and position.
[0097] In addition, the GPM described in Non-Patent Document 1 applies a common fusion mode as a type of inter-frame prediction to segmented regions A and B respectively, and generates inter-frame prediction (motion compensation) pixels.
[0098] Specifically, in the GPM, a fusion candidate list disclosed in Non-Patent Document 1 is constructed. Based on the fusion candidate list and two fusion indices (merge_gpm_idx0, merge_gpm_idx1) relative to each segmented region A / B transmitted from the image encoding device 100, motion vectors (mvA, mvB) and reference frames of each segmented region A / B are derived, and reference blocks, i.e., inter-frame prediction (or motion compensation) blocks, are generated. Finally, the inter-frame prediction pixels of each segmented region A / B are synthesized by weighted averaging through pre-set weights.
[0099] Figure 5 and Figure 6 This represents an example of an application method for GPM to apply intra-frame prediction mode.
[0100] Specifically, Figure 5 This represents a structural example of GPM when intra-frame prediction (modeX) and inter-frame prediction are applied to each segmented region A / B. Figure 6 This represents a structural example of GPM when two different intra-frame predictions (modeX, modeY) are applied to each segmented region A / B.
[0101] Here, in Figure 5In the GPM shown, either the usual fusion mode or the intra-prediction mode can be applied to each segmented region A / B, and the type of intra-prediction mode is determined by the segmentation shape (segmentation line) of the target block.
[0102] In addition, Figure 5 and Figure 6 In the GPM example shown, a specific method is used to specify whether the decoded target block can apply the GPM with additional intra-prediction mode and the prediction mode types for each segmented region A / B when applying the GPM.
[0103] Therefore, by adding the intra-prediction mode to the GPM and appropriately applying it to the decoding target block, and by specifying the optimal prediction mode, further improvements in coding performance can be achieved.
[0104] (Weighting factor of GPM) The following uses Figure 7 The weighting coefficients w of GPM involved in the decoding unit 210, inter-frame prediction unit 241, intra-frame prediction unit 242 and synthesis unit 243 are explained. Figure 7 This is an example of a graph representing the weight coefficient w of the predicted pixels of GPM relative to each segmented region A / B.
[0105] The predicted pixels of each segmented region A / B generated by the inter-frame prediction unit 241 or the intra-frame prediction unit 242 are synthesized (weighted average) in the synthesis unit 243 by weighting coefficient w.
[0106] In Non-Patent Document 1, the weighting coefficient w is used with values from 0 to 8. In this embodiment, the weighting coefficient w can also be used. Here, weighting coefficient w values of 0 and 8 represent non-blending regions, and weighting coefficient w values of 1 to 7 represent blending regions.
[0107] Furthermore, in this embodiment, the weight coefficient w can be calculated using the same method as in Non-Patent Document 1, which is configured to be based on the offset values (offsetX, offsetY) calculated from the pixel positions (xL, yL) and the target block size. Figure 8 The displacements (diplacementX, displacementY) shown are calculated from the angleIdx of the dividing line of the specified geometric division pattern (GPM). Figure 9 The table value disLut, calculated from displacementX and displacementY, is calculated in the following manner.
[0108] weightIdx=(((xL+offsetX)<<1)+1)×disLut[diplacementX]+(((yL+offsetY)<<1)+1)×disLut[diplacementY] weightIdxL=partFlip? 32+weightIdx:32-weightIdx w=Clip3 (0, 8, (weightIdxL+4)>>3) (Overlapping block motion compensation) The following uses Figure 10 and Figure 11 The overlapping block motion compensation (OBMC) disclosed in Non-Patent Document 2, which is involved in the decoding unit 210 and the inter-frame prediction unit 241, will be explained.
[0109] Figure 10 This illustrates an example of applying OBMC to the top and left-facing block boundaries of a rectangular decoding target block for motion compensation (MC) using the OBMC disclosed in Non-Patent Document 2.
[0110] Here, the application area of OBMC disclosed in Non-Patent Document 2 is not only Figure 10 The block boundaries on the top and left sides of the target block for decoding MC are shown. Specifically, when the target block for decoding is divided into sub-blocks and affine prediction of MC is performed using the sub-block units, the top, left, right, and bottom sides of the sub-blocks also become the application areas of OBMC.
[0111] In addition, such as Figure 10 As shown, the determination process of whether OBMC is applied and the application process of OBMC in the case of application of OBMC disclosed in Non-Patent Document 2 are implemented in units of 4×4 pixel sub-blocks (hereinafter, target sub-blocks).
[0112] Furthermore, in non-patent literature 2, such as Figure 11 As shown, the inter-frame prediction unit 241 determines whether to apply OBMC.
[0113] like Figure 11 As shown, in step S241-01, the inter-frame prediction unit 241 determines whether the prediction type of the target sub-block is Inter prediction (inter-frame prediction).
[0114] If the condition is met, the action proceeds to step S241-02. If the condition is not met, that is, if the prediction type of the target sub-block is determined to be Intra prediction, the action proceeds to step S241-03.
[0115] Furthermore, in step S241-03, the inter-frame prediction unit 241 determines that OBMC will not be applied in the target sub-block, and the operation ends.
[0116] In step S241-02, the inter-frame prediction unit 241 determines whether the obmc_flag of the target sub-block is 1.
[0117] If the condition is met, the action proceeds to step S241-04; if the condition is not met, i.e., if obmc_flag is 1, the action proceeds to step S241-05.
[0118] Furthermore, in step S241-05, the inter-frame prediction unit 241 determines that OBMC will not be applied in the target sub-block, and the operation ends.
[0119] Here, `obmc_flag` is a syntax indicating whether OBMC can be applied to the decoded target block unit. A value of 0 for `obmc_flag` indicates that OBMC is not applied, while a value of 1 indicates that OBMC is applied.
[0120] The value of obmc_flag, whether 0 or 1, is determined by the decoding unit 210 to obtain a specific value, or it is assumed to have no value and is not decoded.
[0121] The decoding method of obmc_flag and the specific and estimated methods for the value of obmc_flag are omitted in detail since they can adopt the same structure as non-patent document 2.
[0122] In step S241-04, the inter-frame prediction unit 241 determines whether the adjacent block that crosses the block boundary relative to the target sub-block has a motion vector (MV).
[0123] If the condition is met, the action proceeds to step S241-06; if the condition is not met, the action proceeds to step S241-07.
[0124] Furthermore, in step S241-07, the inter-frame prediction unit 241 determines that OBMC will not be applied in the target sub-block, and the operation ends.
[0125] In step S241-06, the inter-frame prediction unit 241 determines whether the difference between the MV of the target sub-block and the MV of the adjacent block is above a predetermined threshold.
[0126] If the condition is met, the action proceeds to step S241-08; if the condition is not met, the action proceeds to step S241-09.
[0127] Furthermore, in step S241-08, the inter-frame prediction unit 241 determines that OBMC should be applied in the target sub-block, and the operation ends. On the other hand, in step S241-09, the inter-frame prediction unit 241 determines that OBMC should not be applied in the target sub-block, and the operation ends.
[0128] Here, the threshold can be specified as a fixed value. For example, the threshold can be specified as 1 pixel.
[0129] Alternatively, a variable value corresponding to the number of MVs (Multi-Mount Values) of the target sub-block can be used as the specified threshold. For example, if the target sub-block has one MV, the specified threshold can be 1 pixel, and if the target sub-block has two MVs, the specified threshold can be 0.5 pixels.
[0130] With the above structure, in Non-Patent Document 2, relative to the case where the target sub-block with MV is limited to the case where the difference between the MV of the target sub-block and the adjacent block is large, by applying OBMC, the discontinuity of the block boundary between the target sub-block and the adjacent block (hereinafter, block boundary distortion) can be eliminated, and as a result, an improvement in prediction performance can be expected.
[0131] (Application examples and application control methods of OBMC relative to GPM) The following uses Figure 12 The application examples and application control methods of OBMC relative to GPM involved in the decoding unit 210, inter-frame prediction unit 241 and intra-frame prediction unit 242 will be explained.
[0132] Figure 10 This illustrates an application example of the OBMC relative to the block applying GPM in this embodiment. For example... Figure 10 As shown, based on the GPM's segmentation shape (segmentation line L), the target sub-blocks for which OBMC is applied have the following three maximum patterns.
[0133] Specifically, the first pattern has a target sub-block belonging to the segmented region A, the second pattern has a target sub-block belonging to the segmented region B, and the third pattern has target sub-blocks belonging to both the segmented regions A and B.
[0134] The target sub-blocks of the three patterns are further divided according to whether the prediction applied to segmented regions A and B is inter-frame prediction or intra-frame prediction.
[0135] Specifically, the target sub-blocks of the first and second patterns are divided into two cases: inter-frame prediction and intra-frame prediction.
[0136] On the other hand, the target sub-block of the third pattern is divided into three cases: two different inter-frame prediction cases, inter-frame prediction and intra-frame prediction cases, and two different intra-frame prediction cases.
[0137] Furthermore, in this embodiment, the target sub-block is set to have only one prediction type. Therefore, in the target sub-block of the third pattern, the prediction type of the target sub-block is determined by the combination of the two predictions constituting the target sub-block. Specifically, the prediction type composed of two different inter-frame predictions is treated as inter-frame prediction, the prediction type composed of inter-frame prediction and intra-frame prediction is treated as inter-frame prediction, and the prediction type composed of two different intra-frame predictions is treated as intra-frame prediction.
[0138] Regarding the target sub-blocks mentioned above that are targets for OBMC application and whose prediction type is intra-frame prediction, OBMC should be deemed unsuitable for application for the following reasons. The reason is that the predicted pixels of this target sub-block are generated by intra-frame prediction using reference pixels (reconstructed pixels) adjacent to the target sub-block. Therefore, the block boundary between the reference pixels and the generated predicted pixels is difficult to qualitatively produce block boundary distortion as in inter-frame prediction.
[0139] Based on the above reasons, in this embodiment, the application of OBMC is restricted (set to be unable to apply OBMC) for the target sub-blocks in the target sub-blocks that are the application targets of OBMC and whose prediction type is intra-frame prediction.
[0140] On the other hand, in this embodiment, the target sub-blocks that are the target of OBMC application and whose prediction type is inter-frame prediction are set to be able to apply OBMC.
[0141] Next, we will explain the method for generating the final predicted pixel by applying OBMC relative to GPM, considering whether the considerations involved in this embodiment are applicable.
[0142] (Consider whether the final predicted pixel generation method of OBMC can be applied relative to GPM) The following uses Figure 3 and Figures 13-18The method for generating the final predicted pixel by considering whether the inter-frame prediction unit 241, intra-frame prediction unit 242, and synthesis unit 243 of this embodiment can be applied relative to GPM will be explained.
[0143] [Method 1 (Structure 1)] In method 1 (structure 1), as follows Figure 13 As shown, Figure 3 The compositing unit 243 shown has a prediction pixel compositing unit 243A and an OBMC unit 243B.
[0144] The prediction pixel synthesis unit 243A is configured to synthesize motion compensation pixels (MC pixels) output from the inter-frame prediction unit 241 or the intra-frame prediction unit 242 with intra-frame prediction pixels and then output the prediction pixels to the OBMC unit 243B.
[0145] Furthermore, the prediction pixel synthesis unit 243A is configured to synthesize (weighted average) the prediction pixels output from the inter-frame prediction unit 241 or the intra-frame prediction unit 242 using the weighting coefficient w if the decoded target block is an applied GPM block.
[0146] The OBMC unit 243B is configured to determine whether the OBMC can be applied in the sub-block unit facing the block boundary of the decoded target block according to the OBMC application control method described above, based on the predicted pixels of the decoded target block output from the predicted pixel synthesis unit 243A, and output the final predicted pixels.
[0147] Based on the above structure, the following two effects can be expected.
[0148] First, OBMC can be appropriately applied to the block boundary-oriented sub-blocks of the decoding target block for which GPM is applied (specifically, OBMC can be applied to sub-blocks with a prediction type of inter-frame prediction, but not to sub-blocks with a prediction type of intra-frame prediction), thus as a result, an improvement in prediction performance can be expected.
[0149] However, this structural example has some of the following issues. Specifically, even for sub-blocks with inter-frame prediction as the prediction type, in the case of sub-blocks that originally had two prediction types—inter-frame prediction and intra-frame prediction—it is preferable to synthesize inter-frame prediction pixels and intra-frame prediction pixels after applying OBMC, rather than applying OBMC after synthesizing inter-frame prediction pixels and intra-frame prediction pixels. The reason is that, in the former case, OBMC is also applied to intra-frame prediction pixels that are unlikely to produce block boundary distortion with adjacent pixels, but this does not occur in the latter case. The method for generating the final prediction pixel to eliminate this issue will be described later as a variation of this structure.
[0150] Second, it determines whether OBMC can be applied to the predicted pixels synthesized by GPM (weighted average) and whether OBMC can be applied. Therefore, compared with the previous GPM, it can suppress the increase in the number of OBMC processing executions (processing stages) and the memory bandwidth required for OBMC execution to the minimum required.
[0151] Specifically, when applying a GPM block, there are a maximum of two inter-frame predictions, i.e., it consists of two MVs. Therefore, the worst-case (maximum) value of the reference region of the applied GPM block is the number of pixels in the reference region represented by these two MVs. On the other hand, when applying OBMC to the applied GPM block, it is necessary to add the reference region of the adjacent MVs. However, in this structure, since OBMC is applied to the predicted pixels synthesized (weighted average) by GPM, it is possible to avoid applying OBMC to the two maximum inter-frame predictions constituting the applied GPM block separately, thus avoiding an increase in the additional reference region caused by OBMC that is half the size of the pattern suppression. With the same idea, the number of processing executions (processing stages) can also be reduced relative to the number of OBMCs that are half the size of the pattern suppression.
[0152] [Method 2 (Structure 2)] Figure 14 It is possible to be Figure 13 The implementation considerations include whether the method (structure) for generating the final predicted pixels of OBMC can be modified relative to GPM.
[0153] In method 2 (structure 2), as follows Figure 14 As shown, the inter-frame prediction unit 241 includes an MV derivation unit 241A, an MC unit 241B, and an OBMC unit 241C.
[0154] The MV output unit 241A is configured to output the MV required for inter-frame prediction, including GPM, to the MC unit 241B based on the reference frame output from the frame buffer unit and the control data output from the decoding unit 210.
[0155] The MC unit 241B is configured to generate MC pixels and output them to the OBMC unit 241C based on the MV output from the MV derivation unit 241A and the reference frame output from the frame buffer unit.
[0156] The OBMC unit 241C is configured to determine whether OBMC can be applied to the MC pixels output from the MC unit 241B, and if OBMC can be applied, apply OBMC to generate the final motion-compensated pixels and output them to the subsequent synthesis unit 243.
[0157] Furthermore, the subsequent synthesis unit 243 of this structure is configured to synthesize motion-compensated pixels or intra-predicted pixels output from the inter-frame prediction unit 241 or the intra-frame prediction unit 242 without having the OBMC unit 243B shown in method 1 (structure 1).
[0158] That is, compared to the OBMC unit 243B mentioned above, the OBMC unit 241C can determine whether OBMC can be applied only for sub-blocks whose prediction type is inter-frame prediction.
[0159] By adopting Figure 14 The structure shown can be expected to be relative to Figure 13 The structure 1 shown further predicts performance improvements, but on the other hand, the memory bandwidth required by the OBMC and the number of OBMC processes executed increase.
[0160] Specifically, before the final predicted pixels of the GPM are generated by the synthesis unit 243, OBMC can be performed directly only on inter-frame predicted pixels. Therefore, even for sub-blocks whose prediction type is inter-frame prediction, OBMC can be omitted from the intra-frame predicted pixels of sub-blocks that originally had both inter-frame and intra-frame prediction types. Accordingly, it is possible to avoid situations where OBMC does not need to be applied to intra-frame predicted pixels that are unlikely to produce block boundary distortion with adjacent pixels, thus improving prediction performance.
[0161] On the other hand, before the final predicted pixel of GPM is generated by the synthesis unit 243, OBMC is directly performed only on the inter-frame predicted pixel. Therefore, compared with the above-described structure 1, the memory bandwidth required for OBMC and the processing execution of OBMC are increased several times.
[0162] [Method 3 (Structure 3)] use Figures 15-17 , for those who can be Figure 2 , Figure 3 and Figure 13 The implementation considerations include whether the final predicted pixel generation method of OBMC can be applied relative to GPM (Method 1) or whether it can be achieved by... Figure 2 , Figure 3 and Figure 14 Can the implementation considerations be explained as a modification of the final predicted pixel generation method (method 2) of GPM application OBMC, namely method 3 (structure 3)?
[0163] In method 3 (structure 3), such as Figure 15 As shown, relative to Figure 2 An additional intra-prediction unit 112 outputs lines of intra-predicted pixels to the inter-prediction unit 111. Therefore, although explained later, the inter-prediction unit 111 can generate the final predicted pixel, which is a weighted average of GPM. That is, the synthesis unit 113 in Method 1 (Structure 1) and Method 2 (Structure 2) described above is unnecessary.
[0164] Additionally, in method 3 (structure 3), such as Figure 16 As shown, relative to Figure 3An additional intra-prediction unit 242 outputs lines of intra-predicted pixels to the inter-prediction unit 241. Thus, although explained later, the inter-prediction unit 241 can generate the final predicted pixel, which is a weighted average of GPM. That is, the synthesis unit 243 in Method 1 (Structure 1) and Method 2 (Structure 2) described above is unnecessary.
[0165] In method 3 (structure 3), such as Figure 17 As shown, the inter-frame prediction unit 241 (111) has an MV derivation unit 241A, an MC unit 241B, a prediction pixel synthesis unit 243A, and an OBMC unit 241C.
[0166] Here, the MV export unit 241A and the MC unit 241B can adopt the same as... Figure 14 The MV output section 241A and MC section 241B shown have the same structure.
[0167] Furthermore, the predictive pixel synthesis unit 243A and the OBMC unit 243B can adopt the same... Figure 13 The predicted pixel compositing unit 243A and the OBMC unit 243B shown in the compositing unit 243 have the same structure.
[0168] Based on the above structure, the expected effect is the same as that of structure 1.
[0169] [Method 4 (Structure 4)] use Figure 15 , Figure 16 and Figure 18 , for those who can be Figure 2 , Figure 3 and Figure 13 The implementation considerations include whether the final predicted pixel generation method of OBMC can be applied relative to GPM (Method 1) or whether it can be achieved by... Figure 2 , Figure 3 and Figure 14 The implementation considerations can be explained by referring to a modified version of the final predicted pixel generation method (Method 2) of the GPM application OBMC, namely Method 4 (Structure 4). The following explanation will focus solely on the differences from the existing structure.
[0170] In method 4 (structure 4), such as Figure 18 As shown, the inter-frame prediction unit 241 (111) has an MV derivation unit 241A, an MC unit 241B, an OBMC unit 241C, and a prediction pixel synthesis unit 243A.
[0171] Here, the MV export unit 241A, MC unit 241B, and OBMC unit 241C can adopt the same as... Figure 14 The MV output section 241A, MC section 241B and OBMC section 241C shown have the same structure.
[0172] In addition, the predictive pixel synthesis unit 243A can be adopted with Figure 13 The composite unit 243 shown has the same structure as the prediction pixel composite unit 243A.
[0173] Based on the above structure, the expected effect is the same as that of structure 2.
[0174] The choice of any of the above structures 1 to 4 can be made according to the designer's intention, based on a trade-off between encoding performance or the limitations of the decoding processing capacity and memory bandwidth of the image decoding device 200.
[0175] The image encoding device 100 and the image decoding device 200 described above can be implemented by a program that causes a computer to execute each function (each process).
[0176] Furthermore, in the above embodiments, the present invention has been described as being applied to an image encoding device 100 and an image decoding device 200, but the present invention is not limited thereto, and can also be applied to image encoding systems and image decoding systems having the functions of an image encoding device 100 and an image decoding device 200.
[0177] Industrial availability Furthermore, according to this embodiment, for example, since it is possible to improve the overall quality of service in dynamic image communication, it can contribute to Goal 9 of the United Nations-led Sustainable Development Goals (SDGs): "Building resilient infrastructure, promoting sustainable industrialization and enabling expanded innovation."
Claims
1. An image decoding device, characterized in that, The image decoding device includes a synthesis unit, which is configured as follows: A geometric segmentation mode is applied, in which the decoded target block is obliquely segmented into segmented regions, and inter-frame prediction or intra-frame prediction is applied to each oblique segmented region in the oblique segmented region. Determine whether to apply overlapping block motion compensation to each of the multiple sub-blocks in the decoded target block. Each of the multiple sub-blocks faces the block boundary. The multiple sub-blocks include a sub-block completely located within a first tilted partition region, a sub-block completely located within a second tilted partition region, and a sub-block overlapping with two tilted partition regions within the tilted partition region. After applying the geometric segmentation mode, including inter-frame prediction or intra-frame prediction, to the decoded target block, the overlapping block motion compensation is applied to each sub-block that is determined to be subject to the overlapping block motion compensation.
2. The image decoding device according to claim 1, characterized in that, The sub-block is a sub-block of a block generated by weighted averaging of the geometric segmentation pattern.
3. The image decoding apparatus according to claim 1 or 2, characterized in that, The synthesis unit is configured to control whether to apply the overlapping block motion compensation to each of the plurality of sub-blocks based on the prediction type of the sub-block.
4. The image decoding apparatus according to claim 3, characterized in that, The synthesis unit is configured such that, The overlapping block motion compensation is determined to be applied to the sub-block whose prediction type is inter-frame prediction. If it is determined that the overlapping block motion compensation should not be applied to the sub-block whose prediction type is intra-frame prediction. Based on the determination result, the final predicted pixels of the decoded target block are generated.
5. An image decoding method, characterized in that, This image decoding method has the following characteristics: A geometric segmentation mode is applied, in which the decoded target block is obliquely segmented into segmented regions, and inter-frame prediction or intra-frame prediction is applied to each oblique segmented region in the oblique segmented region. Determine whether to apply overlapping block motion compensation to each of the multiple sub-blocks in the decoded target block, wherein each of the multiple sub-blocks faces the block boundary, and the multiple sub-blocks include a sub-block completely located in a first tilted segmentation region, a sub-block completely located in a second tilted segmentation region, and a sub-block overlapping with two tilted segmentation regions in the tilted segmentation region; and After applying the geometric segmentation mode, including inter-frame prediction or intra-frame prediction, to the decoded target block, the overlapping block motion compensation is applied to each sub-block that is determined to be subject to the overlapping block motion compensation.
6. A non-transitory computer-readable medium storing a program that causes a computer to perform the following functions: A geometric segmentation mode is applied, in which the decoded target block is obliquely segmented into segmented regions, and inter-frame prediction or intra-frame prediction is applied to each oblique segmented region in the oblique segmented region. Determine whether to apply overlapping block motion compensation to each of the multiple sub-blocks in the decoded target block, wherein each of the multiple sub-blocks faces the block boundary, and the multiple sub-blocks include a sub-block completely located in a first tilted segmentation region, a sub-block completely located in a second tilted segmentation region, and a sub-block overlapping with two tilted segmentation regions in the tilted segmentation region; and After applying the geometric segmentation mode, including inter-frame prediction or intra-frame prediction, to the decoded target block, the overlapping block motion compensation is applied to each sub-block that is determined to be subject to the overlapping block motion compensation.
Citation Information
Patent Citations
Method and device for video signal processing
US20200154128A1
