Intra prediction device, image encoding device, image decoding device, and program

The intra prediction device enhances prediction accuracy by combining directional and non-directional modes with weighted synthesis, addressing the distance-dependent accuracy issues in existing methods.

JP7537879B2Active Publication Date: 2024-08-21NIPPON HOSO KYOKAI
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2020020957
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-02-12
Filing Date
2020-02-10
Publication Date
2024-08-21
Estimated Expiration
2040-02-10

AI Technical Summary

Technical Problem

Existing intra prediction methods, particularly directional prediction, suffer from decreased accuracy as the distance from reference pixels increases, leading to suboptimal prediction performance for pixels farther away.

Method used

An intra prediction device that combines directional and non-directional prediction modes by applying weighted synthesis of generated images, where the weighting coefficients are determined based on the block size and shape, enhancing prediction accuracy.

Benefits of technology

Improves intra prediction accuracy by optimizing the contribution of directional and non-directional predictions based on block characteristics, resulting in better pixel prediction across varying distances from reference pixels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007537879000003
    Figure 0007537879000003
  • Figure 0007537879000004
    Figure 0007537879000004
  • Figure 0007537879000007
    Figure 0007537879000007
Patent Text Reader

Abstract

To further improve a prediction accuracy of an intra prediction by a prediction image composition method.SOLUTION: An intra prediction device performs an intra prediction for an image block obtained by dividing an original image. The intra prediction device comprises: a first prediction image generation part that predicts the image block from a first intra prediction mode as a directional property prediction; a second prediction image generation part that generates a second prediction image by predicting the image block by a second intra prediction mode as a non-directional property prediction; a weighting coefficient determination part that determines a weighting coefficient used when performing a weighting composition of the first prediction image and the second prediction image on the basis of at least one of the block size and a block form of the image block; and an image composition part that performs the weighting composition of the first and second prediction images by using the weighting coefficient determined by the weighting coefficient determination part.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an intra prediction device, an image encoding device, an image decoding device, and a program. do. [Background technology]

[0002] Research is being conducted into video coding methods to reduce the amount of data required for transmitting and storing still and moving images. In recent years, video coding technology has been used to produce ultra-high resolution video such as 8K-SHV. is becoming more and more popular, and AVC / H.264 is being used as a method for transmitting large amounts of video data. Encoding methods such as H.264 and HEVC / H.265 are well known.

[0003] VVC is a next-generation video coding standard jointly standardized by MPEG and ITU. The evaluation software (VTM) uses intra prediction, which utilizes spatial correlation within a frame. (See Non-Patent Document 1.) Using the target pixels, a total of 67 predictions are made: planar prediction, DC prediction, and 65 different directional predictions. The encoder selects the best prediction mode from the available prediction modes, and the encoder transmits the selected mode to the decoder. will be sent to.

[0004] To improve the accuracy of intra prediction, we use two intra prediction modes: A predicted image is generated for each pixel, and a new predicted image is generated by adding each pixel of the two predicted images. A prediction image synthesis method that generates a prediction image based on the above-mentioned 6 Directional prediction is a predicted image generated using one of five directional prediction modes. and a planar predicted image, which is a predicted image generated by the planar mode. These are added together to generate a predicted image. [Prior art documents] [Non-patent literature]

[0005] [Non-Patent Document 1] JVET-L1001 “Versatile Video Coding (Draft 3)” [Non-Patent Document 2] JVET-M0458 “Non-CE3: Combined-Hypothesis Intra-Prediction” Summary of the Invention [Problem to be solved by the invention]

[0006] By the way, directional prediction has high prediction accuracy for pixels close to the reference pixel. However, this has the drawback that the accuracy of the prediction may decrease as one moves away from the reference pixel.

[0007] However, the predicted image synthesis method described in Non-Patent Document 2 uses directional predicted images and Plan It is merely a pixel-by-pixel average of the AR predicted image, and has the drawback of directional prediction. However, there is still room for improvement in terms of improving the prediction accuracy of intra prediction. There was.

[0008] Therefore, the present invention provides an intra-prediction method that further improves the prediction accuracy of intra-prediction by using a predicted image synthesis method. The present invention aims to provide an intra-prediction device, an image encoding device, an image decoding device, and a program. Let us assume that. [Means for solving the problem]

