Bitstream decoding

By combining multiple intra-frame prediction modes in image coding to form a combined hypothesis block, the problem that a single prediction mode cannot provide the best prediction is solved, and the accuracy and efficiency of image coding are improved.

CN113196778BActive Publication Date: 2024-08-27BRITISH BROADCASTING CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201980083954.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-12-19
Filing Date
2019-12-19
Publication Date
2024-08-27
Estimated Expiration
2039-12-19

AI Technical Summary

Technical Problem

Existing techniques using a single intra prediction mode in image coding may not provide optimal prediction of block content, resulting in inefficient coding.

Method used

Determining and combining a plurality of intra prediction modes to form a combined hypothesis block for reconstructing the image frame by receiving the bit stream in the decoder, including applying a first intra prediction mode and a second intra prediction mode and combining them Weighted average to form a more accurate forecast sample.

Benefits of technology

The accuracy and efficiency of image coding are improved, better image reconstruction effects are obtained by combining different intra prediction modes, and the coding performance of the bit stream is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113196778B_ABST
    Figure CN113196778B_ABST
Patent Text Reader

Abstract

The present disclosure relates to: a method for decoding a bitstream representing an image in a decoder, wherein the bitstream comprises a plurality of residual sample blocks, and one or more reconstructed image frames of the image are obtained by adding respective residual sample blocks to a combined hypothesis block of intra-frame prediction, and forming the combined hypothesis block of intra-frame prediction by applying a method, the method comprising: receiving the bitstream; for each residual sample block: determining whether a combined intra-frame prediction hypothesis is indicated and / or inferred from the bitstream, and if so: for each residual sample block of the block where the combined intra-frame prediction hypothesis is indicated and / or inferred: determining a first intra-frame prediction mode based on information extracted from the bitstream; determining or inferring at least a second different intra-frame prediction mode; applying the first intra-frame prediction mode to at least one reference sample to form a first hypothesis prediction sample; applying at least one second intra-frame prediction mode to the at least one reference sample to form a second hypothesis prediction sample; and forming the predicted combined hypothesis block by combining the first hypothesis prediction sample and the second hypothesis prediction sample formed for the block.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to image encoding and decoding, and in particular, the present invention relates to a method of decoding a bit stream to obtain an image.

[0002] background

[0003] In an image or video codec, exploitation of spatial redundancy enables more efficient encoding of images. One of the most successful intra-prediction schemes is to perform so-called directional intra-prediction. Each prediction is formed as a weighted average of one or more reference samples; the choice of which reference samples to use and the weights applied to calculate the average depend on the specific intra-prediction direction. There are also non-directional intra-prediction modes. The present disclosure relates to intra-prediction, and the following usage of the terms "prediction" and the like should be understood accordingly. SUMMARY OF THE INVENTION

[0005] According to a first aspect of the invention, there is provided a method of decoding a bitstream representing an image in a decoder, wherein the bitstream comprises a plurality of residual sample blocks, and one or more reconstructed image frames of the image are obtained by adding respective residual sample blocks to a combined hypothesis block of intra prediction, the combined hypothesis block of intra prediction being formed by applying a method comprising the following steps:

[0006] Receive a bit stream;

[0007] For each residual sample block:

[0008] Determine whether a combined intra prediction hypothesis is indicated and / or inferred from the bitstream, and if so:

[0009] Then for each block of residual samples of a block indicating and / or inferring a combined intra prediction hypothesis:

[0010] determining a first intra prediction mode based on information extracted from the bitstream;

[0011] determining or inferring at least a second different intra-frame prediction mode; applying the first intra-frame prediction mode to at least one reference sample to form a first hypothesized prediction sample;

[0012] applying at least one second intra prediction mode to the at least one reference sample to form a second hypothesized prediction sample; and

[0013] The predicted combined hypothesis block is formed by combining the first hypothesis prediction samples and the second hypothesis prediction samples formed for the block.

