Method for encoding and decoding images of a video sequence and related device - Patents.com
The method enhances video compression by applying BDPCM mode to chrominance components in video sequences based on criteria, improving compression efficiency and data rates.
Patent Information
- Application Number
- JP2021577329
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-06-25
- Filing Date
- 2020-06-24
- Publication Date
- 2024-11-07
- Estimated Expiration
- 2040-06-24
AI Technical Summary
Existing video compression standards face challenges in optimizing the encoding and decoding of video sequences, particularly in improving image compression gain for chrominance components using Block Differential Pulse Code Modulation (BDPCM) modes.
A method and apparatus for encoding and decoding video sequences that involve dividing luminance and chrominance components into blocks, applying BDPCM mode to chrominance components when predetermined criteria are met, and encoding/decoding information to indicate the use of BDPCM mode, thereby enhancing image compression gain.
The proposed method improves image compression by selectively applying BDPCM mode to chrominance components based on criteria such as component size and format, resulting in enhanced data compression rates and efficiency.
Smart Images

Figure 0007579287000001 
Figure 0007579287000002 
Figure 0007579287000003
Abstract
Description
[Technical field]
[0001] The present invention relates generally to the technical field of video compression.
[0002] More particularly, it relates to a method and an associated apparatus for encoding and decoding images of a video sequence. [Background technology]
[0003] Video compression standards such as HEVC (e.g. "High Efficiency Video Coding" in "High Efficiency Video Coding, Coding Tools and Specification", Matthias Wien, Signals and Communication Technology, 2015) and post-HEVC standards describe steps for predicting the part of an image to be coded from a reference image, which can be located in the same image as the area under consideration (INTRA prediction mode) or in another image in the video sequence (INTER prediction mode).
[0004] The block pixel prediction mode is called BDPCM (short for "Block Differential Pulse Code Modulation") and involves predicting the value of an image pixel based on the values of one or several of its neighboring pixels. There are various alternatives of this mode. The first alternative is based on the prediction of the quantized residual, as described in "CE8-related: Quantized residual BDPCM, Marta Karczewicz, Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29 / WG 11, 14th Meeting: Geneva, CH, 19-27 March 2019". The second alternative is based on the values of reconstructed pixels within the considered area and is described in “CE8: BDPCM with horizontal / vertical predictor and independently decodable areas(test 8.3.1b), Mohsen Abdoli, Gordon Clare, Felix Henry, Pierrick Philippe, Joint Video Experts Team(JVET) of ITU-T SG 16 WP 3 and ISO / IEC JTC 1 / SC 29 / WG 11,13th Meeting:Marrakech,MA,9-18 Jan.2019”. Summary of the Invention [Means for solving the problem]
[0005] In this regard, the invention proposes a method for coding an image of a video sequence, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component being divided into blocks, the method comprising coding at least one block of the chrominance component using the so-called BDPCM mode.
[0006] By using the BDPCM mode to code blocks of chrominance components, the image compression gain can be improved.
[0007] Other non-limiting advantageous characteristics of the method according to the invention, taken individually or in any technically possible combination, are:
[0008] According to one embodiment, at least one block of the chrominance components can be coded using a BDPCM mode if certain criteria are met.
[0009] It is therefore possible to select the chrominance components to which the BDPCM mode can be applied, e.g. when these meet certain criteria.
[0010] For example, when the two components are of the same magnitude, the predetermined criterion is met.
[0011] The criterion may also be an encoding criterion indicating a choice made by an encoder adapted to execute this encoding method. This choice made by the encoder is for example the result of an analysis of a video sequence. The encoder's choice may therefore depend on a histogram, in other words a statistical graph, representing the pixel intensity distribution, i.e. the number of pixels per light intensity, in one or more images in the video sequence.
[0012] According to an embodiment, the encoding may further include encoding information indicating a BDPCM mode used to encode the block of chrominance components.
[0013] According to one embodiment, if certain criteria are met, an indicator signaling the use of the BDPCM mode is coded for that block of chrominance components.
[0014] According to another aspect, the invention also proposes a method for coding an image of a video sequence, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component being divided into blocks, comprising evaluating, for at least one block of the chrominance component, the so-called BDPCM mode and other modes for coding said block, selecting one of these modes for coding said block depending on the evaluation result, and encoding information representative of the mode selected for coding said block.
[0015] By evaluating the BDPCM mode for at least one block of chrominance components, the BDPCM mode can be applied if the evaluation result is satisfactory, thus improving the image compression gain. Therefore, if the evaluation does not produce a satisfactory result, the chrominance components for which the application of the BDPCM mode is not appropriate can be ignored.
[0016] According to an embodiment, if certain criteria are met, the BDPCM mode and the other mode may be evaluated for at least one block of the chrominance components.
[0017] According to one embodiment, the predetermined criterion may be met when said two components are of the same magnitude.
[0018] According to an embodiment, the encoding may further comprise encoding information conveying an image sampling format, said information indicating the magnitudes of said components.
[0019] According to one embodiment, the evaluation may involve encoding the considered block of the chrominance component according to the BDPCM mode on the one hand and according to the other mode on the other hand, and selecting whether the block is encoded according to the BDPCM mode or whether the block is encoded according to the other mode depending on other predetermined criteria (e.g., rate-distortion cost).
[0020] According to an embodiment, the method may further comprise evaluating, for at least one block of the luminance component, a so-called BDPCM mode and another mode for encoding said block of the luminance component, and depending on a result of the evaluation, encoding information representative of one of these modes for encoding said block of the luminance component.
[0021] According to one embodiment, the components preferably have the same block division scheme and image coding is performed block-wise.
[0022] Alternatively, image encoding can be done component-wise.
[0023] According to an embodiment, the encoding comprises the steps of: The method may further include encoding at least first information about the image indicating that a BDPCM mode can be used to encode at least one block of at least one component of the image, and if the first information indicates that a BDPCM mode can be used to encode at least one block of at least one component of the image, encoding at least second information about the image indicating that a BDPCM mode can be used to encode at least one block of a chrominance component of the image.
[0024] According to an embodiment, the method may include encoding an indicator for at least one block of chrominance components indicating that a BDPCM mode is used to encode the at least one block of chrominance components if, for the at least one block of chrominance components, second information about the image indicates that a BDPCM mode can be used to encode the at least one block of image chrominance components.
[0025] According to an embodiment, the method may include, for at least one block of a chrominance component, encoding an indicator for the block indicating that a BDPCM mode is used to encode the block of chrominance components if a criterion is met.
[0026] According to an embodiment, the image further includes a second chrominance component having the same division scheme as the other chrominance component, and when a BDPCM mode is selected for a block of the other chrominance component, the information regarding the block of the other chrominance component may include an indicator indicating that a BDPCM mode has been selected for the block of the other chrominance component and for the corresponding block of the second chrominance component, and a direction indicator specifying a block predictor for the block of the other chrominance component and for the corresponding block of the second chrominance component.
[0027] According to an embodiment, a block is formed of pixels and encoding the block using the BDPCM mode may comprise encoding, for at least one pixel of the block, a quantized value of the residual representing the difference between a first and a second value, the first value corresponding to the quantized value of the difference between the value of the pixel under consideration and a reference pixel whose position is conveyed by a given direction and the second value corresponding to the quantized value of the difference between said other pixel and another reference pixel conveyed by the given direction.
[0028] According to another aspect, the invention also provides a method for coding an image of a video sequence comprising at least two components, including a component representing luminance and a component representing chrominance, the luminance and chrominance components having the same block division scheme, the method comprising the steps of evaluating, for at least one block of the luminance component, a so-called BDPCM mode and another mode for coding said block, Also proposed is a method comprising: selecting one of the modes for encoding said block of luminance component and the corresponding block of chrominance component depending on the result of the evaluation; and encoding information representative of the selected mode for encoding the block of luminance component and the corresponding block of chrominance component.
[0029] Preferably, if the BDPCM mode is selected, the information relates to a block of the luminance component and includes an indicator indicating that the mode selected for the block of the luminance component and for the corresponding block of the chrominance component is the BDPCM mode, and a direction indicator for specifying a block predictor for the block of the luminance component and for the corresponding block of the chrominance component.
[0030] According to another aspect, the invention also proposes a method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component being divided into blocks, comprising decoding, for at least one block of the chrominance component, information indicating whether or not it has been coded using the so-called BDPCM mode.
[0031] If the image further comprises a second chrominance component having the same division scheme as the said chrominance component (i.e. the "first" chrominance component), the value decoded from said information can also be used to indicate whether the corresponding block of the second chrominance component is coded using a so-called BDPCM mode or not.
[0032] The decoded values from the information may also indicate a direction, whereby from each block predictor, a function of the direction, the block of the (first) chrominance component and the corresponding block of the second chrominance component can be decoded.
[0033] According to another aspect, the invention also proposes a method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component divided into blocks, comprising decoding first information representative of an encoding criterion and, if the value decoded from the information indicates that the encoding criterion is fulfilled, decoding second information indicating for at least one block of the chrominance component whether it has been coded using the so-called BDPCM mode or not.
[0034] Preferably, with regard to the last two above-mentioned aspects of the invention, the image may further comprise a second chrominance component having the same partitioning scheme as the other chrominance component, and the value decoded from the second information may also be used to indicate whether the corresponding block of the second chrominance component is coded using a so-called BDPCM mode or not, said value decoded from the second information may also indicate a direction, whereby from the respective block predictors a function of said direction, the block of the other chrominance component and the corresponding block of the second chrominance component may be decoded.
[0035] Preferably, the method may further comprise decoding further information for at least one block of chrominance components indicating whether it has been coded using a so-called BDPCM mode or not.
[0036] As mentioned above, the encoding criterion may for example represent a choice made by an encoder which has encoded said stream of video data. This choice made by the encoder may be the result of an analysis of the stream of video data.
[0037] According to another aspect, the invention also proposes a method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component divided into blocks, comprising: decoding at least first information relating to said image indicating whether a BDPCM mode can be used for decoding at least one block of at least one component of the image; and, if the first information indicates that a BDPCM mode can be used for decoding at least one block of at least one component of the image, decoding at least second information relating to said image indicating that a BDPCM mode can be used for decoding at least one block of the chrominance component of the image.
[0038] The method may further include, if the second information about the image indicates that a BDPCM mode can be used for decoding at least one block of image chrominance components, encoding an indicator for the at least one block of chrominance components indicating that a BDPCM mode can be used for decoding the block of chrominance components.
[0039] According to another aspect, the invention also proposes a method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a component representing luminance and a component representing chrominance, the luminance and chrominance components having the same block partitioning scheme, the method comprising: decoding first information representative of an encoding criterion; and, if a value decoded from the information indicates that the encoding criterion is fulfilled, decoding second information relating to at least one block of the luminance component indicating whether or not the block of the luminance component and the corresponding block of the chrominance component have been coded using the so-called BDPCM mode.
[0040] According to another aspect, the invention also proposes a device for encoding an image of a video sequence, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component being divided into blocks, the device comprising at least one microprocessor configured to perform a step of encoding at least one block of the chrominance component using the so-called BDPCM mode.
[0041] According to another aspect, the invention also proposes a device for decoding an encoded image from encoded video data, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component being divided into blocks, the device comprising at least one microprocessor configured to perform a step of decoding information indicating for at least one block of the chrominance component whether it has been coded using the so-called BDPCM mode or not.
[0042] Moreover, various other features of the present invention will be made apparent from the accompanying description taken in conjunction with the following drawings, which illustrate non-limiting embodiments of the invention. [Brief description of the drawings]
[0043] [Figure 1] Illustrates different color formats. [Diagram 2] 1 illustrates different color components according to a color format. [Diagram 3] 1 shows a first embodiment of an encoding method according to the invention; [Figure 4] 2 shows a second embodiment of the encoding method according to the invention. [Diagram 5] 3 shows a third embodiment of the encoding method according to the invention. [Figure 6] 4 illustrates a fourth embodiment of the encoding method according to the invention. [Figure 7] 5 illustrates a fifth embodiment of the encoding method according to the invention. [Figure 8] 1 shows a first embodiment of a decoding method according to the invention; [Figure 9] 2 shows a second embodiment of the decoding method according to the invention. [Figure 10] 2 illustrates an exemplary execution of the steps of an embodiment of an encoding / decoding method according to the present invention; [Figure 11] 1 illustrates diagrammatically an embodiment of an apparatus according to the invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0044] Figure 1 illustrates various sampling patterns that may be applied to the chrominance components of an image for a given color standard (e.g., the "YUV" or "YCbCr" standard). Conventionally, an image includes a luminance component (hereinafter, for simplicity, referred to as the "luminance component" or "luma"), denoted here by Y, and two chrominance components (hereinafter, for simplicity, referred to as the "chrominance components" or "chroma"). These latter are denoted in Figure 1 by Cb and Cr, respectively.
[0045] Figure 1 illustrates three formats for an image area consisting of eight pixels Pxi forming two blocks of 2 pixels by 2 pixels, each associated with a sampling pattern. Since human vision is less sensitive to color than to brightness, thus less chrominance information than luminance information is generally preserved without degrading the perceived quality of the image.
[0046] In the so-called 4:4:4 first format or first structure, none of the components are subsampled: each pixel Pxi contains three color components.
[0047] In the second format, the so-called 4:4:2, the chrominance components are subsampled every other pixel.
[0048] In the third format, the so-called 4:2:0, four pixels (two pixels * Only the chrominance components of the first pixel in a block (2 pixels) are retained.
[0049] Other formats exist and the above examples are not exhaustive.
[0050] Therefore, when the chrominance components Cb, Cr are subsampled, their magnitude is smaller than that of the luminance component Y, as illustrated in Fig. 2 for the 4:2:0 format. For example, in the case of the 4:2:0 format, the magnitude of the chrominance components Cb and Cr is divided by four with respect to the luminance magnitude.
[0051] Each component is divided into blocks BLC. The block division scheme can be the same for each of the components, as illustrated in Figure 2, or for one component in particular, or for one set of components.
[0052] In a first embodiment illustrated in FIG. 3, in step E1 it is proposed to code at least one block of the chrominance components according to the so-called BDPCM (Block Differential Pulse Code Modulation) mode, in particular if a predefined criterion CT is met.
[0053] Alternatively, the BDPCM mode may be applied by default, for example.
[0054] The data compression rate can be improved by applying the BDPCM mode to the chrominance. This mode can be applied in such a way that it does not add any further complexity to the coding method, if certain criteria are met. Various possible criteria are explained below.
[0055] These so-called coding criteria are not related to the quality of the compression itself, but rather to the decision of the encoder to use or not to use a certain tool based on considerations such as encoding time, the appropriateness of the tool for the type of content being encoded, energy consumption, or target data rate (this list is not exhaustive).
[0056] In other words, the coding criterion is a general choice of the encoder with respect to the coding context that may change from one content to another, or with respect to a target performance, and therefore differs from a criterion that is based only on local information specific to the block under consideration, or that is the result of an implementation choice made by the user.
[0057] As mentioned above, there are several alternatives to the BDPCM mode.
[0058] In a first alternative mode (called R-BDPCM) described in the aforementioned paper "CE8-related: Quantized residual BDPCM", directional information (e.g. an indicator) is coded for the luminance block under consideration if the luminance component of the block was coded according to a BDPCM mode. The indicator represents the vertical or horizontal direction.
[0059] In this first alternative mode, first, an INTRA type prediction is performed for the pixels of the block under consideration. This prediction is the same as that described in the HEVC standard. Therefore, if the direction indicator for the block corresponds to the horizontal direction, horizontal INTRA prediction is applied, i.e. the value of a pixel of the block under consideration (or of one of its components) is predicted from the value of the neighboring pixel to the left of this pixel. Otherwise, vertical INTRA prediction is applied, i.e. the value of a pixel of the block under consideration (or of one of its components) is predicted from the value of the neighboring pixel above this pixel. The value of a pixel of the luminance component of the prediction block under consideration, located on line i and column j of the block, is denoted by P(i,j), the pixels of a block being organized into lines and columns (i and j are integers).
[0060] Then, the prediction residual RES1 for each pixel P(i,j) is calculated as follows: RES1(i,j) = P(i,j) - PRED1(i,j) where PRED1(i,j) is a predictor equal to REFLEFT(i,j) the pixel to the left of P(i,j) when the specified prediction direction is horizontal, or REFTOP(ij) the pixel above P(i,j) when the specified prediction direction is vertical.
[0061] The calculated prediction residual RES1(i,j) is then quantized into a quantized residual denoted QRES1(i,j) for pixel P(i,j).
[0062] If the previous INTRA prediction is made horizontally, the so-called residual value R(i,j) is obtained as follows: R(i,0)=QRES1(i,0) For j ≠ 0, R(i,j) = QRES1(i,j) - QRES1(i,j-1).
[0063] If the previous INTRA prediction is made in the vertical direction, the value of R(i,j) is generated as follows: R(0,j) = QRES1(0,j) For i ≠ 0, R(i,j) = QRES1(i,j) - QRES1(i-1,j).
[0064] All values R(i,j) are then coded by known means, such as the coding of residual coefficients according to the HEVC standard.
[0065] During decoding of the coded data stream, if the prediction direction transmitted in the stream is horizontal, the quantized residual QRES1(i,j) is reconstructed as follows: QRES1(i,j) = Σ j k=0 R(i,k)
[0066] During decoding, when the prediction direction is vertical, the quantized residual QRES(i,j) is reconstructed as follows: QRES1(i,j) = Σ i k=0 R(k,j)
[0067] As a result, a reconstructed version REC1(i,j) of pixel P(i,j) can be reconstructed from the prediction direction and the quantized residual QRES1(i,j) by adding the quantized value QRES1(i,j) to the predictor PRED1(i,j).
[0068] In a second alternative mode (called S-BDPCM) described in the aforementioned paper “CE8: BDPCM with horizontal / vertical predictor and independently decordable areas (test 8.3.1b)”, directional information (e.g., an indicator) is also coded for the luminance component of the block under consideration. Similarly, the indicator represents the vertical or horizontal direction.
[0069] In this alternative mode, the pixels are processed one by one in a defined order. If the direction indicator corresponds to a horizontal prediction direction, the pixels in the first (left) column of the block are processed first, then the samples in the second column, and so on until the last column of the block. Within one column, the pixels can be processed in parallel or in a different order. A reference pixel, called predictor pixel PRED2(i,j), allows the prediction of the pixel under consideration in the ith line on the jth column. We obtain: PRED2(i,0) = REFLEFT(i) For j ≠ 0, PRED2(i,j) = REC2(i,j-1), where REFLEFT(i) is the reference pixel on the i-th line to the left of the block (i.e., belonging to the decoded neighboring block); REC2(i,j-1) is the reconstructed pixel of the block under consideration on the ith line and the (j-1)th column (ie, the pixel immediately to the left of the pixel under consideration).
[0070] If the direction indicator corresponds to a vertical prediction direction, all the pixels of the first line (top) of the block are processed, then all the samples of the second line, etc., up to the last line. Within the same line, pixels can be processed in parallel or in a different order. Similarly, the reference pixel, called predictor pixel PRED2(i,j), for predicting a pixel in the ith line on the jth column of the considered block is obtained as follows: PRED2(0,j) = REFTOP(j) For i ≠ 0, PRED2(i,j) = REC2(i-1,j), where REFTOP(i) is the reference pixel in the jth column above the block under consideration (i.e., belonging to the decoded neighboring block); REC2(i-1,j) is the decoded (or reconstructed) pixel of the block under consideration on the (i-1)th line and the jth column (hence, immediately above the current pixel).
[0071] The corresponding residual RES2(i,j) is then calculated by the difference between the original value of the pixel on the i-th line of the j-th column of the block under consideration and PRED(i,j).
[0072] The residual RES2(i,j) is quantized to obtain a quantized residual QRES2(i,j).
[0073] During decoding, the quantized residual obtained from the encoded video stream is transmitted to the decoder and then dequantized to obtain the dequantized residual DQRES2(i,j).
[0074] The reconstructed value REC2(i,j) of the pixel under consideration is then obtained by the formula: REC2(i,j)=PRED2(i,j)+DQRES2(i,j),PRED2(i,j). Note that REC2(i,j) is used to predict the next pixel in the pixel processing order.
[0075] We note that the first and second alternative modes are equivalent if the quantization used in the aforementioned alternative modes is a uniform scalar quantization. Indeed, we assume that the prediction is horizontal (same theory for vertical prediction) and uses a uniform scalar quantization pitch δ. In this case, according to the first alternative mode, the reconstructed pixel REC1(i,j) is written as follows: REC1(i,j)=REFLEFT(i)+Σ j k=0 QRES1(i,k) * δ
[0076] According to the second alternative mode, the reconstructed pixel REC2(i,j) is written as follows: REC2(i,j)=PRED2(i,j)+DQRES2(i,j) =REC2(i,j-1)+QRES2(i,j) * δ =REC2(i,j-2)+(QRES2(i,j-1)+QRES2(i,j)) * δ ... =REFLEFT(i)+Σ j k=0 QRES2(i,j) * δ
[0077] Therefore, in both cases the reconstructed pixel is equal to the value of the reference pixel REFLEFT(i) to which the sum of the quantized residual values of the previously reconstructed pixels is added, the quantization being multiplied by the pitch. In the following the term BDPCM will be used interchangeably to refer to one or the other of the alternative modes.
[0078] The predefined criterion CT to be met may be related to the color format of the image. For example, if an image or some images or all images in a video sequence are not subsampled, the coding of at least one block of the chrominance component of one or some images is performed using the BDPCM mode. Another predefined criterion CT may depend on the overall content of one or some images or the content of one of its components. The overall content may be analyzed by the encoder, for example using a histogram. Depending on the analysis, the encoder selects whether to perform a certain coding mode or not. For example, if an image or a component of an image contains an image of a certain format such as "Screen Content", the coding of at least one block of the chrominance component of this image is performed using the BDPCM mode. Another predefined criterion may be the gain obtained if the BDPCM mode is used to code the block of the chrominance component, i.e. whether this gain is higher than a predefined threshold value. The above list of criteria is not exhaustive. A person skilled in the art may use other criteria not listed here, including the coding of at least one block of the chrominance component of an image if it is fulfilled.
[0079] FIG. 4 illustrates another embodiment of the invention which, in addition to step E1, comprises a step E2 of encoding information indicating the BDPCM mode used to encode the block of chrominance components.
[0080] This information may be a binary indicator at the block level (i.e. for the block under consideration) which, when activated for a block of a chrominance component, indicates that the BDPCM mode is used to code that block.
[0081] Furthermore, the information about a block of a chrominance component can also be valid for its corresponding block of the other chrominance component if both chrominance components have the same block partitioning scheme. An indicator is signaled at the level of the block of the first chrominance component. In other words, an indicator indicates whether a BDPCM mode is used to code a block of the (first) chrominance component on the one hand and a corresponding block of the other (or second) chrominance component on the other hand.
[0082] Preferably, said information may further indicate the prediction direction, i.e. vertical or horizontal, as described above. As with the previous indicators, the direction information may be a binary indicator, conveyed only for the blocks of the first chrominance component and valid also for the corresponding blocks of the second differential component.
[0083] Figure 5 illustrates another embodiment of the invention. This embodiment includes a step E10 which comprises evaluating the BDPCM mode and other modes for coding the blocks of chrominance components, in particular when a reference CT is met. Alternatively, step E10 can be independent of the reference CT. In another alternative, if the division schemes of the luminance and chrominance components are the same, the evaluation can be performed on the corresponding luminance blocks, so that the selected mode can be used directly for coding the chrominance components.
[0084] The other mode may for example be a coding mode with only INTRA or INTER prediction modes, as mentioned in relation to the HEVC standard. Here, the evaluation involves coding the chrominance components of the block under consideration according to the BDPCM mode on the one hand and according to the other mode on the other hand. The block of chrominance components coded according to the BDPCM mode or according to the other mode is selected depending on another predetermined criterion. This other predetermined criterion may for example be a rate-distortion cost. If this cost is higher than a certain threshold, then in this case the BDPCM mode is not used for coding the chrominance components of the block under consideration.
[0085] Step E11 then involves encoding information representative of the other coding mode for the block of chrominance components, whereas step E12 involves encoding information representative of the BDPCM mode for coding the block of chrominance components.
[0086] Steps E11 and E12 may further comprise encoding information representative of a reference CT if the latter has been considered in the previous step. For example, if the criterion to be met is to have the same magnitude for the luminance and chrominance components, steps E11 and E12 may further comprise encoding information conveying the image sampling format. If this information indicates that the color format is 4:4:4, the reference CT is met, since in this format the color components have the same magnitude. For example, if the images of a video sequence may possibly be of format 4:4:4 or of format 4:2:0, the information may be a binary indicator which, when activated, conveys that the image (or the sequence, if it is used at sequence level) is of format 4:4:4.
[0087] Fig. 6 illustrates an embodiment of the coding of several components of a block of an image. The coding is now performed component by component. All blocks of the same component are coded before the blocks of the other components are coded. This embodiment is particularly adapted for cases where the components do not have the same partitioning scheme.
[0088] In a first step E400, a first component is considered, for example the luminance component. Then, for this selected luminance component, a first block is considered, E401. It is coded according to the method selected in step E402. For example, the method may involve evaluating the BDPCM mode and other modes, and then selecting the coded block that produces the lowest rate-distortion cost. During a test T2, it is checked that the coded block is the last block of the component. If this is not the case, the next block is processed in step E403, until finally all of the blocks of the luminance component are coded.
[0089] If the processed component is not the last one, then in a test T3, step E404, another component is obtained, for example the first chrominance component. Similarly, in step E401, a first block of a new component is selected. This block is then coded according to one of the methods described above. The coding can now be dependent on a predefined criterion CT. For example, the coding of this chrominance component can include evaluating the BDPCM mode and another mode if the color format of the image or the entire video sequence is 4:4:4.
[0090] Alternatively, if the chrominance and luma components have the same partitioning scheme, the blocks of the chrominance components can be coded using the mode selected for coding the corresponding blocks of the luma component, e.g., if the mode selected for a block of the luma component is a BDPCM mode, this is used by default to code the corresponding blocks of the chrominance components.
[0091] As mentioned above, if the processed block of chrominance components is not the last, test T2, the process continues with the next block E403. This process is repeated until all of the blocks of the last components have been processed, test 3.
[0092] The process can be repeated for all of the images that make up the video sequence.
[0093] Fig. 7 shows another embodiment of encoding several components of a block of an image. The encoding is performed here on a block-by-block basis. All components of the same block are encoded before the next block is encoded. For this embodiment, the components preferably have the same block division scheme.
[0094] During step E500, a first block is obtained (for example in the top left of the image). The processing order of the blocks is assumed here to be known. In step E501, the luminance component of this block is coded. Then, in step E502, a first chrominance component of this block is coded according to one of the methods described herein, possibly depending on a reference CT.
[0095] In step E503, the second chrominance component is coded according to one of the methods described above, possibly depending on a reference CT. Alternatively, the coding mode used for the first chrominance component of a block is by default used for coding the second chrominance component of that block.
[0096] If the processed block is not the last one, test T5, the next block is considered. The process is repeated until the last block.
[0097] Alternatively, assuming that the chrominance and luma components have the same partitioning scheme, the block chrominance can be coded using the mode selected for coding the block luma. For example, if the mode selected for coding the block luma component is a BDPCM mode, this is automatically used for coding the block chrominance component.
[0098] Alternatively, at least two components of the block under consideration are coded in parallel.
[0099] The process can be repeated for all of the images that make up the video sequence.
[0100] The encoding according to the embodiment of Figures 6 and 7 may in particular include encoding information indicating for each image or for the entire video sequence whether the criterion CT is met or not. This information may be an indicator of the colour format of that image or (all) images of the video sequence. For example, the indicator may convey whether the input image is of format 4:2:0 (criterion CT is not met) or of format 4:4:4 (criterion CT is met).
[0101] 6 and 7 may alternatively include encoding, for at least one image, first information indicating that a BDPCM mode can be used to code at least one block of at least one component of the image, and, if the first information indicates that a BDPCM mode can be used to code at least one block of at least one component of the image, encoding, for at least said image, second information indicating that a BDPCM mode can be used to code at least one block of a chrominance component of the image.
[0102] The first and second information can be associated with each image of the video sequence for better dynamics, or with the entire video sequence.
[0103] If the second information indicating that the BDPCM mode can be used for at least one block of the chrominance components is activated, an indicator can be coded for that block which, when activated, signals that the BDPCM mode can be used for that block.
[0104] Fig. 10 illustrates an exemplary embodiment of the first and second information at the image level. Here, four indicators FL1, FL2, FL3 and FL4 are considered. If indicator FL1 is activated (=1), then in this case the BDPCM mode can be used for at least one component of the image. If indicator FL2 is activated (=1), then in this case the BDPCM mode can be used for at least one block of the chrominance component of the image. If indicator FL2 is activated, then for at least one block of the chrominance component, indicator FL4 signals whether the BDPCM mode is used for coding of that block (=1) or not (=0). Another indicator FL3 can be used to signal the use of another coding mode. Alternatively, the other coding mode can be a default mode. In this case no indicator is used.
[0105] For example, for a first image IM1, indicators FL1 and FL2 are both activated. Indicators FL3 and FL4 for a block of the luminance component Y of this image IM1 can take the values 0 and 1, respectively, indicating that the BDPCM mode is used to code the block concerned. Indicators FL3 and FL4 for a block of the chrominance component, here Cb, of this image IM1 can take the values "0" and "1", respectively, indicating that the BDPCM mode is used to code the block concerned.
[0106] In another example, only the indicator FL1 is activated for the image IM2. The indicator FL2 is deactivated. As a result, the indicators FL3 and FL4 for one block of the luminance component Y of this image IM1 can take the values 0 and 1, respectively, indicating that the BDPCM mode is used to code the block concerned. For a block of the chrominance component of the image IM2, here Cb, only the indicator FL3 is coded, since the indicator FL2 does not allow the BDPCM mode to be used to code the block of the chrominance component. The indicator FL3 is activated, signaling that the INTRA mode is used for this block. When deactivated, other coding modes can be used (for example the INTER mode). Alternatively, no indicator is coded for this block of the chrominance component. The coding mode is the default mode.
[0107] If the BDPCM mode is not used in the image, the use of indicators FL1 and FL2 makes it possible to avoid the coding (and then decoding) of an indicator for each luminance and / or chrominance block.
[0108] Referring again to Figures 6 and 7, encoding according to the embodiments of these figures may include encoding information indicating whether the component splitting schemes for luma and chroma are the same for each image or for the entire video sequence. This indicator may convey a first splitting scheme for the luma component and a second splitting scheme for the two chroma components.
[0109] Furthermore, the coding of a block according to the embodiment of Figures 6 and 7 may include coding a coding direction (vertical or horizontal) if a BDPCM mode is selected for a component. This direction may be coded for the luma block and one chrominance component. The direction coded for the block of that chrominance component is by default valid for the corresponding block of the second chrominance component.
[0110] Encoding according to the embodiments of Figures 6 and 7 may further include encoding first information relating to the image, the first information being adapted to indicate whether a BDPCM mode can be used for encoding at least one component of at least one block of the image, and, if the first information indicates that a BDPCM mode can be used for encoding at least one component of the at least one block of the image, encoding second information relating to the image, the second information being adapted to indicate that a BDPCM mode can be used for encoding a chrominance component of the at least one block of the image.
[0111] Alternatively, the information may include a first indicator indicating the mode used for the block of the luminance component and a second indicator indicating the mode used for the block of the chrominance component.
[0112] Alternatively, this information may include one indicator that indicates the mode used for the blocks of luminance components and the mode used for the blocks of chrominance components.
[0113] Alternatively, the information may include a first indicator indicating the mode used for the block of the luminance component and one second indicator indicating the mode used for both blocks of the chrominance components.
[0114] Figures 8 and 9 illustrate two embodiments of a method for decoding a stream of coded data representative of images of a video sequence according to the invention, these figures corresponding to the embodiments of figures 6 and 7 respectively.
[0115] First, with reference to figure 8, the decoding is performed component by component. This embodiment may prior to this include a step E599 of decoding first coding information indicating, for the image (or video sequence) to which the component belongs, whether or not a BDPCM mode is used for the coding of at least one component of at least one block of the image. This first information corresponds to indicator FL1 in figure 10.
[0116] If the first information, when decoded, indicates that a BDPCM mode can be used for coding at least one component of at least one block of an image, second information about said image is decoded. This second information, which corresponds to indicator FL2 in Fig. 10, indicates that a BDPCM mode is used for coding a chrominance component of at least one block of the image.
[0117] Alternatively, the preliminary step E599 may include a predetermined criterion, for example decoding information representative of the color format of the image under consideration (or of all images of a video sequence). Depending on the obtained color format, a BDPCM mode may or may not have been used for the coding of the chrominance component of the block, and for this block of chrominance components corresponding information can be decoded.
[0118] After this preliminary step E599, which may be optional, the decoding is now performed component-wise: all blocks of the same component are decoded before the blocks of the other component are decoded.
[0119] In a first step E600, coded data representative of a first component, for example the luminance component, is considered. Then, in step E601, coded data of a first block in the decoding order for this luminance component is considered. During step E602, information (for example indicators FL3, FL4 in FIG. 10) can be decoded, which indicates for this block of the luminance component whether it is coded using the BDPCM mode or another mode.
[0120] Depending on the value of the information, the luminance component block is decoded in one mode or the other. During test T6, it is checked that the decoded block is not the last of the components to be processed. If this is not the case, processing continues with the next block in step E603, until finally all blocks of the luminance component have been decoded.
[0121] If the processed component is not the last, then in a test T7, step E604, coded data of another component, for example the first chrominance component, is obtained. Similarly, coded data for the first block of a new component are selected in step E601. Information representative of the coding mode used for the block of chrominance components under consideration can be decoded (for example indicator FL3 of FIG. 10, or indicators FL3, FL4). If this is permitted by the second information decoded in step E599, this information representative of the coding mode can convey a BDPCM mode. If this is not permitted by the second information decoded in step E599, this information representative of the coding mode can convey another mode, as explained in relation to FIG. 10.
[0122] Alternatively, if not permitted by the second information decoded in step E599, the coding mode used may be a default mode, for example the INTRA mode.
[0123] Alternatively, if the chrominance and luma components have the same partitioning scheme, the chrominance blocks can be decoded using the mode used to encode their corresponding blocks in the luma component.
[0124] As mentioned above, if the processed block of the chrominance component is not the last, test T6, the process continues with the next block E603. The process is repeated, test T7, until the complete block of the last component has been processed.
[0125] The process is now repeated so that all of the encoded data of the video data stream has been processed.
[0126] Fig. 9 illustrates another embodiment of decoding several components of a block of an image. The decoding is now performed block by block. All components of the same block are decoded before the next block is decoded. For this embodiment, the components preferably have the same partitioning scheme.
[0127] As with the embodiment shown in FIG. 8, the method may include a preliminary step E699 similar to step E599 described above.
[0128] After this preliminary step E699 (which may be optional), the coded data corresponding to the first block is obtained, E700. The block processing order is assumed here to be known. Information indicating the coding mode used to code the luminance component is decoded (e.g. FL3, FL4). In step E701, the luminance component of this block is decoded from this decoded coding mode information.
[0129] Next, information is decoded that indicates the coding mode that was used to code the chrominance components of the block concerned (eg FL3, FL4 or only FL3).
[0130] Alternatively, the information decoded during the decoding of the luminance component may also indicate the coding mode of the chrominance components of the block under consideration, if it is decoded, for example in two bits, or by being the default mode for all components of the block concerned.
[0131] The first chrominance component of this block is then decoded, in step E702, using the mode indicated by the coded information, which may be a BDPCM mode.
[0132] In step E703, the second chrominance component is decoded according to one of the methods described above. Alternatively, the coding mode used for the first chrominance component of a block is automatically used for the decoding of the second chrominance component of that block.
[0133] If the processed block is not the last one, test T5, the next block is considered. The process is repeated until the last block.
[0134] Alternatively, at least two components of the block under consideration are decoded in parallel. The process is then repeated such that all of the encoded data of the video data stream has been processed.
[0135] According to a particular embodiment of the invention illustrated by Fig. 11, the steps of the encoding method are implemented by computer program instructions. For that purpose, the encoding device 800 or the decoding device 900 has a conventional architecture of a computer and in particular comprises a memory MEM 801, 901, a processing unit UT 802, 902 equipped, for example, with at least one microprocessor P1 and operated by a computer program Pg 803 stored in the memory MEM. The computer program Pg contains instructions for carrying out the steps of the encoding or decoding method mentioned above when the program is executed by the microprocessor.
[0136] At initialization, the code instructions of the computer program Pg are for example loaded into a RAM and then executed by the processor, which in turn executes in particular the steps of the aforementioned encoding or decoding methods among their various alternatives according to the instructions of the computer program Pg.
[0137] The devices 800, 900 may be arranged in such a way that they cooperate with at least the following modules of the terminal ET: a data transmission / reception module E / R by which the binary stream or the compressed file FC is transmitted over a telecommunications network, for example a wired or wireless network, and a module M for storing the image or image sequence to be encoded, the resulting encoded data stream / file, or the decoded image or image sequence.
[0138] According to an embodiment, an apparatus 800 for encoding an image of a video sequence, the image comprising at least two components, a component representing luminance and a component representing chrominance, each component being divided into blocks, the apparatus 800 comprising at least one microprocessor configured to perform encoding of at least one block of the chrominance component using the so-called BDPCM mode.
[0139] According to an embodiment, an apparatus 800 for encoding an image of a video sequence, the image comprising at least two components, a component representing luminance and a component representing chrominance, each component being divided into blocks, comprises at least one microprocessor configured to perform the steps of evaluating, for at least one block of the chrominance component, the so-called BDPCM mode and other modes for encoding said block, selecting one of the modes for encoding said block depending on the result of the evaluation, and encoding information representative of the mode selected for encoding said block.
[0140] According to an embodiment, an apparatus 900 for decoding an encoded image from a stream of encoded video data, the image comprising at least two components, a component representing luminance and a component representing chrominance, each component being divided into blocks, the apparatus 900 comprising at least one microprocessor configured to perform a step of decoding information indicating for at least one block of the chrominance component whether it has been encoded using the so-called BDPCM mode or not.
[0141] Of course, the invention can be modified in many other ways within the scope of the appended claims. [Configuration 1] 1. A method for coding an image of a video sequence, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component being divided into blocks; A method comprising (E1) encoding at least one block of said chrominance components using the so-called BDPCM mode. [Configuration 2] 2. The method of claim 1, wherein at least one block of the chrominance component is coded using the BDPCM mode if a predetermined criterion (CT) is met. [Configuration 3] 3. The method of claim 2, wherein the criterion is an encoding criterion indicative of a selection made by an encoder adapted to perform the encoding method. [Configuration 4] 4. The method of claim 3, wherein the selection made by the encoder is the result of an analysis of the video sequence. [Configuration 5] 3. The method of claim 2, wherein the predetermined criterion is met if the two components are of the same magnitude. [Configuration 6] 2. The method of claim 1, wherein the encoding further comprises encoding information indicating the BDPCM mode used to encode the block of the chrominance component. [Configuration 7] 3. The method of claim 2, wherein an indicator signaling the use of the BDPCM mode is coded for the block of the chrominance component if the predetermined criterion is met. [Configuration 8] 1. A method for coding an image of a video sequence, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component being divided into blocks; - evaluating (E10) for at least one block of said chrominance components so-called BDPCM modes and other modes for coding said block; selecting one of the modes for encoding the block depending on a result of the evaluation, and encoding information representative of the mode selected for encoding the block (E11, E12). [Configuration 9] 9. The method of claim 8, wherein the BDPCM mode and the other mode are evaluated for at least one block of the chrominance components if a predetermined criterion (CT) is met. [Configuration 10] 10. The method of claim 9, wherein the predetermined criterion (CT) is met when the two components have the same magnitude. [Configuration 11] 11. The method of claim 10, wherein the encoding further comprises encoding information conveying a sampling format of the image, the information indicating a magnitude of the components. [Configuration 12] 9. The method of claim 8, wherein the evaluation includes encoding the considered block of the chrominance component according to the BDPCM mode on the one hand and according to the other mode on the other hand, and selecting whether the block is encoded according to the BDPCM mode or whether the block is encoded according to the other mode depending on other predetermined criteria. [Configuration 13] 9. The method of claim 8, further comprising: for at least one block of the luminance component, evaluating the so-called BDPCM mode and the other mode for encoding the block of the luminance component; and depending on a result of the evaluation, encoding information representative of one of the modes for encoding the block of the luminance component. [Configuration 14] The method according to configuration 8 or 13, wherein the components have the same block division scheme, and the image coding is performed on a block-by-block basis (E500 to E504). [Configuration 15] The method according to claim 8 or 13, wherein the image encoding is performed for each component (E400 to E404). [Configuration 16] The encoding step comprises the steps of: 9. The method of claim 8, further comprising: encoding at least first information about the image indicating that the BDPCM mode can be used to encode at least one block of at least one component of the image; and if the first information indicates that the BDPCM mode can be used to encode at least one block of at least one component of the image, encoding at least second information about the image indicating that the BDPCM mode can be used to encode at least one block of the chrominance component of the image. [Configuration 17] 17. The method of claim 16, further comprising: if, for at least one block of the chrominance component, the second information about the image indicates that the BDPCM mode can be used to encode the at least one block of the image chrominance component, encoding an indicator for the at least one block of the chrominance component indicating that the BDPCM mode is used to encode the block of the chrominance component. [Configuration 18] 10. The method of claim 9, further comprising: encoding, for at least one block of the chrominance component, an indicator for the block indicating that the BDPCM mode is used to encode the block of the chrominance component if the criterion is satisfied. [Configuration 19] 9. The method of claim 8, wherein the image further includes a second chrominance component having the same division scheme as the other chrominance component, and when the BDPCM mode is selected for the block of the other chrominance component, the information about the block of the other chrominance component includes an indicator indicating that the BDPCM mode has been selected for the block of the other chrominance component and the corresponding block of the second chrominance component, and a direction indicator specifying a block predictor for the block of the other chrominance component and the corresponding block of the second chrominance component. [Configuration 20] 9. The method of encoding according to claim 1 or 8, wherein the block is formed of pixels and the encoding of the block using the BDPCM mode comprises encoding, for at least one pixel of the block, a quantized value of a residual representing the difference between a first and a second value, the first value corresponding to the quantized value of the difference between the value of the pixel under consideration and a reference pixel whose position is conveyed by a given direction and the second value corresponding to the quantized value of the difference between the other pixel and another reference pixel conveyed by the given direction. [Configuration 21] A method for coding an image of a video sequence, said image comprising at least two components including a component representing luminance and a component representing chrominance, said luminance and chrominance components having the same block division scheme, comprising evaluating, for at least one block of said luminance component, a so-called BDPCM mode and another mode for coding said block; selecting one of the modes for encoding the block of the luminance component and the corresponding block of the chrominance component depending on a result of the evaluation, and encoding information representative of the mode selected for encoding the block of the luminance component and the corresponding block of the chrominance component; The method includes: [Configuration 22] 22. The method of claim 21, wherein if the BDPCM mode is selected, the information includes an indicator for the block of the luma component indicating that the mode selected for the block of the luma component and for the corresponding block of the chroma component is the BDPCM mode, and a direction indicator specifying a block predictor for the block of the luma component and for the corresponding block of the chroma component. [Configuration 23] A method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component being divided into blocks, the method comprising: decoding (E601, E701) information indicating whether or not at least one block of the chrominance component has been encoded using a so-called BDPCM mode. [Configuration 24] 24. The method of claim 23, wherein the image further comprises a second chrominance component having the same division scheme as the chrominance component, and the value decoded from the information is also used to indicate whether the corresponding block of the second chrominance component is coded using a so-called BDPCM mode. [Configuration 25] 25. The method of claim 24, wherein the value decoded from the information also indicates a direction, whereby from each block predictor, a function of the direction, the block of the chrominance component and the corresponding block of the second chrominance component can be decoded. [Configuration 26] 1. A method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component divided into blocks, comprising: decoding first information representative of an encoding criterion; and, if a value decoded from said information indicates that the encoding criterion is fulfilled, decoding second information indicating, for at least one block of the chrominance component, whether it has been encoded using a so-called BDPCM mode. [Configuration 27] 27. The method of claim 26, wherein the image further comprises a second chrominance component having the same division scheme as the other chrominance component, and the value decoded from the second information is also used to indicate whether the corresponding block of the second chrominance component is coded using a so-called BDPCM mode. [Configuration 28] 28. The method of claim 27, wherein the value decoded from the second information also indicates a direction, whereby from each block predictor, a function of the direction, the block of the other chrominance component and the corresponding block of the second chrominance component can be decoded. [Configuration 29] 27. The method of claim 26, further comprising decoding further information for at least one block of the chrominance component that indicates whether it is coded using a so-called BDPCM mode. [Configuration 30] 27. The method of claim 26, wherein the encoding criteria indicates a selection made by an encoder that encoded the stream of video data. [Configuration 31] 31. The method of claim 30, wherein the selection made by the encoder is the result of an analysis of the video data stream. [Configuration 32] 1. A method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component divided into blocks, the method comprising: decoding at least first information (FL1) relating to the image indicating whether the BDPCM mode can be used for decoding at least one block of at least one component of the image; and if the first information indicates that the BDPCM mode can be used for decoding at least one block of the at least one component of the image, decoding at least second information (FL2) relating to the image indicating that the BDPCM mode can be used for decoding at least one block of the chrominance component of the image. [Configuration 33] 33. The method of claim 32, further comprising: if the second information about the image indicates that the BDPCM mode can be used to decode at least one block of the image chrominance component, encoding an indicator (FL4) for the at least one block of the chrominance component indicating that the BDPCM mode can be used to decode the block of the chrominance component. [Configuration 34] 1. A method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a component representing luminance and a component representing chrominance, the luminance and chrominance components having the same block partitioning scheme, the method comprising: decoding first information representative of an encoding criterion; and, if a value decoded from said information indicates that the encoding criterion is met, decoding second information relating to at least one block of the luminance component indicating whether or not the block of the luminance component and the corresponding block of the chrominance component have been coded using a so-called BDPCM mode. [Configuration 35] 1. An apparatus (800) for encoding an image of a video sequence, said image comprising at least two components including a component representing luminance and a component representing chrominance, each component being divided into blocks, said apparatus comprising at least one microprocessor configured to perform a step of encoding at least one block of said chrominance component using the so-called BDPCM mode. [Configuration 36] 1. An apparatus (900) for decoding an encoded image from encoded video data, the image comprising at least two components including a component representing luminance and a component representing chrominance, each component being divided into blocks, the apparatus comprising at least one microprocessor configured to perform a step of decoding information indicating whether or not at least one block of the chrominance component has been coded using the so-called BDPCM mode.
Claims
1. 1. A method for coding an image of a video sequence, the image comprising at least two components including a luminance component representing luminance and a first chrominance component representing chrominance, each component being divided into blocks; coding (E1) at least one block of said first chrominance component using the so-called BDPCM mode, the image further includes a second chrominance component having the same division scheme as the first chrominance component; the encoding further comprises encoding information indicative of the BDPCM mode used to encode the block of the first chrominance component and to encode the corresponding block of the second chrominance component. method.
2. The method of claim 1 , wherein at least one block of the first chrominance component is coded using the BDPCM mode if a predetermined criterion (CT) is met.
3. The method of claim 2 , wherein the criterion is an encoding criterion indicative of a choice to be made by an encoder adapted to perform the method of encoding.
4. The method of claim 3 , wherein the selection made by the encoder is a result of an analysis of the video sequence.
5. 3. The method of claim 2, wherein if the predetermined criterion is met, an indicator signaling the use of the BDPCM mode is coded for the block of the first chrominance component.
6. 2. The method of claim 1, wherein the at least one block is formed of pixels, and the encoding comprises encoding, for at least one pixel of the block, a quantized value of a residual representing a difference between a first value and a second value, the first value corresponding to a quantized value of a difference between the value of the at least one pixel and a reference pixel whose position is determined based on a direction, and the second value corresponding to another quantized value of another difference between another pixel and another reference pixel whose position is determined based on the direction.
7. A method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a luminance component representing brightness and a chrominance component representing color difference, each component being divided into blocks, the method comprising: decoding (E601, E701) information indicating whether or not at least one block of the chrominance component has been encoded using a so-called BDPCM mode; said image further comprising a second chrominance component having the same division scheme as said chrominance component, and the value decoded from said information is also used to indicate whether the corresponding block of said second chrominance component has been coded using a so-called BDPCM mode or not; method.
8. 8. The method of claim 7, wherein the values decoded from the information also indicate a direction, whereby from each block predictor, the block of the chrominance component and the corresponding block of the second chrominance component can be decoded as a function of the direction.
9. 1. A method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a luminance component representing brightness and a chrominance component representing color difference, each component being divided into blocks, comprising: decoding first information representing an encoding criterion; and, if a value decoded from the first information indicates that the encoding criterion is fulfilled, decoding second information for at least one block of the chrominance component indicating whether it has been coded using a so-called BDPCM mode.
10. 10. The method of claim 9, wherein the image further comprises a second chrominance component having the same division scheme as the chrominance component, and wherein the value decoded from the second information is also used to indicate whether a corresponding block of the second chrominance component is coded using a so-called BDPCM mode or not.
11. 11. The method of claim 10, wherein the values decoded from the second information also indicate a direction, thereby enabling a block of the chrominance component and a corresponding block of the second chrominance component to be decoded from respective block predictors as a function of the direction.
12. 10. The method of claim 9, further comprising decoding further information for at least one block of the chrominance components indicating whether it has been coded using a so-called BDPCM mode or not.
13. The method of claim 9 , wherein the encoding criteria indicates a selection made by an encoder that encoded the stream of video data.
14. The method of claim 13 , wherein the selection made by the encoder is a result of an analysis of the stream of video data.
15. 1. A method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a luminance component representing brightness and a chrominance component representing color difference, each component divided into blocks, the method comprising: decoding at least first information (FL1) relating to the image indicating whether a BDPCM mode can be used for decoding at least one block of at least one component of the image; and if the first information indicates that the BDPCM mode can be used for decoding at least one block of the at least one component of the image, decoding at least second information (FL2) relating to the image indicating that the BDPCM mode can be used for decoding at least one block of the chrominance component of the image.
16. 16. The method of claim 15, further comprising: if the second information about the image indicates that the BDPCM mode can be used for decoding at least one block of the chrominance component of the image, encoding an indicator (FL4) for the at least one block of the chrominance component indicating that the BDPCM mode can be used for decoding the block of the chrominance component.
17. 1. A method for decoding an encoded image from a stream of encoded video data, the image comprising at least two components including a luminance component representing brightness and a chrominance component representing color difference, the luminance and chrominance components having the same block partitioning scheme, the method comprising: decoding first information representative of an encoding criterion; and, if a value decoded from said information indicates that the encoding criterion is met, decoding second information for at least one block of the luminance component indicating whether the block of the luminance component and a corresponding block of the chrominance component have been coded using a so-called BDPCM mode.
18. A device (800) for coding an image of a video sequence, said image comprising at least two components including a luminance component representing luminance and a first chrominance component representing chrominance, each component being divided into blocks, comprising at least one microprocessor configured to perform a step of coding at least one block of said chrominance components using the so-called BDPCM mode, the image further includes a second chrominance component having the same division scheme as the first chrominance component; the at least one microprocessor is configured to perform the steps of: encoding the block of the first chrominance component; and encoding information indicative of the BDPCM mode used to encode a corresponding block of the second chrominance component. Device.
19. A device (900) for decoding an encoded image from encoded video data, said image comprising at least two components including a luminance component representing brightness and a chrominance component representing color difference, each component being divided into blocks, said device comprising at least one microprocessor configured to perform a step of decoding, for at least one block of said chrominance components, information indicating whether it has been encoded using the so-called BDPCM mode or not, the image further comprises a second chrominance component having the same division scheme as the first chrominance component, and the at least one processor is configured to also use a value decoded from the information to indicate whether a corresponding block of the second chrominance component has been coded using a so-called BDPCM mode. Device.
Citation Information
Patent Citations
Method for Residual Differential Pulse Code Modulation of HEVC Range Extension
JP2016540458A
Quantization process for residual difference pulse code modulation
JP2017513311A
Quantized residual differential pulse code modulation representation of coded video.
JP2022529369A
Residual colour transform signalled at sequence level for specific coding modes
US20160100175A1
Quantized residual differential pulse code modulation representation of coded video
WO2020219733A1