[0009] The intra prediction device according to the first aspect performs intra prediction for image blocks obtained by dividing an original image. The intra prediction device performs a first intra prediction mode, which is a directional prediction mode. a first predicted image generating unit for predicting the image block by a non-directional method and generating a first predicted image; The image block is predicted using a second intra-prediction mode, which is a directional prediction, to obtain a second predicted image. a second predicted image generating unit that generates a predicted image having a block size and a block shape of the image block; The first predicted image and the second predicted image are weighted based on at least one of a weighting coefficient determination unit for determining a weighting coefficient used in generating the weighting coefficient; The first predicted image and the second predicted image are weighted and synthesized using the weighting coefficient. and an image synthesis unit.

[0010] An image encoding device according to a second aspect includes the intra prediction device according to the first aspect.

[0011] An image decoding device according to a third aspect includes the intra prediction device according to the first aspect.

[0012] A program according to a fourth aspect causes a computer to function as the intra prediction device according to the first aspect. and make it function. Effect of the Invention

[0013] According to the present invention, a prediction image synthesis method is used to further improve the prediction accuracy of intra prediction. It is possible to provide a error prediction device, an image encoding device, an image decoding device, and a program. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a diagram showing a configuration of an image encoding device according to an embodiment. [Diagram 2] FIG. 1 is a diagram showing prediction modes of intra prediction according to an embodiment. [Diagram 3] FIG. 2 is a diagram showing a configuration of an intra-prediction unit of an image encoding device according to an embodiment. [Figure 4] FIG. 11 is a diagram illustrating an example of the operation of an intra prediction unit according to the embodiment. [Diagram 5] FIG. 4 is a diagram illustrating a first example of an operation of a weighting coefficient determination unit according to the embodiment. [Figure 6] FIG. 11 is a diagram illustrating a second example of the operation of the weighting coefficient determination unit according to the embodiment. [Figure 7] FIG. 2 is a diagram showing a configuration of an image decoding device according to an embodiment. [Figure 8] FIG. 2 is a diagram showing a configuration of an intra-prediction unit of an image decoding device according to an embodiment. [Figure 9] FIG. 11 is a diagram illustrating an example of an operation flow of an intra prediction unit according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] An image encoding device and an image decoding device according to an embodiment will be described with reference to the drawings. The image encoding device and image decoding device according to the embodiment are adapted to encode moving images, such as MPEG. In the following description of the drawings, the same or similar parts are denoted by the same or similar symbols. Similar reference numbers are used.

[0016] <Configuration of the image encoding device> First, an image encoding device according to this embodiment will be described. FIG. 1 is a diagram showing a configuration of an image encoding device 1.

[0017] As shown in FIG. 1, the image encoding device 1 includes a block division unit 100, a subtraction unit 110, and A transform / quantization unit 120, an entropy coding unit 130, and an inverse quantization / inverse transform unit 140. , a synthesis unit 150 , a memory 160 , and a prediction unit 170 .

[0018] The block division unit 100 divides input images into frames (or pictures) constituting a moving image. The original image is divided into a plurality of image blocks, and the image blocks obtained by the division are subtracted by a subtraction unit 1. The size of the image block is, for example, 32 x 32 pixels, 16 x 16 pixels, 8 The shape of the image block is not limited to a square, but can be a rectangle (rectangle The image block may be a unit for encoding by the image encoding device 1 (an object of encoding). A block is a unit of decoding performed by an image decoding device (a block to be decoded). Such an image block is sometimes called a Coding Unit (CU).

[0019] The subtraction unit 110 subtracts the encoding target block input from the block division unit 100 from the encoding A prediction residual representing the difference (error) between the target block and the predicted image obtained by the prediction unit 170 is Specifically, the subtraction unit 110 subtracts each pixel value of the predicted image from each pixel value of the block. The prediction residual is calculated by subtracting the prediction residual from the input signal, and the calculated prediction residual is output to the transform / quantization unit 120. do.

[0020] The transform / quantization unit 120 performs orthogonal transform processing and quantization processing on a block-by-block basis. The quantization unit 120 includes a conversion unit 121 and a quantization unit 122 .

[0021] The transform unit 121 performs an orthogonal transform process on the prediction residual input from the subtraction unit 110. The orthogonal transform coefficient is calculated, and the calculated orthogonal transform coefficient is output to the quantization unit 122. For example, the discrete cosine transform (DCT) form) and Discrete Sine Transform (DST) m), Karhunen-Loeve Transformation (KLT) rm), etc.