[0014] In some exemplary embodiments of the present invention, for one or more residual sample blocks of a block indicating and / or inferring a combined intra prediction hypothesis, a method of forming a combined hypothesis block of intra prediction comprises: for each residual sample of the block, applying a first intra prediction mode to a reference sample, applying a second intra prediction mode to the same reference sample, and combining the obtained first hypothesis intra prediction sample and the second hypothesis intra prediction sample to form a combined hypothesis prediction sample, the method also comprising combining the combined hypothesis prediction samples thus obtained for the block to form the combined hypothesis block of intra prediction.

[0015] In other exemplary embodiments of the present invention, for one or more residual sample blocks indicating and / or inferring a combined intra-frame prediction hypothesis, a method of forming a combined hypothesis block for intra-frame prediction includes: applying the first intra-frame prediction mode to all reference samples of the block to form a plurality of first hypothesis prediction samples, applying the second intra-frame prediction mode to all reference samples of the block to form a plurality of second hypothesis prediction samples, and combining the first hypothesis prediction samples and the second hypothesis prediction samples to form the combined hypothesis block for intra-frame prediction.

[0016] Optionally, determining the second intra-prediction mode includes inferring the second intra-prediction mode based on the first intra-prediction mode. In this case, inferring the second intra-prediction mode may include: if the first prediction mode is not a planar intra-prediction mode, inferring the second intra-prediction mode is a planar intra-prediction mode.

[0017] The second intra prediction mode may be determined based on an indicator in the bitstream.

[0018] The method of some embodiments may further comprise: determining whether the first intra prediction mode is a planar intra prediction mode; and inferring a combined intra prediction hypothesis only if the first prediction mode is not a planar prediction mode.

[0019] In some embodiments, combining the first combined hypothesis intra prediction sample and the second combined hypothesis intra prediction sample to form the predicted combined hypothesis block may include adding the first hypothesis prediction sample and the second hypothesis prediction sample to the respective residual samples. In some embodiments, combining the first hypothesis intra prediction sample and the second hypothesis intra prediction sample to form the predicted combined hypothesis block may include calculating a weighted average of the first combined hypothesis intra prediction sample and the second combined hypothesis intra prediction sample.

[0020] In some embodiments, combining the first hypothesized intra-frame prediction sample and the second hypothesized intra-frame prediction sample to form the combined hypothesis block of prediction may include: determining a weight that is applied to the first hypothesized sample and / or the second hypothesized sample for combining them to form the combined hypothesis block of intra-frame prediction. In some embodiments, combining the first hypothesized intra-frame prediction sample and the second hypothesized intra-frame prediction sample includes adding their weighted combination to the respective residual samples. The weight applied to the first hypothesized intra-frame prediction sample and / or the second hypothesized intra-frame prediction sample may optionally be determined based on bit values ​​within the bitstream or by querying a lookup table, or may be at least partially inferred using information extracted from neighboring blocks.

[0021] Optionally, at least one of the first intra prediction mode and the second intra prediction mode may be a plane intra prediction mode or a DC intra prediction mode, or a directional intra prediction mode.

[0022] In some embodiments, the bitstream may include one or more bits indicating whether the second directional intra-frame prediction mode is to be applied. In some embodiments, the bitstream may include one or more bits indicating the first intra-frame prediction mode and / or the second intra-frame prediction mode to be applied. In this case, determining the first intra-frame prediction mode and / or the second intra-frame prediction mode may optionally include querying a lookup table.

[0023] In some exemplary embodiments, the method may further include, for a block indicating and / or inferring a combined intra-frame prediction hypothesis: determining a third intra-frame prediction mode; and applying the third intra-frame prediction mode to one or more reference samples to form a third hypothesis intra-frame prediction sample, and combining the first hypothesis prediction sample, the second hypothesis prediction sample and the third hypothesis prediction sample formed for the block to create the predicted combined hypothesis block.

[0024] According to another aspect of the present invention there is provided a computer program product adapted to cause a programmable apparatus to carry out a method substantially as described above.

[0025] According to another aspect of the present invention, there is provided a method for decoding images in a video stream using a method substantially as described above.

[0026] According to another aspect of the present invention, there is provided a method for decoding a video bitstream, the method comprising the following steps:

[0027] receiving a bitstream representing a block of residual samples and data indicating an intra prediction hypothesis used in forming prediction samples;

[0028] forming a respective block of prediction samples using said data indicative of said intra prediction hypothesis; and

[0029] adding the prediction sample blocks to respective said residual sample blocks to reconstruct an image;

[0030] Features:

[0031] For each residual sample block:

[0032] Determine whether a combined intra prediction hypothesis is indicated and / or inferred from the bitstream, and if so:

[0033] Then for each block of residual samples of a block indicating and / or inferring a combined intra prediction hypothesis:

[0034] determining a first intra prediction mode based on information extracted from the bitstream;

[0035] determining or inferring at least a second different intra-prediction mode;

[0036] Applying a first intra prediction mode to at least one reference sample to form a first hypothesized prediction sample;

[0037] applying at least one second intra prediction mode to the at least one reference sample to form a second hypothesized prediction sample; and

[0038] The predicted combined hypothesis block is formed by combining the first hypothesis prediction samples and the second hypothesis prediction samples formed for the block.

[0039] According to another aspect of the present invention, there is provided a method for encoding a video bitstream, the method comprising the following steps:

[0040] forming a block of prediction samples using the intra prediction block and the reconstructed image samples;

[0041] subtracting the block of prediction samples from the block of image samples to form a block of residual samples; and

[0042] forming a bitstream representing a block of residual samples and data representing an intra prediction block used to form respective prediction samples;

[0043] At least one of the predicted sample blocks is formed using a predicted combined hypothesis block, the predicted combined hypothesis block being formed in the following manner:

[0044] applying a first intra prediction mode to the reconstructed image samples of the respective block to form a first prediction sample and a plurality of respective first residual samples;

[0045] applying a second different intra prediction mode to the reconstructed image samples of the respective blocks to form second prediction samples and a plurality of respective second residual samples; and

[0046] A residual sample block is formed by combining the first residual sample and the second residual sample.

[0047] Any feature in one aspect of the present disclosure may be applied to other aspects of the present disclosure in any appropriate combination. In particular, method aspects may be applied to apparatus aspects, and vice versa.

[0048] Furthermore, features implemented in hardware may be implemented in software and vice versa. Any references herein to software features and hardware features should be interpreted accordingly.

[0049] Any means features described herein may also be provided as method features, and vice versa.As used herein, means-plus-function features may alternatively be expressed in terms of their corresponding structure (eg, a suitably programmed processor and associated memory).

[0050] It should also be understood that specific combinations of various features described and defined in any aspect of the present disclosure may be independently implemented and / or provided and / or used.

[0051] The present disclosure also provides a computer program and a computer program product comprising software code adapted to perform any of the methods described herein (including any or all of their constituent steps) when executed on data processing means.

[0052] The present disclosure also provides a computer program and a computer program product comprising software code which, when executed on a data processing device, comprises any of the device features described herein.

[0053] The present disclosure also provides a computer program and a computer program product having an operating system supporting a computer program for performing any of the methods described herein and / or for embodying any of the apparatus features described herein.

[0054] The present disclosure also provides a computer readable medium having stored thereon the computer program as described above.

[0055] The present disclosure also provides a signal carrying the computer program as described above, and a method for transmitting such a signal.

[0056] The present disclosure extends to methods and / or apparatus substantially as herein described with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The present invention will now be described by way of example with reference to the accompanying drawings, in which:

[0059] Figure 1 A video bitstream decoder is shown;

[0060] Figure 2 (a)-(b) show exemplary block prediction using a single intra prediction mode;

[0061] Figure 3 shows an exemplary block prediction using multiple intra-prediction modes;

[0062] Figure 4 is a flow chart of a method using two intra prediction modes;

[0063] Figure 5 is a flowchart of a detailed exemplary method of inferring a second mode of intra prediction;

[0064] Figure 6 A video encoder is shown.

[0065] Detailed description of some embodiments

[0066] Figure 1 A typical decoder is shown, in which a bitstream representing a video image is received and processed to obtain a video stream. The decoder comprises an entropy decoding stage 102, an inverse quantisation stage 104 and an inverse transform stage 106, by which the received bitstream is typically processed in sequence to obtain a residual.

[0067] The residuals are added to the respective predictions to obtain output images which form the output video stream.