[0022] The quantization unit 122 converts the orthogonal transform coefficients input from the transform unit 121 into a quantization parameter (Q p) and quantization matrix, and the quantized orthogonal transform coefficients are encoded in an entropy coding unit. The quantization parameter (Qp) is output to the inverse quantization and inverse transform unit 130 and the inverse quantization and inverse transform unit 140. A parameter that is commonly applied to each orthogonal transform coefficient in a block, The quantization matrix is ​​a parameter that determines the roughness of the quantization. It is a matrix whose elements are values.

[0023] The entropy coding unit 130 performs the following on the orthogonal transform coefficients input from the quantization unit 122: Performs entropy coding and data compression to generate coded data (bit stream). The image encoding device 1 outputs the encoded data to the outside of the image encoding device 1. Fuman coding and CABAC (Context-based Adaptive Binar Context-adaptive binary arithmetic coding (CABC) and other The entropy coding unit 130 can receive prediction-related information from the prediction unit 170. Information such as syntax is input, and the input information is also entropy coded.

[0024] The inverse quantization and inverse transform unit 140 performs inverse quantization and inverse orthogonal transform processing on a block basis. The inverse quantization and inverse transform unit 140 includes an inverse quantization unit 141 and an inverse transform unit 142 .

[0025] The inverse quantization unit 141 performs an inverse quantization process corresponding to the quantization process performed by the quantization unit 122. Specifically, the inverse quantization unit 141 quantizes the orthogonal transform coefficients input from the quantization unit 122. The orthogonal transform coefficients are inverse quantized using the quantization parameter (Qp) and the quantization matrix. The inverse transform unit 142 outputs the restored orthogonal transform coefficients to the inverse transform unit 142.

[0026] The inverse transform unit 142 performs an inverse orthogonal transform process corresponding to the orthogonal transform process performed by the transform unit 121. For example, if the transform unit 121 performs a discrete cosine transform, the inverse transform unit 142 performs an inverse discrete cosine transform. The inverse transform unit 142 performs a cosine transform on the orthogonal transform coefficients input from the inverse quantization unit 141. The prediction residual is restored by performing an inverse orthogonal transform process on the The difference is output to the synthesis unit 150 .

[0027] The synthesis unit 150 synthesizes the restored prediction residual input from the inverse transformation unit 142 by The synthesizer 150 synthesizes each pixel value of the restored prediction residual with the predicted image on a pixel-by-pixel basis. The pixel values ​​of the measured image are added to reconstruct (decode) the block to be coded, and the decoded block is The decoded image is output to the memory 160. Such a decoded image is called a reconstructed image. There is a saying.

[0028] The memory 160 stores the decoded image input from the synthesis unit 150. The memory 160 stores the decoded image in units of frames. 70. Note that a loop filter is provided between the synthesis unit 150 and the memory 160. Note that a part of the memory 160 may be included in the prediction unit 170.

[0029] The prediction unit 170 performs prediction on a block-by-block basis. The prediction unit 170 includes an inter prediction unit 171. , an intra prediction unit 172 , and a switching unit 173 .

[0030] The inter prediction unit 171 uses the decoded image stored in the memory 160 as a reference image. Then, a motion vector is calculated by a method such as block matching, and the block to be coded is predicted. The inter-prediction image is generated by estimating the inter-prediction image, and the generated inter-prediction image is output to the switching unit 173. .

[0031] The inter prediction unit 171 performs inter prediction (typically, bi-prediction) using multiple reference images. ) or inter prediction (unidirectional prediction) using one reference image. The inter prediction unit selects a method and performs inter prediction using the selected inter prediction method. Reference numeral 171 denotes an entropy coding unit 130 that encodes information related to inter-prediction (such as a motion vector) Output to.

[0032] The intra prediction unit 172 predicts a block to be coded from among the decoded images stored in the memory 160. An intra-prediction image is generated by referring to decoded pixel values ​​around the block. The intra prediction unit 172 outputs the measured image to the switching unit 173. The syntax for the input is output to the entropy coding unit 130. A block that is a target of intra prediction is called a target block for intra prediction.

[0033] The intra prediction unit 172 selects an appropriate prediction mode for the intra prediction target block from among a plurality of prediction modes. The optimal prediction mode to be used is selected, and the selected prediction mode is used to predict the intra prediction target block. Predict the next step.