[0068] In the case of inter-prediction, one or more previous images available in the decoded picture buffer 110 are subjected to motion compensation 112 using information extracted from the bitstream followed by specified motion information. For example, motion vectors may be signaled in the bitstream. However, such motion information may be calculated in a variety of alternative ways, as known to those skilled in the art.

[0069] In the case of intra prediction, previously reconstructed samples extracted from the current frame are used to form the prediction.

[0070] The present disclosure relates to the intra prediction block 108, which typically uses an intra prediction mode specified using information extracted from the bitstream, as shown in FIG. Figure 2 described in further detail.

[0071] Figure 2The use of a single intra prediction mode is shown. The value of each sample within the block is typically (although not necessarily always) predicted as a weighted average of reference samples extracted from a reference sample buffer. The selection of which reference samples to use and the weight applied to each reference sample depends on the intra prediction mode specified using information extracted from the bitstream. Figure 2 The prediction mode used in a is directional intra prediction mode; Figure 2 The prediction mode used in b is the "planar" prediction mode. As an explanation, when using "planar" intra prediction, four reference samples are used to predict each sample within the block; two pairs of reference samples are used to calculate two bilinear interpolations, respectively, where the weights used in the interpolation depend on the position of each sample within the block. The values ​​obtained by the two interpolations are then averaged together to form the final predicted sample.

[0072] A range of other directional modes may also be used, such as pure horizontal and / or non-directional intra prediction modes (e.g. DC mode of the High Efficiency Video Coding (HEVC) standard). The information required to correctly select the mode to be used is signaled in the bitstream associated with each block. The above prediction modes mainly involve:

[0073] Planar prediction, which consists in obtaining each reference sample as the average of two bilinear interpolations between two pairs of samples extracted from neighboring samples in the top row and left column of the current block;

[0074] DC prediction, which consists in predicting the samples in a block using the average of the available reference samples around the current block; and

[0075] • Directional prediction, which consists in extrapolating the samples within the prediction block by bilinear interpolation, where the weights and samples used depend on the prediction "direction".

[0076] As a more specific example, Figure 2 Sample X in the current block in a is predicted using a weighted average of reference samples A and B, which in this example are taken from the block above the current block. Depending on the direction specified by the intra prediction mode, sample A may have a greater influence in the prediction, which means that its weight will be higher than the weight applied to B when calculating the average.

[0077] The reference samples are shown here as being taken from a single row above and a single column to the left of the current block. In some embodiments, the reference sample set may be larger, for example there may be two or more reference rows or columns. In some embodiments, the reference sample set may be filtered using a predefined filtering operation before being used for intra prediction. The reference samples are typically obtained from a block that has already been reconstructed in the decoder and can therefore be used to predict the current block. Such a block is typically depicted as being above or to the left of the current block. This does not exclude operation in other block scanning schemes or at a degree of parallel operation.

[0078] Conventional intra prediction uses a single pattern applied to reference samples to predict the current block, resulting in predictions that are e.g. Figure 2 a and Figure 2 One of the predictions X shown in b. Each of these predictions is significantly different from the actual contents of the block, and Figure 2 a and Figure 2 b shows only two of a number of different predictions X that can be obtained using any one of a number of different single modes.

[0079] In some cases, in prior art systems, using a single intra prediction mode may not provide the best prediction of block content. According to aspects of the present invention, this problem is sought to be addressed by using a variety of different intra prediction hypotheses and then combining these hypotheses together to form a combined hypothesis intra prediction block, which can provide more accurate predictions of at least some blocks in the bitstream than can be obtained using prior art methods that utilize each intra prediction mode individually.

[0080] Figure 3 A method for intra-frame prediction is shown, in which two different prediction modes are combined to predict values ​​within a block. The method can be used to obtain a better prediction of the actual block value. Preferably, the parameters required to perform the combination are at least partially extracted from the bitstream to improve image compression. In this example, reference is made to Figure 2 The vertical and planar modes described in b are combined to obtain better predictions than using either of those modes alone.

[0081] Figure 4 is a flow chart illustrating a method of applying multiple intra prediction modes to obtain a combined prediction.

[0082] In a first step 402, a first intra prediction mode is detected. In this embodiment, this comprises detecting an intra prediction mode specified in the bitstream.