[0034] FIG. 2 is a diagram showing prediction modes of intra prediction according to the present embodiment. As shown in FIG. There are 67 prediction modes, from 0 to 66. The prediction mode "0" is Pla nar prediction, prediction mode mode "1" is DC prediction, prediction mode mode " "2" to "66" are directional predictions. In directional predictions, the direction of the arrow indicates the prediction direction. The starting point of the arrow indicates the position of the pixel to be predicted, and the end point of the arrow indicates the prediction of this pixel. Indicates the position of the reference pixel to be used. Modes "2" to "33" indicate the block to be intra-predicted. On the other hand, modes "35" to "6" are prediction modes that mainly refer to the reference pixels to the left of the pixel. "6" is a prediction mode that mainly refers to the upper reference pixels of the target block for intra prediction. be.

[0035] The switching unit 173 switches between the inter-prediction image input from the inter-prediction unit 171 and the intra-prediction image. The intra-prediction image input from the measurement unit 172 is switched to the intra-prediction image, and one of the prediction images is subtracted. The combined signal is output to the signal processor 110 and the combiner 150.

[0036] 3 is a diagram showing the configuration of the intra prediction unit 172 according to this embodiment. The unit 172 corresponds to an intra-prediction device provided in the image encoding device 1.

[0037] As shown in FIG. 3, the intra prediction unit 172 includes a memory 160a and a first predicted image generation unit 172a, a second predicted image generating unit 172b, a weighting coefficient determining unit 172c, and an image synthesizing unit 1 72d.

[0038] The memory 160a is a part of the memory 160 shown in FIG. The reference pixels, which are decoded pixels to be referred to during prediction, are stored.

[0039] The first predicted image generation unit 172a generates an intra prediction image in a first intra prediction mode, which is a directional prediction. A directional prediction image (first predicted image) is generated by predicting the directional prediction target block, and the generated The first predicted image generating unit 172 outputs the directional predicted image to the image synthesizing unit 172d. a refers to the reference pixels stored in the memory 160a and selects one of 65 directional predictions. A directional prediction image is generated by one of the modes.

[0040] The second predicted image generation unit 172b generates an image in the second intra prediction mode, which is a non-directional prediction. A predicted image (second predicted image) is generated by predicting an intra-prediction target block, and the generated predicted image Specifically, the second predicted image generating unit 172b outputs the image to the image synthesizing unit 172d. A second intra prediction method is performed by referring to the reference pixels stored in the second intra prediction memory 160a and performing a predetermined non-directional second intra prediction. A directional prediction image is generated depending on the mode.

[0041] The second intra prediction mode may be any non-directional prediction mode. However, in this embodiment, the second intra prediction mode is the planar prediction mode. An example will be described.

[0042] The weighting coefficient determination unit 172c determines the block size and block A weighting factor is determined based on at least one of the shapes, and the determined weighting factor is input to an image synthesis unit. The weighting coefficients output by the weighting coefficient determination unit 172c are used to generate a first predicted image. The directional predicted image generated by the first predicted image generating unit 172a and the Pla Used when weighting and synthesizing nar predicted images.

[0043] The image synthesis unit 172d uses the weighting coefficients input from the weighting coefficient determination unit 172c to The directional predicted image input from the first predicted image generating unit 172a and the second predicted image generating unit 172 The planar prediction image input from b is weighted and synthesized, and the predicted image after weighted synthesis is The image is output as an intra-predicted image.

[0044] FIG. 4 is a diagram showing an example of the operation of the intra prediction unit 172 according to this embodiment. In the example shown, the intra prediction target block is a square of 8 × 8 pixels. The intra-prediction target block does not have to be square. Also, the black circles in FIG. represent.

[0045] As shown in FIG. 4(a), the second predicted image generating unit 172b generates an image by planar prediction. The intra prediction target block is predicted to generate a planar prediction image. In anar prediction, the predicted pixel value is calculated by interpolation prediction using the four reference pixels shown in Fig. 4(a). This generates:

[0046] As shown in FIG. 4(b), the first predicted image generating unit 172a generates an image in the directional prediction mode. A directional prediction image is generated by predicting the intra-prediction target block. Since the predicted pixel value is generated by extrapolating the The prediction accuracy is high for pixels in the reference pixel, but the prediction accuracy decreases as the pixel moves away from the reference pixel. However, it has the disadvantage that the