[0083] In a second step 404, a second intra prediction mode is detected. In different embodiments, the second mode may be detected from an indicator signaled within the bitstream and / or by inferring from features of the bitstream (eg, the first intra prediction mode). Figure 5 A method of inferring a second intra prediction mode is described.

[0084] In a third step 406, weights are determined that may be used to combine the predictions determined from the application of the first detection mode and the second detection mode. In various embodiments, the predictions obtained from using each prediction mode are combined into a single prediction, either by a simple average, such as with weights of 0.5, or by a parameter transformation, such as a weighted prediction. In some embodiments, different parameter transformations (e.g., linear or quadratic interpolation) may be used, where the coefficients of the interpolation may be extracted from the bitstream and / or inferred by an inference process. The parameters of the transformation, such as the weights, may be extracted at least in part from the bitstream, may be set by the intra-prediction mode used, or may be pre-set in the decoder.

[0085] In some embodiments, a lookup table is used to determine the weights and / or combining method to be used, wherein the index to be used when referencing the lookup table is indicated in the bitstream. In some embodiments, the lookup table to be used depends on the prediction mode being used.

[0086] In a fourth step 408, the predictions determined using each prediction mode are combined using the determined weights. These predictions can then be combined with the residual values ​​extracted from the bitstream to obtain reconstructed image samples. Typically, after reconstructing the frame, some filters are applied (e.g., deblocking, deblurring, etc.). Thereafter, an image is output based on these reconstructed samples. In the case of video decoding, the image is a frame in the video.

[0087] Therefore, according to an aspect of the invention, the predictions are combined before the combined prediction is added to the residual value.

[0088] Figure 5 A method according to an exemplary embodiment of the present invention is shown, wherein a second intra prediction mode is inferred from a first intra prediction mode and the use of the second intra prediction mode.

[0089] In a first step 402, a first intra prediction mode is detected.

[0090] In a second step 502, it is determined whether the first intra prediction mode is planar.

[0091] If the first intra prediction mode is not planar, in a third step 504 it is determined whether a multiple intra prediction mode flag is set.

[0092] If the multiple intra prediction mode flag is set, then in a fourth step 505, the second intra prediction mode is inferred to be a pre-specified intra prediction mode that is different from the first intra prediction mode. In this exemplary embodiment, if the first intra prediction mode is not planar and the multiple (or combined) intra prediction flag is set, the second intra prediction mode is inferred to be planar. Subsequently, in step 506, the combined hypothesis intra prediction method as described above is performed.

[0093] If the first intra prediction mode is planar or the multiple intra prediction flag is not set, then in alternative step 512, conventional intra prediction is performed using the detected first intra prediction mode.

[0094] Although the plane intra prediction mode has been described as being inferred as the second intra prediction mode in this embodiment, similar modes may also be inferred. Similarly, although in this embodiment, the flag is checked in the second step 502, if the first intra prediction mode is not plane, in other embodiments, other modes may be used to determine whether the multiple intra prediction mode flag should be checked.

[0095] In some embodiments, the first intra-frame prediction mode determined to not be a specific mode (e.g., planar mode) is used to directly infer the second prediction mode. That is, the third step 504 is effectively skipped. More generally, the determination of the type of the first intra-frame prediction mode (e.g., planar, directional, vertical-left) can be used to infer whether the second intra-frame prediction mode should or should not be used or the type of the second intra-frame prediction mode to be used.

[0096] In some embodiments, for each first intra-frame prediction mode, there is a possible or preferred second intra-frame prediction mode or multiple possible or preferred intra-frame prediction modes. In practice, the second intra-frame prediction mode can be inferred based on the presence of the first intra-frame prediction mode and additional bitstream information (where, for example, the first mode is directional and the flag is set, which can mean a planar second mode, while the first mode is DC and the flag is set, which can mean a "vertical left" second mode). More generally, there can be a lookup table or other reference means that can be used to determine the second prediction mode, where the lookup table used can depend on the first prediction mode. In some embodiments, the second prediction mode can be directly extracted from the bitstream by a process similar to or the same as the process used to extract the first intra-frame prediction mode.

[0097] In some embodiments, the encoding method used depends on the first prediction mode, where a coding form comparable to Huffman coding is used such that the code length required to indicate the second prediction mode is related to the likelihood of the second prediction mode being the best prediction mode (this likelihood is predetermined before the decoder / encoder is constructed).

[0098] In a preferred embodiment, one of the modes is either planar mode or DC mode, wherein in some embodiments, in particular, the signaling that one of these modes is not the first prediction mode is used to infer the use of the other mode as the second prediction mode. However, this is not essential. In some embodiments, the bitstream may simply contain the information required to extract the two (or more) different intra-frame prediction modes and the instructions to combine the two predictions thus obtained to form a single (combined) prediction to be added to the respective residual samples.

[0099] In all cases, the process of forming a combined prediction can be performed in a number of different ways. For example, the process of forming a combined prediction can be performed on a sample-by-sample basis. In this case, a first prediction is formed for a given sample using a first intra-frame prediction mode, followed by a second prediction for the same residual sample using a second, different intra-frame prediction mode. Finally, a combined prediction is formed for the residual sample by combining the first prediction and the second prediction, and the process proceeds to the next residual sample in the block, where the process is repeated. In an alternative embodiment, the process can be performed on a block-by-block basis. In this case, a first intra-frame prediction mode is applied to all residual samples in a block to form a first prediction block, followed by a second intra-frame prediction mode being applied to all residual samples in the same block to form a second prediction block. Finally, the first prediction block and the second prediction block are combined together to form a single combined hypothesis prediction block, and the block is added to the residual samples in the block to reconstruct the image data.

[0100] Figure 6 An encoder 6 is shown, which can be used to obtain a reference Figure 1 A bit stream readable by a decoder 1 is described.

[0101] Intra prediction estimation 602 and / or motion estimation 606 are performed on the input video stream, which identifies spatial redundancy and / or temporal redundancy. These result in intra prediction 604 and motion prediction 608, which relies on pictures from a picture buffer 610, which stores pictures equivalent to the previous frame encoded by the encoder 6.

[0102] Intra prediction 604 and / or motion prediction 608 are combined with the input video and then transformed 612, quantized 614, and entropy encoded 616 to obtain a bitstream. The transformed 612 and quantized 614 data stream is typically subjected to inverse quantization 618 and inverse transformation 620 to obtain a reference frame used by the image buffer 610 for subsequent frames, although in some embodiments, either or both of these steps may not be necessary.

[0103] In various embodiments, the intra prediction stage includes one or more of the following: a bit specifying whether to use multiple intra prediction modes; a section indicating at least one of a first prediction mode and a second prediction mode to be used; a section indicating weights of the first prediction mode and the second prediction mode. In some embodiments, the indication of the mode to be used and / or the indication of the weight to be used is a reference to an index into a lookup table. The lookup table to be used is preferably determined by features of the current frame (e.g., the current block or the previous block) or the previous frame.

[0104] In the encoder, a range of possible intra prediction modes are considered, where the combination of modes that results in the lowest residual value is used, or a single mode is used if this achieves the lowest residual. In some embodiments, a limited number of possible modes are considered, for example one of the multiple prediction modes may always be planar. In some embodiments, before using multiple intra prediction modes, a certain improvement over using a single prediction mode is required.

[0105] Similarly, the weights are determined using a predetermined method such as a decision process that includes selecting the weights that result in the minimum residual value. Those skilled in the art will appreciate that other decision processes may be used.

[0106] Alternatives and modifications

[0107] In various embodiments, a block as used herein refers to a prediction unit (PU), a coding unit (CU) and / or a transform unit (TU) (e.g., as defined in the HEVC / H.265 version 5 standard of February 13, 2018). More generally, a block may refer to any group of pixels. Preferably, a block refers to a group of connected pixels, where the pixels may be spatially connected.

[0108] In some embodiments, a block refers to a group of pixels that share a common reference sample for the purpose of intra prediction. This does not require that each pixel value within the block be predicted directly from the reference sample; in some embodiments, pixel values ​​within the block may be predicted using other pixel values ​​within the same block, which are predicted using the common reference sample. In these embodiments, each predicted pixel value may be considered to be derived from the reference sample.

[0109] Although the method has been described with reference to use with frames within a video stream, it can be similarly used with still images (such as those conforming to the Joint Photographic Experts Group (JPEG) standard).