[0047] The weighting coefficient determination unit 172c determines the block size and block In this embodiment, the weighting factor is determined based on at least one of the shapes. The number determination unit 172c determines a weighting coefficient α (second weighting coefficient) to be applied to the planar predicted image, A weighting factor β (first weighting factor) to be applied to the directional predicted image is determined.

[0048] As shown in FIG. 4(c), the image synthesis unit 172d synthesizes the first predicted image generated by the first predicted image generation unit 172a. A weighting factor β is applied to each pixel of the directional predicted image obtained by the second predicted image generation unit 1. 72b applies a weighting factor α to each pixel of the generated planar predicted image, and The predicted image and the planar predicted image are synthesized on a pixel-by-pixel basis, and the synthesized predicted image is called the intra-prediction image. The resulting image is output as a survey image.

[0049] FIG. 5 is a diagram showing a first operation example of the weighting coefficient determination unit 172c according to the present embodiment. In this case, the "length of the short side" is the length of the short side of the rectangular intra prediction target block. In other words, the length of the smallest side is the length of the intra prediction target block. On the other hand, “α:β” in Fig. 5 represents the ratio of weighting factor α to weighting factor β. It represents the ratio.

[0050] Here, as an example of the block size of the intra prediction target block, I have presented "length", but other examples include "block width + block height" and "block It is also acceptable to use "width x block height" or the like.

[0051] As shown in FIG. 5, the weighting coefficient determination unit 172c determines the block of the intra-prediction target block. As the size increases, the weight (β) of the directional prediction image becomes smaller. The weighting coefficients α and β are determined so as to increase the ratio of the image weight (α).

[0052] In the example shown in FIG. 5, when the block size is “8”, the The weight (α) is equal to the weight (β) of the directional predicted image. In this case, the image synthesis unit 172d The predicted image obtained by averaging the planar predicted image and the directional predicted image is used as the intra prediction image. The block size is then output as an image. In the following, the block size "8" is referred to as the standard block size. .

[0053] When the block size is "4" which is smaller than the reference block size, the weighting coefficient determination unit 1 In 72c, the weight of the planar prediction image (α=1) is higher than the weight of the directional prediction image (β=2). In this case, the weighting coefficients α and β are determined so that the output of the image synthesis unit 172d is smaller than the output of the image synthesis unit 172c. In this case, the proportion of planar predicted images among the intra predicted images to be output becomes smaller.

[0054] On the other hand, the weighting coefficient determination unit 172c determines whether the block size is larger than the reference block size. As the weight of the planar prediction image (α) becomes larger than the weight of the directional prediction image (β), In this case, the weighting coefficients α and β are determined so that the image synthesis unit 172d outputs In this case, the proportion of planar predicted images among intra predicted images increases.

[0055] Here, in directional prediction, the block size of the intra prediction target block is large. Indeed, the prediction accuracy of pixels far from the reference pixel may be low. The ratio of the measured image to the directionality prediction image is increased, and the ratio of the predicted image to the directionality prediction image is decreased. By determining the weighting coefficients α and β, the prediction accuracy can be improved.

[0056] Note that the method of determining the weighting coefficients α and β shown in FIG. 5 is an example. The actual values ​​are not limited to the example shown in FIG.

[0057] FIG. 6 is a diagram showing a second operation example of the weighting coefficient determination unit 172c according to the present embodiment. In this case, "the larger of width / height or height / width" is For intra prediction target blocks, the width / height value, The larger of the height / width values. The larger of "width / height or height / width" is the intra-preview. The more elongated the measurement target block is, the larger the value becomes. On the other hand, the "α:β" in Figure 6 is It represents the ratio of weighting coefficient α to weighting coefficient β.

[0058] As shown in FIG. 6, the weighting coefficient determination unit 172c determines the weighting coefficient of a rectangular intra-prediction target block. As the ratio of the long side to the short side increases, the weight of the directional prediction image (β) The weighting coefficients α and β are determined so as to reduce the ratio of the weight (α) of the anar predicted image. The short side refers to the shorter side of a rectangle, and the long side refers to the longer side of a rectangle.

[0059] In other words, the weighting coefficient determination unit 172c determines whether the intra-prediction target block has an elongated shape. The ratio of the weight of the planar prediction image (α) to the weight of the directional prediction image (β) is The weighting coefficients α and β are determined so as to be small.

[0060] In the example shown in Figure 6, "width / height or height / width If the larger of the two is "1", that is, the intra prediction target block is a square In this case, the weight of the planar prediction image (α) is equal to the weight of the directional prediction image (β). In this case, the image synthesis unit 172d averages the planar predicted image and the directional predicted image. The predicted image obtained by the above is output as an intra-predicted image. The block to be measured is called the reference shape.