[0110] Although the detailed description mainly relates to the use of two prediction modes, the method can be similarly applied to any number (two or more) of prediction modes, where the number of modes used and / or the modes used can be indicated by information included in the relevant bitstream.

[0111] It will be appreciated that the present invention has been described above purely by way of example and that modifications of detail may be made within the scope of the invention.

[0112] Any reference signs appearing in the claims are for illustrative purposes only and shall have no limiting effect on the scope of the claims.

Claims

1. A method for decoding a bit stream representing an image in a decoder, wherein: The bitstream comprises a plurality of residual sample blocks, and one or more reconstructed image frames of the image are obtained by adding respective residual sample blocks to a combined hypothesis block of intra prediction, the combined hypothesis block of intra prediction being formed by applying a method comprising the following steps: receiving the bit stream; For each residual sample block: determining whether a combined intra prediction hypothesis is indicated by the bitstream and / or can be inferred from the bitstream, and if so: Then for each block of residual samples that indicates and / or enables the inference of a combined intra prediction hypothesis: determining a first intra prediction mode based on information extracted from the bitstream; inferring at least one second different intra prediction mode based on the first intra prediction mode; applying the first intra prediction mode to at least one reference sample to form a first hypothesized prediction sample; applying at least one second intra prediction mode to the at least one reference sample, To form a second hypothesis prediction sample; as well as The combined hypothesis block for intra prediction is formed by combining the first hypothesis prediction sample and the second hypothesis prediction sample formed for the block.

2. The method according to claim 1, wherein: The method of forming a combined hypothesis block of intra prediction for one or more residual sample blocks of a block indicating and / or inferring a combined intra prediction hypothesis comprises: for each residual sample of the block, applying the first intra prediction mode to a reference sample, applying the second intra prediction mode to the same reference sample, and combining the obtained first hypothesis prediction sample and the second hypothesis prediction sample to form a combined hypothesis prediction sample, the method further comprising combining the combined hypothesis prediction samples thus obtained for the block to form the combined hypothesis block of intra prediction.

3. The method according to claim 1, wherein: For one or more residual sample blocks of a block indicating and / or inferring a combined intra-frame prediction hypothesis, the method of forming a combined hypothesis block for intra-frame prediction comprises: applying the first intra-frame prediction mode to all the reference samples of the block to form a plurality of first hypothesis prediction samples, applying the second intra-frame prediction mode to all the reference samples of the block to form a plurality of second hypothesis prediction samples, and combining the first hypothesis prediction samples and the second hypothesis prediction samples to form the combined hypothesis block for intra-frame prediction.

4. The method according to claim 1, wherein: Inferring the second intra prediction mode includes inferring that the second intra prediction mode is a plane intra prediction mode if the first intra prediction mode is not a plane intra prediction mode.

5. The method according to claim 1, wherein: The second intra prediction mode is determined based on an indicator within the bitstream.

6. The method of claim 1, further comprising determining whether the first intra prediction mode is a planar intra prediction mode; and inferring a combined intra prediction hypothesis only when the first intra prediction mode is not a planar prediction mode.

7. The method according to claim 1, wherein: Combining the first hypothesis prediction sample and the second hypothesis prediction sample to form a combined hypothesis block for the intra prediction includes adding the first hypothesis prediction sample and the second hypothesis prediction sample to respective residual samples.

8. The method according to claim 1, wherein: Combining the first hypothesis prediction sample and the second hypothesis prediction sample to form a combined hypothesis block for the intra prediction includes calculating a weighted average of the first hypothesis prediction sample and the second hypothesis prediction sample.

9. The method according to claim 1, wherein: Combining the first hypothesis prediction sample and the second hypothesis prediction sample to form the combined hypothesis block of intra prediction includes determining weights that are applied to the first hypothesis prediction sample and / or the second hypothesis prediction sample for combining them to form the combined hypothesis block of intra prediction.

10. The method according to claim 1, wherein: Combining the first hypothesis prediction sample and the second hypothesis prediction sample includes adding a weighted combination thereof to respective residual samples.