[0061] The weighting coefficient determination unit 172c determines whether the intra-prediction target block is elongated from the reference shape (square). As the shape changes, the weight of the planar prediction image (α) changes to the weight of the directional prediction image ( In this case, the weighting coefficients α and β are determined so that the weighting coefficients α and β are smaller than the weighting coefficients β. In this case, the proportion of planar predicted images among the intra predicted images output by d becomes smaller.

[0062] In directional prediction, the more elongated the intra prediction target block is, the more reference The possibility of predicting pixels far away from the reference pixel is reduced, and the prediction accuracy can be improved. Therefore, the proportion of the planar prediction image is reduced, and the proportion of the directional prediction image is increased. By determining the weighting coefficients α and β so as to increase the ratio, the prediction accuracy can be improved. .

[0063] Note that the method of determining the weighting coefficients α and β shown in FIG. 6 is an example. The actual values ​​are not limited to the example shown in FIG.

[0064] Moreover, the operation example 1 and the operation example 2 of the weighting coefficient determination unit 172c may be combined and implemented. For example, for each value of the "length of the smallest side" (i.e., block size), as shown in Figure 6 You can define different tables separately, or you can use "width / height or height" You can define a table like the one in Figure 5 for each value of "the larger of ght / width". good.

[0065] <Configuration of the image decoding device> Next, an image decoding device according to this embodiment will be described. FIG. 2 is a diagram showing a configuration of an image decoding device 2.

[0066] As shown in FIG. 7, the image decoding device 2 includes an entropy decoding unit 200 and an inverse quantization and inverse transformation unit. The image processing apparatus includes a conversion unit 210, a synthesis unit 220, a memory 230, and a prediction unit 240.

[0067] The entropy decoding unit 200 decodes the encoded data generated by the image encoding device 1. The quantization and inverse transformation unit 210 outputs the quantized orthogonal transform coefficients. The packet decoder 200 obtains a syntax for prediction (intra-prediction and inter-prediction). The prediction unit 240 obtains the syntax and outputs the obtained syntax to the prediction unit 240.

[0068] The inverse quantization and inverse transform unit 210 performs inverse quantization and inverse orthogonal transform processing on a block basis. The inverse quantization and inverse transform unit 210 includes an inverse quantization unit 211 and an inverse transform unit 212 .

[0069] The inverse quantization unit 211 corresponds to the quantization process performed by the quantization unit 122 of the image encoding device 1. The inverse quantization unit 211 performs inverse quantization processing. The quantized orthogonal transform coefficients are inverse quantized using a quantization parameter (Qp) and a quantization matrix. By this, the orthogonal transform coefficients of the block to be decoded are restored, and the restored orthogonal transform coefficients are input to the inverse transform unit. Output to 212.

[0070] The inverse transform unit 212 performs an inverse transform corresponding to the orthogonal transform process performed by the transform unit 121 of the image encoding device 1. The inverse transform unit 212 performs orthogonal transform processing. The prediction residual is restored by performing an inverse orthogonal transform process on the is output to the synthesis unit 220.

[0071] The synthesis unit 220 synthesizes the prediction residual input from the inverse transformation unit 212 and the prediction error input from the prediction unit 240. The original block is reconstructed (decoded) by combining the decoded image and the predicted image pixel by pixel. The decoded image is output to the memory 230 in units of blocks.

[0072] The memory 230 stores the decoded image input from the synthesis unit 220. The memory 230 stores the decoded image in units of frames. The signal is output to the outside of the signal processing device 2. Note that a loop filter is provided between the synthesis unit 220 and the memory 230. A part of the memory 230 may be included in the prediction unit 240. .

[0073] The prediction unit 240 performs prediction on a block-by-block basis. The prediction unit 242 includes an intra prediction unit, an intra prediction unit, and a switching unit 243.

[0074] The inter prediction unit 241 uses the decoded image stored in the memory 230 as a reference image. The inter prediction unit 241 predicts the current block by inter prediction. Inter prediction is performed according to the syntax and motion vectors input from the P decoder 200. The generated inter-predicted image is output to the switching unit 243. Output to.

[0075] The intra prediction unit 242 refers to the decoded image stored in the memory 230 and calculates the entropy Based on the syntax input from the decoding unit 200, the block to be decoded is intra-predicted. An intra-prediction image is generated by predicting the following, and the generated intra-prediction image is switched. The signal is output to unit 243.

[0076] The switching unit 243 switches between the inter-prediction image input from the inter-prediction unit 241 and the intra-prediction image. The intra-prediction image input from the measurement unit 242 is switched to one of the prediction images, and one of the prediction images is synthesized. The signal is output to unit 220.

[0077] 8 is a diagram showing the configuration of the intra prediction unit 242 according to this embodiment. The unit 242 corresponds to an intra prediction device provided in the image decoding device 2. The intra prediction unit 242 performs an operation similar to that of the intra prediction unit 172 provided in the image encoding device 1.

[0078] As shown in FIG. 8, the intra prediction unit 242 includes a memory 230a and a first predicted image generating unit 230b. 242a, a second predicted image generating unit 242b, a weighting coefficient determining unit 242c, and an image synthesizing unit 2 42d.

[0079] The memory 230a is a part of the memory 230 shown in FIG. The reference pixels, which are decoded pixels to be referred to during prediction, are stored.

[0080] The first predicted image generation unit 242a generates an intra prediction image in a first intra prediction mode, which is a directional prediction. A directional prediction image (first predicted image) is generated by predicting the directional prediction target block, and the generated The first predicted image generating unit 242 outputs the directional predicted image to the image synthesizing unit 242d. a is input from the entropy decoding unit 200 by referring to the reference pixels stored in the memory 230a. A directional prediction image is generated according to the directional prediction mode indicated by the input syntax.

[0081] The second predicted image generation unit 242b generates an image in the second intra prediction mode, which is a non-directional prediction. A predicted image (second predicted image) is generated by predicting an intra-prediction target block, and the generated predicted image Specifically, the second predicted image generating unit 242b outputs the image to the image synthesizing unit 242d. A second intra prediction method is performed by referring to the reference pixels stored in the second intra prediction memory 230a. In this embodiment, a directional prediction image is generated according to the second intra-prediction mode. is a planar prediction.

[0082] The weighting coefficient determination unit 242c determines the block size and block A weighting factor is determined based on at least one of the shapes, and the determined weighting factor is input to an image synthesis unit. The block size and block shape of the intra prediction target block are The entropy decoding unit 200 inputs the weighting factor determination unit 242c. The operation of 42c is the same as the operation examples 1 and 2 described above.

[0083] The image synthesis unit 242d uses the weighting coefficients input from the weighting coefficient determination unit 242c to The directional predicted image input from the first predicted image generating unit 242a and the second predicted image generating unit 242 The planar prediction image input from b is weighted and synthesized, and the predicted image after weighted synthesis is The image is output as an intra-predicted image.

[0084] <Example of intra prediction operation flow> Next, an example of an operation flow of intra prediction according to this embodiment will be described. The operation of intra prediction is the same in the image decoding device 1 and the image decoding device 2. The operation of intra prediction (intra prediction unit 242) in the embodiment will be described below. 13 is a diagram illustrating an example of an operation flow of the measurement unit 242.

[0085] First, the entropy decoding unit 200 performs the intra prediction process selected by the image encoding device 1. The prediction mode is not a directional prediction mode. If the prediction mode (DC prediction or Planar prediction) is indicated (step S1: NO), The measurement unit 242 performs intra prediction similar to the conventional method (step S7).

[0086] Secondly, the entropy decoding unit 200 generates a signal indicating whether or not to apply a predictive image synthesis method. If this syntax indicates that the predictive image synthesis method is not applied, (Step S2: NO), the intra prediction unit 242 performs intra prediction similar to the conventional method (Step S7). However, when the intra prediction mode selected by the image encoding device 1 is a directional prediction mode, the predictive image synthesis method may always be applied. In this case, there is no need to signal a syntax indicating whether or not to apply the predictive image synthesis method.

[0087] Third, the intra-prediction mode selected by the image encoding device 1 is directional prediction ( Step S1: YES) and the predicted image synthesis method is applied (Step S2: YES) S), the weighting coefficient determination unit 242c determines the block size and block size of the intra-prediction target block. The weighting coefficients α and β are determined based on at least one of the block shapes (step S3). .

[0088] Fourth, the first predicted image generation unit 242a uses the directional predictor selected by the image encoding device 1. The intra prediction target block is predicted by the prediction mode to generate a directional prediction image (step Step S4). The second predicted image generating unit 242b performs intra prediction by planar prediction. The target block is predicted to generate a planar predicted image (step S5).

[0089] Fifth, the image synthesis unit 242d uses the weighting coefficients α and β determined in step S3 to The directional prediction image generated in step S4 and the planar prediction image generated in step S5 are The weighted composite image is output as an intra-prediction image. (Step S6).

[0090] <Summary of the embodiment> The image encoding device 1 and the image decoding device 2 according to this embodiment perform intra prediction on a target block. determining a weighting factor based on at least one of the block size and the block shape of The directional prediction image and the planar prediction image are weighted and synthesized using the determined weighting coefficients. This allows the prediction image synthesis method to combine directional prediction images and planar prediction images. This can improve the prediction accuracy of intra prediction as compared to simple averaging.

[0091] <Other embodiments> In the above-described embodiment, as an example in which the second intra prediction mode is planar prediction, However, the second intra prediction mode is Plane prediction. In the case where the second intra prediction mode is Plane prediction, Just replace "Planar forecast" with "Plane forecast."

[0092] Alternatively, the second intra prediction mode may be DC prediction. When the prediction mode is DC prediction, the "Planar prediction" in the above embodiment is changed to "DC prediction " should be read as follows.