11. The method according to claim 9, wherein: The weights applied to the first hypothesized prediction sample and / or the second hypothesized prediction sample are determined based on bit values ​​within the bitstream.

12. The method according to claim 9, wherein: The weight applied to the first hypothesized prediction sample and / or the second hypothesized prediction sample is obtained by querying a lookup table.

13. The method according to claim 9, wherein: The weights applied to the first hypothesized prediction sample and / or the second hypothesized prediction sample are inferred at least in part using information extracted from neighboring blocks.

14. The method according to claim 1, wherein: At least one of the first intra prediction mode and the second intra prediction mode is a planar intra prediction mode.

15. The method according to claim 1, wherein: At least one of the first intra prediction mode and the second intra prediction mode is a DC intra prediction mode.

16. The method according to claim 1, wherein: At least one of the first intra prediction mode and the second intra prediction mode is a directional intra prediction mode.

17. The method according to claim 1, wherein: The bitstream includes one or more bits indicating whether a second directional intra prediction mode is to be applied.

18. The method according to claim 1, wherein: The bitstream comprises one or more bits indicating the first intra prediction mode and / or the second intra prediction mode to be applied.

19. The method according to claim 18, wherein: Determining the first intra prediction mode and / or the second intra prediction mode includes querying a lookup table.

20. The method of claim 1, further comprising: determining, for a block for which a combined intra prediction hypothesis is indicated and / or inferred, a third intra prediction mode; And applying the third intra prediction mode to one or more reference samples to form a third hypothesis prediction sample, and combining the first hypothesis prediction sample, the second hypothesis prediction sample and the third hypothesis prediction sample formed for the block to create the predicted combined hypothesis block.

21. A computer program product adapted to cause a programmable device to implement the method according to claim 1.

22. A decoder comprising an entropy decoding stage, an inverse quantization stage and an inverse transform stage, wherein: The decoder is adapted to perform the method according to any of claims 1-20.

23. A method of decoding images in a video stream using the method according to claim 1.

24. A method for decoding a video bitstream, the method comprising the following steps: receiving a bitstream representing a block of residual samples and data indicating an intra prediction hypothesis used in forming prediction samples; forming a respective block of prediction samples using said data indicative of said intra prediction hypothesis; and adding the prediction sample blocks to respective said residual sample blocks to reconstruct an image; Features: For each residual sample block: determining whether a combined intra prediction hypothesis is indicated by the bitstream and / or can be inferred from the bitstream, and if so: Then for each block of residual samples that indicates and / or enables the inference of a combined intra prediction hypothesis: determining a first intra prediction mode based on information extracted from the bitstream; inferring at least one second different intra prediction mode based on the first intra prediction mode; Applying the first intra prediction mode to at least one reference sample to form a first hypothesized prediction sample; applying at least one second intra prediction mode to the at least one reference sample, To form a second hypothesis prediction sample; and By combining the first hypothesis prediction samples and the second hypothesis prediction samples formed for the block, a combined hypothesis block for intra prediction is formed.

25. A method for encoding a video bitstream, the method comprising the steps of: forming a prediction sample block using the intra prediction block and the reconstructed image samples; subtracting the block of prediction samples from the block of image samples to form a block of residual samples; as well as forming a bitstream representing a block of residual samples and data representing an intra prediction block used to form respective prediction samples; At least one of the predicted sample blocks is formed using a predicted combined hypothesis block, and the predicted combined hypothesis block is formed in the following manner: applying a first intra prediction mode to the reconstructed image samples of the respective blocks to form first prediction samples and a plurality of respective first residual samples; applying a second intra prediction mode to the reconstructed image samples of the respective blocks to form second prediction samples and a plurality of respective second residual samples, wherein the second intra prediction mode is different from the first intra prediction mode; and forming a residual sample block by combining the first residual samples and the second residual samples; The second intra-frame prediction mode is not explicitly signaled in the bitstream, so that a decoder can infer the second intra-frame prediction mode based on the first intra-frame prediction mode.

Citation Information

Patent Citations

  • Video coding / decoding method for performing interframe prediction and device thereof

    CN105208385A

  • Video decoding method

    CN107613296A

  • Image encoding / decoding method and device, and recording medium storing bitstream

    WO2018026148A1