[0093] Although a program for causing a computer to execute each process performed by the image encoding device 1 is provided, A program for causing a computer to execute each process performed by the image decoding device 2 may be provided. The program may be recorded in a computer-readable medium. The data-readable medium allows you to install the program on your computer. Here, the computer-readable medium on which the program is recorded is non-transitory. The non-transitory recording medium may be, but is not limited to, a For example, it may be a recording medium such as a CD-ROM or a DVD-ROM.

[0094] The circuits that execute the processes performed by the image encoding device 1 are integrated, and the image encoding device 1 is implemented as a semiconductor The image decoding device 2 may be configured as an integrated circuit (chip set, SoC). and integrates a circuit for executing the above-mentioned steps into a semiconductor integrated circuit (chip set, SoC) to implement the image decoding device 2. It may be configured as follows.

[0095] The embodiment has been described in detail above with reference to the drawings, but the specific configuration is as described above. However, various design changes can be made without departing from the spirit of the product. It is possible. [Explanation of symbols]

[0096] 1: Image encoding device 2: Image decoding device 100: Block division section 110: Subtraction section 120: Transformation and quantization section 121: Conversion section 122: Quantization section 130: Entropy coding unit 140: Inverse quantization and inverse transformation unit 141: Inverse quantization section 142: Inverse conversion section 150: Composite section 160:Memory 160a: Memory 170: Prediction Department 171: Inter prediction section 172: Intra prediction unit 172a: First predicted image generating unit 172b: second predicted image generating unit 172c: Weighting coefficient determination unit 172d: Image synthesis section 173: Switching section 200: Entropy decoding unit 210: Inverse quantization and inverse transformation unit 211: Inverse quantization section 212: Inverse conversion unit 220: Composite section 230: Memory 230a: Memory 240: Prediction Department 241: Inter prediction unit 242: Intra prediction unit 242a: First predicted image generating unit 242b: second predicted image generating unit 242c: Weighting coefficient determination unit 242d: Image synthesis section 243: Switching section

Claims

1. An intra prediction device that performs intra prediction on image blocks obtained by dividing an original image, comprising: a first predicted image generating unit configured to predict the image block in a first intra prediction mode, which is a directional prediction, to generate a first predicted image; a second predicted image generation unit that predicts the image block in a second intra prediction mode that is a non-directional prediction to generate a second predicted image; a weighting coefficient determination unit that determines a weighting coefficient used when weighting and synthesizing the first predicted image and the second predicted image based on a block shape of the image block; an image synthesis unit that weight-synthesizes the first predicted image and the second predicted image using the weighting coefficient determined by the weighting coefficient determination unit.

2. The intra prediction device of claim 1 , wherein the second intra prediction mode is planar prediction, plane prediction, or DC prediction.

3. An image coding device comprising the intra prediction device according to claim 1 or 2.

4. An image decoding device comprising the intra prediction device according to claim 1 or 2.

5. A program for causing a computer to function as the intra prediction device according to claim 1 or 2.

Citation Information

Patent Citations

  • Method and device for encoding / decoding image, and recording medium storing bit stream

    WO2018066849A1