Differential quantization-constrained correction filter

The quantization-constrained correction filter addresses the issue of information loss and sub-optimal MSE in image and video coding by ensuring the filtered image block adheres to quantization constraints, thereby improving image quality and fidelity.

WO2025108861A1PCT designated stage expired Publication Date: 2025-05-30INTERDIGITAL CE PATENT HOLDINGS SAS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2024/082641
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-23
Filing Date
2024-11-18
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

Existing image and video coding schemes face challenges in accurately reconstructing image blocks after filtering, as filters like deblocking and adaptive loop filters can lose information and violate quantization constraints, leading to sub-optimal mean squared error (MSE) and loss of detail.

Method used

A quantization-constrained correction filter is applied to the image block after reconstruction and filtering, which converts the filtered block back to prediction residuals, corrects the transform coefficients to satisfy quantization constraints, and then converts them back to the image domain, ensuring the filtered image block adheres to these constraints.

Benefits of technology

This approach ensures that the reconstructed and filtered image block is closer to the original in terms of MSE, while preserving the filtering effect, thus preventing information loss and maintaining image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024082641_30052025_PF_FP_ABST
    Figure EP2024082641_30052025_PF_FP_ABST
Patent Text Reader

Abstract

A method is disclosed for correcting an image block, comprising: A reconstructed image block is filtered (S1702) to obtain a filtered image block. A block of difference transform coefficients is obtained (S1704) from the filtered image block and another image block. A correction function is applied (S1706) on the block of difference transform coefficients to obtain a block of corrected transform coefficients. The block of difference transform coefficients is subtracted (S1708) from the block of corrected transform coefficients to obtain a block of correction coefficients. The block of correction coefficients is inverse transformed (S1710) to obtain a correction block. A corrected filtered image block is obtained (S1712) based on the correction block.
Need to check novelty before this filing date? Find Prior Art

Description

[0001]DIFFERENTIAL QUANTIZATION-CONSTRAINED CORRECTION FILTER CROSS REFERENCE TO RELATED APPLICATIONS This application claims the benefit of European Application No. 23307036.6, filed on November 23, 2023 which is incorporated herein by reference in its entirety. TECHNICAL FIELD At least one of the present embodiments generally relates to a method and an apparatus for correcting an image block after reconstruction and filtering. BACKGROUND To achieve high compression efficiency, image and video coding schemes usually employ prediction and transform to leverage spatial and temporal redundancy in the video content. Generally, intra or inter prediction is used to exploit the intra or inter picture correlation, then the differences between the original block and the predicted block, often denoted as prediction errors or prediction residuals, are transformed, quantized, and entropy coded. To reconstruct the video, the compressed data are decoded by inverse processes corresponding to the entropy coding, quantization, transform, and prediction. SUMMARY In one implementation, a correction is applied on a reconstructed image block after at least one filtering to obtain a corrected image block. In an example, the correction is a quantization- constrained correction. In an example, the correction of the filtered image block uses a non- filtered version of the reconstructed image block or a prediction block. In an example, an inverse transform is applied to a difference between corrected and uncorrected blocks of transform coefficients, and the result is summed with the uncorrected filtered image block. In other examples, correction is skipped in the case where correction has no effect or has a small effect. BRIEF DESCRIPTION OF THE DRAWINGS FIG.1 illustrates a block diagram of a system within which aspects of the present embodiments may be implemented; FIG.2 illustrates a block diagram of an embodiment of a video encoder; FIG.3 illustrates a block diagram of an embodiment of a video decoder; FIG.4A illustrates quantization and dequantization of a transform coefficient ; FIG.4B illustrates quantization and dequantization of a transform coefficient ; FIG.5 depicts a flowchart of a method for reconstructing an image block according to a specific example; FIG. 6 depicts a flowchart of a method for correcting an image block after reconstruction and filtering according to a specific example ; FIGs 7-8 illustrate examples of a correction function ; and FIGs 9-17 depict flowcharts of a method for correcting an image block after reconstruction and filtering according to various examples. DETAILED DESCRIPTION This application describes a variety of aspects, including tools, features, embodiments, models, approaches, etc. Many of these aspects are described with specificity and, at least to show the individual characteristics, are often described in a manner that may sound limiting. However, this is for purposes of clarity in description, and does not limit the application or scope of those aspects. Indeed, all of the different aspects can be combined and interchanged to provide further aspects. Moreover, the aspects can be combined and interchanged with aspects described in earlier filings as well. The aspects described and contemplated in this application can be implemented in many different forms. FIGs. 1, 2 and 3 below provide some embodiments, but other embodiments are contemplated and the discussion of FIGs. 1, 2 and 3 does not limit the breadth of the implementations. At least one of the aspects generally relates to video encoding and decoding, and at least one other aspect generally relates to transmitting a bitstream generated or encoded. These and other aspects can be implemented as a method, an apparatus, a computer readable storage medium having stored thereon instructions for encoding or decoding video data according to any of the methods described, and / or a computer readable storage medium having stored thereon a bitstream generated according to any of the methods described. In the present application, the terms “reconstructed” and “decoded” may be used interchangeably, the terms “encoded” or “coded” may be used interchangeably, the terms “pixel” and “sample” may be used interchangeably and the terms “image,” “picture” and “frame” may be used interchangeably. Usually, but not necessarily, the term “reconstructed” is used at the encoder side while “decoded” is used at the decoder side. In the present application, the terms “dequantization” and “scaling” may be used interchangeably. Various methods are described herein, and each of the methods comprises one or more steps or actions for achieving the described method. Unless a specific order of steps or actions is required for proper operation of the method, the order and / or use of specific steps and / or actions may be modified or combined. Additionally, terms such as “first”, “second”, etc. may be used in various embodiments to modify an element, component, step, operation, etc., such as, for example, a “first decoding” and a “second decoding”. Use of such terms does not imply an ordering to the modified operations unless specifically required. So, in this example, the first decoding need not be performed before the second decoding, and may occur, for example, before, during, or in an overlapping time period with the second decoding. For the sake of clarity, satisfying, failing to satisfy a condition and configuring condition parameter(s) are described throughout embodiments described herein as relative to a threshold (e.g., greater, or lower than), a (e.g., threshold) value, configuring the (e.g., threshold) value, etc.). For example, satisfying a condition may be described as being above a (e.g., threshold) value, and failing to satisfy a condition (e.g., performance criteria) may be described as being below a (e.g., threshold) value. Embodiments described herein are not limited to threshold- based conditions. Any kind of other condition and parameter(s) (such as e.g., belonging or not belonging to a range of values) may be applicable to embodiments described herein. The present aspects are not limited to VVC or HEVC, and can be applied, for example, to other standards and recommendations, whether pre-existing or future-developed, and extensions of any such standards and recommendations (including VVC and HEVC). Unless indicated otherwise, or technically precluded, the aspects described in this application can be used individually or in combination. FIG. 1 illustrates a block diagram of an example of a system in which various aspects and embodiments can be implemented. System 100 may be embodied as a device including the various components described below and is configured to perform one or more of the aspects described in this application. Examples of such devices, include, but are not limited to, various electronic devices such as personal computers, laptop computers, smartphones, tablet computers, digital multimedia set top boxes, digital television receivers, personal video recording systems, connected home appliances, and servers. Elements of system 100, singly or in combination, may be embodied in a single integrated circuit, multiple ICs, and / or discrete components. For example, in at least one embodiment, the processing and encoder / decoder elements of system 100 are distributed across multiple ICs and / or discrete components. In various embodiments, the system 100 is communicatively coupled to other systems, or to other electronic devices, via, for example, a communications bus or through dedicated input and / or output ports. In various embodiments, the system 100 is configured to implement one or more of the aspects described in this application. The system 100 includes at least one processor 110 configured to execute instructions loaded therein for implementing, for example, the various aspects described in this application. Processor 110 may include embedded memory, input output interface, and various other circuitries as known in the art. The system 100 includes at least one memory 120 (e.g., a volatile memory device, and / or a non-volatile memory device). System 100 includes a storage device 140, which may include non-volatile memory and / or volatile memory, including, but not limited to, EEPROM, ROM, PROM, RAM, DRAM, SRAM, flash, magnetic disk drive, and / or optical disk drive. The storage device 140 may include an internal storage device, an attached storage device, and / or a network accessible storage device, as non-limiting examples. System 100 includes an encoder / decoder module 130 configured, for example, to process data to provide an encoded video or decoded video, and the encoder / decoder module 130 may include its own processor and memory. The encoder / decoder module 130 represents module(s) that may be included in a device to perform the encoding and / or decoding functions. As is known, a device may include one or both of the encoding and decoding modules. Additionally, encoder / decoder module 130 may be implemented as a separate element of system 100 or may be incorporated within processor 110 as a combination of hardware and software as known to those skilled in the art. Program code to be loaded onto processor 110 or encoder / decoder 130 to perform the various aspects described in this application may be stored in storage device 140 and subsequently loaded onto memory 120 for execution by processor 110. In accordance with various embodiments, one or more of processor 110, memory 120, storage device 140, and encoder / decoder module 130 may store one or more of various items during the performance of the processes described in this application. Such stored items may include, but are not limited to, the input video, the decoded video or portions of the decoded video, the bitstream, matrices, variables, and intermediate or final results from the processing of equations, formulas, operations, and operational logic. In some embodiments, memory inside of the processor 110 and / or the encoder / decoder module 130 is used to store instructions and to provide working memory for processing that is needed during encoding or decoding. In other embodiments, however, a memory external to the processing device (for example, the processing device may be either the processor 110 or the encoder / decoder module 130) is used for one or more of these functions. The external memory may be the memory 120 and / or the storage device 140, for example, a dynamic volatile memory and / or a non-volatile flash memory. In several embodiments, an external non-volatile flash memory is used to store the operating system of a television. In at least one embodiment, a fast external dynamic volatile memory such as a RAM is used as working memory for video coding and decoding operations, such as for MPEG-2, (MPEG refers to the Moving Picture Experts Group, MPEG-2 is also referred to as ISO / IEC 13818, and 13818-1 is also known as H.222, and 13818-2 is also known as H.262), HEVC (HEVC refers to High Efficiency Video Coding, also known as H.265 and MPEG-H Part 2), or VVC (Versatile Video Coding, a new standard being developed by JVET, the Joint Video Experts Team). The input to the elements of system 100 may be provided through various input devices as indicated in block 105. Such input devices include, but are not limited to, (i) a radio frequency (RF) portion that receives an RF signal transmitted, for example, over the air by a broadcaster, (ii) a Component (COMP) input terminal (or a set of COMP input terminals), (iii) a Universal Serial Bus (USB) input terminal, and / or (iv) a High Definition Multimedia Interface (HDMI) input terminal. Other examples, not shown in FIG.1, include composite video. In various embodiments, the input devices of block 105 have associated respective input processing elements as known in the art. For example, the RF portion may be associated with elements suitable for (i) selecting a desired frequency (also referred to as selecting a signal, or band-limiting a signal to a band of frequencies), (ii) down converting the selected signal, (iii) band-limiting again to a narrower band of frequencies to select (for example) a signal frequency band which may be referred to as a channel in certain embodiments, (iv) demodulating the down converted and band-limited signal, (v) performing error correction, and (vi) demultiplexing to select the desired stream of data packets. The RF portion of various embodiments includes one or more elements to perform these functions, for example, frequency selectors, signal selectors, band-limiters, channel selectors, filters, downconverters, demodulators, error correctors, and demultiplexers. The RF portion may include a tuner that performs various of these functions, including, for example, down converting the received signal to a lower frequency (for example, an intermediate frequency or a near-baseband frequency) or to baseband. In one set-top box embodiment, the RF portion and its associated input processing element receives an RF signal transmitted over a wired (for example, cable) medium, and performs frequency selection by filtering, down converting, and filtering again to a desired frequency band. Various embodiments rearrange the order of the above-described (and other) elements, remove some of these elements, and / or add other elements performing similar or different functions. Adding elements may include inserting elements in between existing elements, for example, inserting amplifiers and an analog-to-digital converter. In various embodiments, the RF portion includes an antenna. Additionally, the USB and / or HDMI terminals may include respective interface processors for connecting system 100 to other electronic devices across USB and / or HDMI connections. It is to be understood that various aspects of input processing, for example, Reed-Solomon error correction, may be implemented, for example, within a separate input processing IC or within processor 110 as necessary. Similarly, aspects of USB or HDMI interface processing may be implemented within separate interface ICs or within processor 110 as necessary. The demodulated, error corrected, and demultiplexed stream is provided to various processing elements, including, for example, processor 110, and encoder / decoder 130 operating in combination with the memory and storage elements to process the datastream as necessary for presentation on an output device. Various elements of system 100 may be provided within an integrated housing, Within the integrated housing, the various elements may be interconnected and transmit data therebetween using suitable connection arrangement 115, for example, an internal bus as known in the art, including the I2C bus, wiring, and printed circuit boards. The system 100 includes communication interface 150 that enables communication with other devices via communication channel 190. The communication interface 150 may include, but is not limited to, a transceiver configured to transmit and to receive data over communication channel 190. The communication interface 150 may include, but is not limited to, a modem or network card and the communication channel 190 may be implemented, for example, within a wired and / or a wireless medium. Data is streamed to the system 100, in various embodiments, using a Wi-Fi network such as IEEE 802.11 (IEEE refers to the Institute of Electrical and Electronics Engineers). The Wi-Fi signal of these embodiments is received over the communications channel 190 and the communications interface 150 which are adapted for Wi-Fi communications. The communications channel 190 of these embodiments is typically connected to an access point or router that provides access to outside networks including the Internet for allowing streaming applications and other over-the-top communications. Other embodiments provide streamed data to the system 100 using a set-top box that delivers the data over the HDMI connection of the input block 105. Still other embodiments provide streamed data to the system 100 using the RF connection of the input block 105. As indicated above, various embodiments provide data in a non-streaming manner. Additionally, various embodiments use wireless networks other than Wi-Fi, for example a cellular network or a Bluetooth network. The system 100 may provide an output signal to various output devices, including a display 165, speakers 175, and other peripheral devices 185. The display 165 of various embodiments includes one or more of, for example, a touchscreen display, an organic light-emitting diode (OLED) display, a curved display, and / or a foldable display. The display 165 can be for a television, a tablet, a laptop, a cell phone (mobile phone), or other device. The display 165 can also be integrated with other components (for example, as in a smart phone), or separate (for example, an external monitor for a laptop). The other peripheral devices 185 include, in various examples of embodiments, one or more of a stand-alone digital video disc (or digital versatile disc) (DVR, for both terms), a disk player, a stereo system, and / or a lighting system. Various embodiments use one or more peripheral devices 185 that provide a function based on the output of the system 100. For example, a disk player performs the function of playing the output of the system 100. In various embodiments, control signals are communicated between the system 100 and the display 165, speakers 175, or other peripheral devices 185 using signaling such as AV. Link, CEC, or other communications protocols that enable device-to-device control with or without user intervention. The output devices may be communicatively coupled to system 100 via dedicated connections through respective interfaces 160, 170, and 180. Alternatively, the output devices may be connected to system 100 using the communications channel 190 via the communications interface 150. The display 165 and speakers 175 may be integrated in a single unit with the other components of system 100 in an electronic device, for example, a television. In various embodiments, the display interface 160 includes a display driver, for example, a timing controller (T Con) chip. The display 165 and speaker 175 may alternatively be separate from one or more of the other components, for example, if the RF portion of input 105 is part of a separate set-top box. In various embodiments in which the display 165 and speakers 175 are external components, the output signal may be provided via dedicated output connections, including, for example, HDMI ports, USB ports, or COMP outputs. The embodiments can be carried out by computer software implemented by the processor 110 or by hardware, or by a combination of hardware and software. As a non-limiting example, the embodiments can be implemented by one or more integrated circuits. The memory 120 can be of any type appropriate to the technical environment and can be implemented using any appropriate data storage technology, such as optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memory, and removable memory, as non-limiting examples. The processor 110 can be of any type appropriate to the technical environment, and can encompass one or more of microprocessors, general purpose computers, special purpose computers, and processors based on a multi-core architecture, as non-limiting examples. FIG. 2 illustrates an example video encoder 200, such as a VVC (Versatile Video Coding) encoder. FIG. 2 may also illustrate an encoder in which improvements are made to the VVC standard or an encoder employing technologies similar to VVC. Before being encoded, the video sequence may go through pre-encoding processing (201), for example, applying a color transform to the input color picture (e.g., conversion from RGB 4:4:4 to YCbCr 4:2:0), or performing a remapping of the input picture components in order to get a signal distribution more resilient to compression (for instance using a histogram equalization of one of the color components). Metadata can be associated with the pre- processing and attached to the bitstream. In the encoder 200, a picture is encoded by the encoder elements as described below. The picture to be encoded is partitioned (202) and processed in units of, for example, CUs (Coding Units). Each unit is encoded using, for example, either an intra or inter mode. When a unit is encoded in an intra mode, it performs intra prediction (260), e.g. using an intra-prediction tool such as Decoder Side Intra Mode Derivation (DIMD). In an inter mode, motion estimation (275) and compensation (270) are performed. The encoder decides (205) which one of the intra mode or inter mode to use for encoding the unit, and indicates the intra / inter decision by, for example, a prediction mode flag. Prediction residuals are calculated, for example, by subtracting (210) the predicted block (a.k.a. prediction block) from the original image block. The prediction residuals are then transformed (225) into transform coefficients c (a.k.a prediction residual transform coefficients) which are quantized (230) into quantization indexes ^^^(a.k.a transform coefficient levels or quantized transform coefficients on the encoder side). The quantization levels (a.k.a quantization indexes) ^^^, as well as motion vectors and other syntax elements such as the picture partitioning information, are entropy coded (245) to output a bitstream. The encoder can skip the transform and apply quantization directly to the non-transformed residual signal. The encoder can bypass both transform and quantization, i.e., the residual is coded directly without the application of the transform or quantization processes. The encoder decodes an encoded block to provide a reference for further predictions. The quantized transform coefficients are de-quantized (240) (a.k.a. scaled) and inverse transformed (250) to decode prediction residuals. Combining (255) the decoded prediction residuals and the predicted block, an image block is reconstructed. In-loop filters (265) are applied to the reconstructed picture to perform, for example, deblocking / SAO (Sample Adaptive Offset) / ALF (Adaptive Loop Filter) filtering to reduce encoding artifacts. The filtered image is stored in a reference picture buffer (280). In-loop filters (265) are thus used to enhance reconstructed images before storing them in the reference picture buffer (280). In-loop filters form a whole family. Among them, deblocking filters (DBF) aim at reducing blocking artifacts occurring along block boundaries. Deblocking filters are usually designed to improve subjective quality, that is, the noticeability of such coding errors by the human psychovisual system. In usual video coding standards such as HEVC and VVC, deblocking filters are predetermined based on coding information (such as prediction modes, motion vectors, transform coefficients) and on local variations across block boundaries. On the other hand, adaptive loop filters (ALF) are learnt at encoder side in order to minimize a mean squared error with respect to source images, then the learned filter weights are encoded into the bitstream. Adaptive loop filters are usually applied at CTU-level, while deblocking filters are applied along block borders. In VVC and in ECM, the Adaptive Loop Filter (ALF) is the last in-loop filter that is applied to the reconstructed frame. It typically uses as input the samples of the reconstructed picture after all the other filters (e.g. DBF, SAO) have been applied. In some examples, the samples before deblocking filters are used as additional inputs for ALF. A final ALF sample may thus be obtained by weighting the regular ALF and the filter applied to the samples before the deblocking filter. Specifically, a filtered sample may be derived as follows : ^ଽ ଶ^ ே ^^^^^^,^^^ ൌ ^^^^^,^^^ ^ ^ ^ ^^ ^^^^^^ ^ ^^ ^ and a current sample ^^^^^,^^^, ^^^is a difference (e.g. a clipped difference) between an intermediate sample and the current sample ^^^^^,^^^and ℎ^,^is a difference (e.g. a clipped difference)between a neighboring sample before DBF and the current sample ^^^^^,^^^ . The filtercoefficients ^^^ , ^^ ൌ 0, … 24 may be signaled in the bitstream.FIG. 3 illustrates a block diagram of an example video decoder 300. In the decoder 300, a bitstream is decoded by the decoder elements as described below. Video decoder 300 generally performs a decoding pass reciprocal to the encoding pass as described in FIG. 2. The encoder 200 also generally performs video decoding as part of encoding video data. In particular, the input of the decoder includes a video bitstream, which can be generated by video encoder 200. The bitstream is first entropy decoded (330) to obtain quantization levels ^^^(a.k.a. transform coefficient levels or quantization levels on the decoder side), prediction modes, motion vectors, and other coded information. The picture partition information indicates how the picture is partitioned. The decoder may therefore divide (335) the picture according to the decoded picture partitioning information. The quantization levels ^^^are de- quantized (340) into reconstructed transform coefficients ^^^. De-quantization is also named scaling. The reconstructed transform coefficients ^^^are inverse transformed (350) to obtain the prediction residuals. Combining (355) the prediction residuals and the predicted block (a.k.a. prediction block), an image block is reconstructed. The predicted block can be obtained (370) from intra prediction (360) or motion-compensated prediction (i.e., inter prediction) (375). In- loop filters (365) are applied to the reconstructed image. The filtered image is stored at a reference picture buffer (380). Note that, for a given picture, the contents of the reference picture buffer 380 on the decoder 300 side is identical to the contents of the reference picture buffer 280 on the encoder 200 side for the same picture. The decoded picture can further go through post-decoding processing (385), for example, an inverse color transform (e.g., conversion from YCbCr 4:2:0 to RGB 4:4:4) or an inverse remapping performing the inverse of the remapping process performed in the pre-encoding processing (201). The post-decoding processing can use metadata derived in the pre-encoding processing and signaled in the bitstream. HEVC and VVC standards specify conventional independent scalar quantization with Uniform Reconstruction Quantizers (URQs). The reconstructed transform coefficients ^^^of URQs are defined as integer multiples of a quantization step size ∆ (a.k.a. quantization step) which depends on a quantization parameter (QP). This integer specifies the associated transform coefficient level, which is transmitted in the bitstream as quantization levels ^^^(a.k.a as quantization index). On the decoder side, given a quantization level ^^^and a quantization step size ∆, a reconstructed transform coefficient ^^^may be obtained as follows : ^^^ ൌ ^^ି^൫^^^൯ ൌ ^^^ ൈ Δ (1)On the encoder side, given coefficient or more precisely a prediction residual transform coefficient) and a quantization step size ∆, a quantization level ^^^may be generated as follows : ^^^ ൌ ^^^^^^ ൌ ⌊^^^^^^^^^^ / ^^ ^ ^^⌋ ൈ ^^^^^^^^^^ ^2^where ⌊. ⌋ is a floor operation (i.e. rounding to a lower integer), ^^^^^^ is an absolute value, ^^^^^^is the sign function (i.e. returns 1 if c>0, -1 if c<0 and 0 if c=0), and ^^ is a parameter such that 0<a<1. With this quantization method, every quantization level ^^^is associated withquantization bounds ^^^^^^ொ൫^^^൯ and ^^^^^^ொ൫^^^൯ such that an original coefficient ^^ between^^^^^^ொ൫^^^൯and ^^^^^^ொ൫^^^൯ assuming this quantization method is usedby a quantization level ^^^, an original coefficient ^^ associated with ^^ ^is known to be between ^^^^^^ொ൫^^^൯ and ^^^^^^ொ൫^^^൯, as illustrated in FIG. 4A. In the case of uniform quantization with quantization step size Δ and parameter ^^, the inferior and superior quantization bounds may be defined as follows: ൫^^^ െ ^^^ ൯ ൈ ^^ ^^^^ ^^ ^ 0^^^^^^ொ൫^^^൯ ൌ ^ ^௫ ^(3) ^^^ ^^^^ ^ with minimum offset ^^^^^ and maximum offset ^^^^௫ defined as ^^^^^ ൌ െ^^ and ^^^^௫ ൌ 1 െ^^ . This parameterization of the quantization bounds and reconstruction values is furtherillustrated in FIG.4B. The encoder may use alternative strategies to select the quantization levels ^^^. For example, rate distortion optimized quantization (RDOQ) optimizes the quantization levels accounting not only for the distortion (i.e., MSE), but also for the rate. In this case, it is no longer guaranteed that the original coefficients ^^ are between the bounds ^^^^^^ொ൫^^^൯ and ^^^^^^ொ൫^^^൯. In the following, ^^ is assumed to be bounded by ^^^^^^ொ൫^^^൯ and ^^^^^^ொ൫^^^൯, where ^^^^^^ொ൫^^^൯ and ^^^^^^ொ൫^^^൯ can be determined on the decoder side knowing the quantization level ^^^, the scalar ^^ (a.k.a. scalar quantization operation) and its quantization parameter (QP). If the encoder uses quantization strategies that may break this assumption, such as RDOQ, the method remains applicable. Let us define a quantization constraint by the following equation: ^^^^^௫^ ൌ ^^^ ^5^where ^^ is a scalar quantization operation (a.k.a scalar quantizer), ^^^is the quantization level of a prediction residual transform coefficient c, and ^^௫is a reconstructed value of the corresponding transform coefficient c. When no in-loop or out-of-loop filter is applied to a reconstructed picture, each reconstructed transform coefficient ^^௫ is obtained as ^^௫ ൌ ^^^. Since^^^ ൌ ^^ି^^^^^^, its value is between the quantization bounds ^^^^^^൫^^^൯ and ^^^^^^൫^^^൯ as depictedon Therefore, in this case, the quantization is satisfied.Assuming that each quantization level is determined by the encoder as ^^^ ൌ ^^^^^^, where ^^ isthe original (unquantized) coefficient, then ^^^^^^^ ൌ ^^^^^^, which is a necessary condition toreconstruct the original coefficient ^^ without error. More generally, the absolute error |^^^ െ ^^|between a reconstructed coefficient and the corresponding original coefficient is such that 0 ^|^^^ െ ^^| ^ ^^^^^^ொ൫^^^൯ െ ^^^^^^ொ൫^^^൯. the reconstructed picture (e.g., with DBF, SAO, ALF, etc.), each coefficient ^^௫is defined as ^^௫=^^^, where ^^^is the corresponding prediction residual transform coefficient of the reconstructed and filtered picture (^^^may not be computed explicitly in video coding). In this case, the above quantization constraint may not be satisfied anymore by ^^௫, resulting in a loss of information. For example, the DBF filter improves the subjective quality by removing block discontinuities, but it may also remove some details in the filtered area at the borders of the blocks. As a result, for some coefficients, we may have ^^^ > ^^^^^^ொ൫^^^൯ or ^^^ ^ ^^^^^^ொ൫^^^൯ , and thus ^^൫^^^൯ ് ^^^ . Said otherwise, the quantizationconstraint is not necessarily satisfied in This results in a sub-optimal MSE of the filtered picture since the corresponding original coefficient ^^ is expected to be in the range ^^^^^^^^^൫^^^^൯, ^^^^^^^^൫^^^^൯൧. Thus, ^^^ is necessarily different from the original coefficient ^^ (i.e. the error ห^^^ െ ^^ห is not bounded by ^^^^^^ொ൫^^^൯ െ ^^^^^^ொ൫^^^൯. Although theALF filter is designed to reduce the MSE between the and filtered picture, it does not guarantee that the quantization constraint ^^൫^^^൯ ൌ ^^^ is satisfiedfor every coefficient ^^^, hence potentially leading to sub- given that the quantization levels ^^^are known to both the encoder and the decoder. Applying a quantization-constrained correction on the prediction residual transform coefficients of the filtered picture ensures that the reconstructed and filtered picture is closer to the original picture in terms of MSE. The goal is to prevent the filters from losing information that could be inferred from the quantized transform coefficients signaled in the bitstream, while still preserving the filtering effect. To this aim, a quantization-constrained correction may be applied to an image block ^^^obtained by filtering a block ^^^previously obtained using conventional reconstruction steps as illustrated by FIGs 5 and 6. FIG. 5 depicts a flowchart of a method for reconstructing an image block according to a specific embodiment. At step S500, quantization levels ^^^of a current block are dequantized to obtain reconstructed coefficients ^^^ ൌ ^^ି^^^^^^. Each quantization level ^^^ is assigned a position within the currentblock. The quantization levels ^^^may be obtained by entropy decoding encoded data representative of the image block to be reconstructed. In an example, the dequantization is a scalar dequantization by a dequantization function ^^ି^which is parameterized by a quantization parameter QP. At step S502, an inverse transform ^^ି^is applied to the reconstructed coefficients ^^^in order to obtain a prediction residual block. At step S504, an image block ^^^is reconstructed as the sum of the prediction residual block obtained at step S502 and a prediction block ^^^^^^^^. As mentioned with reference to FIG.2, the prediction block ^^^^^^^^ may be obtained by intra prediction or motion compensation of blocks of pictures stored in the reference picture buffer. At step S506, the reconstructed block ^^^may be filtered. The filters may be of various types, e.g. a deblocking filter, SAO, ALF, etc. The filtered block is denoted ^^^. FIG.6 depicts a flowchart of a method for correcting an image block after reconstruction and filtering according to a specific exmaple. The correction, also called quantization constrained correction and denoted QC, is applied to the image block ^^^. The correction QC first converts ^^^at S600 back to prediction residuals and compute transform coefficients ^^^at S602 in order to correct the values of these coefficients using a correction step S604. The correction stepS604 ensures that the quantization constraint ^^൫^^^^൯ ൌ ^^^ is satisfied for the correctedtransform coefficient ^^^^ . The corrected transform coefficients ^^^^ are then converted back atS606 to obtain the corrected block ^^ொ^ிusing the inverse transform ^^ି^and the summation with the prediction block at S608. The steps of the correction QC are further detailed hereafter: At S600, ^^^is converted back to prediction residuals. To this aim, the prediction block pred is subtracted from the filtered image block ^^^in order to obtain a filtered prediction residual block. The prediction ^^^^^^^^ is equal to the prediction used at S504 in the reconstruction stage depicted on FIG.5. Therefore, the prediction block ^^^^^^^^ does not have to be computed again using the codec’s prediction mechanisms. Instead, the prediction block may be stored in a buffer during the reconstruction and reused for the QC correction. At S602, the filtered prediction residual block is then converted back to the transform domainusing the forward transform ^^ . In the case where several types of transforms or inversetransforms may be applied (e.g., DCT-II, DST-7, DCT-8), the QC correction uses the forwardtransform ^^ of the same type as the inverse transform ^^ି^ used at S502 during thereconstruction stage. For example, if a block X is reconstructed using the inverse of the DCT- II at S502, its corresponding block (i.e. the block of transform coefficients ^^^obtained from ^^^) in the QC correction is transformed with forward DCT-II. The forward transform thus produces a new block of prediction residual transform coefficients ^^^, named more simply transform coefficients ^^^, each located at a given position within the block. Each transform coefficient ^^^can thus be associated with the quantization level ^^^used during the reconstruction stage, and which is located at the same position within the block. At S604, each transform coefficient ^^^of the block of prediction residual transform coefficientsis corrected to obtain a block of corrected prediction residual transform coefficients ^^^^ , namedmore simply corrected transform coefficient ^^^^ . Its corrected version ^^^^ is computed as ^^^^ ൌ^^^^^^^^^ொ^.^ୀ^^൧^^^^^, where ^^^^^^^^^ொ^.^ୀ^^^is a correction function (also called projection functiononto the quantization constraint). This correction function ensures that the constraint ^^൫^^^^ ൯ ൌ^^^is satisfied, where ^^^is the quantization level associated with ^^^, and where ^^ is quantizer associated with the scalar dequantizer ^^ି^used in the reconstruction stage at S500. The correction function can be defined as follows: ^^^^^^^^^ொ^.^ୀ^^^^^^^^ ൌ min^max ^^^^ , ^^^^^^ொ൫^^^൯^, ^^^^^^ொ൫^^^൯^ (6)This function is a correctedtransform coefficient ^^^^ is always between the quantization bounds ^^^^^^ொ൫^^^൯ and ^^^^^^ொ൫^^^൯ ofthe quantization level ^^^ for the quantizer ^^. Hence ^^^^ satisfies ^^൫^^^^ ൯ already within the quantization bounds, no correction is applied ^^^^ ൌ ^^^), which preservesthe filtering effect. The correction function in Equation 6 is defined to enforce the quantization constraint whilealso minimizing the squared error ൫^^^^ െ ^^ଶ ^൯between the corrected and the uncorrected coefficient. However, other functions may be used. For example, a more general clippingfunction can be defined as ^^^^ ൌ min^max ^^^^, ^^^^^^, ^^^^௫^ where the clipping bounds ^^^^^,^^^^௫ may be computed similarly to ^^^^^^ொ൫^^^൯ and ^^^^^^ொ൫^^^൯ using Equations 3 and 4respectively, but where the parameters ^^^^^and ^^^^௫are set independently of the parameter ^^. For example, ^^^^^and ^^^^௫may be pre-determined parameters known to both the encoderand decoder. Note that using ^^^^^ and ^^^^௫ such that െ^^ ^ ^^^^^ ^ ^^^^௫ ^ 1 െ ^^ ensuresthat ^^^^^^ொ൫^^^൯ ^ ^^^^^ ^ ^^^^௫ ^ ^^^^^^ொ^^^^^ . Hence, assuming that ^^^ is computed with theencoder, using such values of ^^^^and ^^ still ^ ^^௫ensures that the quantization constraint ^^൫^^^^ ൯ ൌ ^^^ is satisfied (since ^^^^^^ொ൫^^^൯ ^ ^^^^^ ^^^^^ ^ ^^^^௫ ^ ^^^^^^ொ^^^^^). If other quantization methods are used by the encoder (e.g., RDOQ),it may be difficult to enforce the constraint ^^൫^^^^൯ ൌ ^^^ in practice (e.g., the quantization Qmay be computationally extensive, or may many parameters that are unknown to the decoder). Hence, for simplicity in such cases, a correction function may still be defined as a clipping function between bounds ^^^^^and ^^^^௫, which enforces a simpler constraint ^^^^௫^^^^^ ^ ^^^^^. However, in rate-distortion based quantization methods such as RDOQ, the original coefficient may not be between the bounds ^^^^^^ொ൫^^^൯ and ^^^^^^ொ൫^^^൯ defined in Equations 3 and 4. Hence, the clipping bounds ^^^^^, ^^^^௫may be computed using parameters ^^^^^and ^^^^௫that do not necessarily satisfy the condition െ^^ ^ ^^^^^ ^ ^^^^௫ ^ 1 െ ^^.In another example, a smooth version of the correction function ^^^^^^^^^ொ^.^ୀ^^^may be used such as: ^^^ ൌ ^^ ⋅ tanh^^ି^ ^^^^ ^ ^^, (7)with a scale ^^ ൌ^௨^ೂ^^^^ି^^^ೂ^^^^ and an ଶ ଶ . This smooth function is illustrated and ^^ ^^௫may be used instead of the inferior and superior bounds ^^^^^^ொ൫^^^൯ and ^^^^^^ொ^^^^^ respectively for the computation of the scale and offset parameters ^^ and After enforcing the quantization-constraint in the residual transform domain, the correctedtransform coefficients ^^^^ are converted back to the image domain to obtain a final correctedimage block ^^ொ^ி. This is performed by first applying the inverse transform again at S606 to obtain a block of corrected prediction residuals. The same inverse transform ^^ି^is used as in the reconstruction stage at S502. Finally, at S608, the prediction block ^^^^^^^^ is added back to the block of corrected prediction residuals to obtain a corrected image block ^^ொ^ிwhich satisfies the quantization constraint. Computing the quantization constrained correction filter on a picture region that is larger than a single transform block (e.g. CTU, picture or slice) requires the prediction of all the blocks within the region to be available. However, in conventional video coding, a prediction block is only required during the reconstruction step of the corresponding transform block. Therefore, the prediction of the full region may not be stored for later use in the conventional pipeline. Applying the QC correction filter illustrated on FIG.6 thus requires additional storage for the prediction of the full region. In contrast, a method for decoding is described below with reference to FIG. 9 that makes it possible to perform QC correction filtering using the non-filtered reconstructed image block ^^^instead of the prediction block ^^^^^^^^. Since in-loop filters other than the first filter applied (i.e., DBF), such as ALF, may already use the samples before deblocking filter (i.e., samples of the non-filtered reconstructed picture), these samples can be reused when computing the proposed QC correction on the full region, without requiring additional storage. FIG.9 depicts a flowchart of a method for correcting an image block after reconstruction and filtering according to a specific example. Compared to the example depicted on FIG. 6, the transform coefficients ^^^may be computed without using the prediction block ^^^^^^^^ explicitly.Instead, a block of difference transform coefficients ^^^′ (also called filtering differencetransform coefficients) may be computed first, by a forward transform T at S702 to a difference block obtained at S700 as the difference between the filtered image block ^^^and the non-filtered image block ^^^, i.e. the reconstructed image block ^^^obtained prior to the filtering (S506) of FIG.5.Given that ^^^ െ ^^^ ൌ ൫^^^ െ ^^^^^^^^൯ െ ^^^^ െ ^^^^^^^^^, and assuming that the transform ^^ is alinear operation, the following equation may be derived : ^^൫^^^ െ ^^^൯ ൌ ^^^^^^ െ ^^^^^^^^^ െ ^^^^^^ െ ^^^^^^^^^ (8)Since the transform of thedequantized quantization levels of the block Qି^^^^^^ , Equation (8) can be written in thetransform domain as ^^ᇱ ൌ ^^ െ Qି^^^^ ^. Dequanti ି^^ ^ ^ zed quantization levels of the block Q ^^^^^being obtained at S704, each transform coefficient ^^^of the block may thus be obtained (e.g. computed) at S706 as follows: ^^ ൌ ᇱ ି^^ ^^^ ^ Q ^^^^^ (9)Said otherwise, the block of transform coefficients ^^^is obtained by adding the block of dequantized quantization levels Qି^^^^^^ to the block of difference transform coefficients ^^^′. Since the reconstruction step depicted in FIG.5 already computes the reconstructed transformcoefficients ^^^ as ^^^ ൌ ^^ି^^^^^^ at S500, the value of ^^ି^^^^^^ may be reused instead of beingrecomputed within the QC correction step. Said otherwise, S704 may be bypassed, e.g. skipped. At S708, a correction function may then be applied to the block of transform coefficients ^^^toobtain a corresponding block of corrected transform coefficients ^^^^ , where the correctionfunction may be defined for example as in Equation 6 or Equation 7. The correction function of Equation 6 corresponds to a clipping of the transform coefficients ^^^to ensure they arebetween ^^^^^^ொ൫^^^൯ and ^^^^^^ொ൫^^^൯ which are the quantization bounds associated with the quantization level ^^^.At S710, each corrected transform coefficient ^^^^ of the block may then be converted back to ablock of corrected difference transform coefficients ^^^^ ′ (also called corrected filteringdifference transform coefficients) obtained as ^^^^ ′ ൌ ^^^^ െ Qି^^^^^^.Said otherwise, the block of corrected ^^^^ ′ is obtained bysubtracting the block of dequantized quantization levels Qି^^^^^^ from the block of correctedtransform coefficients ^^^^ .At S712, the block of corrected difference transform coefficients ^^^^ ′ is inverse transformed byapplying a transform T-1to obtain a corrected difference block. T-1is the inverse of the transform T applied at S702. At S714, the final corrected image block ^^ொ^ிmay then be obtained by summing the output of S712, i.e. the corrected difference block, with the non-filtered reconstructed image block ^^^. In a variant, the difference transform coefficients ^^^′ may be obtained by first computing separately the transforms of the filtered image block ^^^and of the non-filtered reconstructed image block ^^^. The difference transform coefficients ^^^′ are then obtained as the difference between the transform coefficients of ^^^and those of ^^^. FIG.10 depicts a flowchart of a method for correcting an image block after reconstruction and filtering according to another specific example. The steps of the method that are identical to the steps of FIG. 9 are identified with the same numeral references. In particular, the method comprises the steps S700, S702, S712 and S714. In this example, the difference transformcoefficients ^^^′ may be directly corrected at S709 as ^^^ ᇱ^ ൌ ^^^^^^^^′^^^^′^ , where ^^^^^^^^′ is amodified correction function that may avoid the conversion steps from ^^^′ to ^^^ and from ^^^^to ^^^^ ′. Following the description of FIG.9 and FIG. 10, the modified correction function ^^^^^^^^′can be generally defined from the correction function ^^^^^^^^^ொ^.^ୀ^^൧as follows: ^^^ᇱ^ ൌ ^^^^^^^^ᇱ൫^^^′൯ ൌ ^^^^^^^^^ொ^.^ୀ^^൧ ^^^ᇱ^ ^ ^^ି^൫^^^൯^ െ ^^ି^൫^^^൯ (10)However, dequantized quantization level ^^ି^൫^^^൯ is not required to compute ^^^^ᇱ. For example, using the correction function in Equation 6, the corresponding modified correction function ^^^^^^^^ᇱmay be defined as follows : ^^^^^^^^ᇱ൫^^^′൯ ൌ min ൬max ^^^^ᇱ,Δ^^^ொ ൫^^ ^௨^^൯^ ,Δொ ൫^^^൯^ ^11^where Δ ொொof the filtering associated with a quantization level ^^^. These bounds may be defined from the inferior and superior quantization bounds as Δ^^^ொ ൫^^^൯ ൌ ^^^^^^ொ൫^^^൯ െ^^ି^൫^^^௨^ ି^^^^ ^௨^^൯ and Δொ ൫^^^൯ ൌ ^^^^^^ொ൫^^^൯ െ ^^ ൫^^^൯. However, the bounds Δொ(^^^^ and Δொ^^^^^ dequantized quantization level ൫^^^൯. For example, when ^^^^^^ொ൫^^^൯ and ^^^^^^ொ൫^^^൯ aredefined according to Equations 3 and 4 respectively, and given ^^^^ ^, then the computation of the bounds can be simplified as Δ^^௫ ^ 01^^^ ^ொ ൫^^^൯ ൌ ^ ^Δ^^ ^and ^^^ ^^^ ^^^ ^ 0െΔ^^ொ ൫^^൯ ൌ ^ ^^^ ^^^^ ^^ ^ 0Δ^௨^ ^ ^^Δ^^ ^^^^ ^^. Hence, the value level ^^ 0Furthermore, in the case where ^^^^௫ ൌ െ^^^^^ and ^^^^^ ൌ െ1 / 2), then we may directly computethe bounds as Δொ (^^^^ ൌ Δ ⋅ ^^^^^ and Δ ^௨^ொ ൫^^^൯ ൌ Δ ⋅ ^^^^௫. In this case the bounds do notdepend on the quantization level ^^ if we consider a fixed quantization step Δ uniform quantization). Similar simplifications of the modified correction function ^^^^^^^^’ may be obtained for different equations of the correction function using the new bounds Δ^^^ ^௨^ொ൫^^^൯and Δொ ൫^^^൯which canbe computed without using the dequantized considering the transform coefficient correction defined in corresponding modified correction function ^^^^^^^^ᇱbecomes: ¬ᇲ ൌ^^^^^^^^ ^^^^ି୭ᇲ^^^ᇱ ᇱ ᇱ^ ൫^′൯ ൌ ^^ ⋅ tanh ൬^^ ^ ^^, (12)With the same scale ൯ି^^^^ೂ ൫ ൯ , and using a ೞೠ^modified offset ^^′ ൌ^ೂ൫^^൯ି^^^^ೂ ൫^^൯ as defined in Equations 3 and where ^^ ^௨^^^^^^௫ ൌ െ^^^^^, Δொ ൫^^^൯ ൌ െΔொ൫^^^൯, hence the modified offset ^^′ is equal to 0 and the scale becomes ^^ ൌ Δ ⋅ ^^^^௫, which does not dependon the quantization level ^^^ (assuming uniform quantization with fixed step Δ^ as in theprevious example. The transforms and inverse transforms used in video coding standards (e.g. HEVC and VVC) are usually based on integer computations. Therefore, applying transform and inverse transform on a block may introduce rounding errors. Since the QC correction performs the same integer-based transforms and inverse transforms (e.g. at S602 and S606 on FIG. 6 or at S702 and S712 on FIG.10) as the encoder and decoder, it may introduce rounding errors to the prediction residual of filtered block ^^^. For example, if the filtered block ^^^already satisfies the quantization constraint (e.g. if for each transform coefficients ^^^of the block and itsassociated quantization level ^^^ , ^^^ is already in the range ^^^^^^^ொ൫^^^൯, ^^^^^^ொ൫^^^൯^), then thecorrection function in Equation 6 does not modify the block’s ^^^^ ൌ ^^^).However due to the rounding errors in the transform and inverse transform, the QC described above unnecessarily modifies the block, i.e. ^^ொ^ி ് ^^^.In contrast, a method for correcting a filtered image is disclosed below with reference to FIGs 11 and 12 that performs a differential computation of the QC correction, where inverse transform is applied (e.g. only applied) to a difference between the corrected and uncorrected blocks of transform coefficients, and the result is summed with the uncorrected filtered image block. An adaptation of the method is illustrated on FIGs 13 and 14 for the case where the QC correction is computed using the non-filtered reconstructed image block instead of the prediction image block. Additional examples are disclosed with respect to FIGs 15 and 16 to avoid performing inverse transform in cases where the QC correction has no effect or small effect. The methods for correcting may be used in an encoder and / or in a decoder. FIG.11 depicts a flowchart of a method for correcting an image block after reconstruction and filtering according to another specific example. The method named Differential QC correction method makes it possible to solve this problem of rounding errors by applying an inversetransform (e.g. only) to a difference between the corrected transform coefficients ^^^^ anduncorrected transform coefficients ^^^. Similarly to the QC correction depicted on FIG. 6, the filtered prediction residual block ^^^^^^is first computed at S800 as the difference between the filtered block ^^^and the prediction block ^^^^^^^^. Then, the transform and the correction function (also called projection function) are applied to ^^^^^^ to obtain the corrected transform coefficients ^^^^ . More precisely, at S802,the filtered prediction residual block ^^^^^^is transformed by T into a block of transform coefficients ^^^. The correction function is applied at S804 to the transform coefficients ^^^toobtain a block of corrected transform coefficient ^^^^ .For at least one (e.g. each) corrected transform coefficient ^^^^ and its uncorrected version ^^^,the differential QC correction additionally computes a correction transform coefficient or more simply a correction coefficient ^^ௗat S805 as follows: ^^ௗ ൌ ^^^^ െ ^^^ (13)^^ௗmay also be called correction difference transform coefficient. Inverse transform is applied at S806 to the correction transform coefficients ^^ௗto obtain a correction block (e.g. a correction difference block) ^^^ௗ. The QC corrected block ^^ொ^ிis finally computed at S807 and S808 as the sum of the filtered prediction residual block ^^^^^^ , the prediction block ^^^^^^^^ , and thecorrection block ^^^ௗ. In a variant illustrated in FIG.12, the final QC corrected block ^^ொ^ிis equivalently computed at S810 as the sum of the filtered image block before correction ^^^and the correction difference block ^^^ௗ. The steps of the method that are identical to the steps of FIG. 11 are identified with the same numeral references. In particular, the method comprises the steps S800 to S806. The steps S807 and S808 are replaced by S810. FIG.13 depicts a flowchart of a method for correcting an image block after reconstruction and filtering according to another specific example. The differential computation of the QC correction may be applied similarly to the case where the QC correction is performed using the non-filtered reconstructed image block ^^^. Similarly to the QC correction depicted on FIG.10, a difference block ^^ௗ^^^^ is first computed at S900 as the difference between the filtered block ^^^and the non-filtered block ^^^. Then, the transform and the correction function are applied to ^^ௗ^^^^ to obtain the corrected transform coefficients ^^^ᇱ. More precisely, at S902, the difference block ^ௗ^^^^ ^^is transformed by T into a block of difference transform coefficients ^^^′. The correction is applied at S904 to the difference transform coefficients ^^^ᇱto obtain a block of corrected difference transform coefficients ^^^ᇱ^ . For at least one (e.g. each) corrected difference transform coefficient ^^^^ᇱand its uncorrectedversion ^^^′ , the differential QC correction additionally computes a correction transformcoefficient (e.g. a correction difference transform coefficient) ^^ௗat S906 as follows: ^^ௗ ൌ ^^^ ᇱ^ െ ^^^′, (14)The correction transform coefficients ^^ௗmay then be used to reconstruct the correction block ^^^ௗand the final QC corrected block ^^ொ^ி, as in FIG. 12. More precisely, inverse transform is applied at S908 to the correction transform coefficients ^^ௗto obtain the correction block ^^^ௗ. At S910, the QC corrected block ^^ொ^ிis finally computed as the sum of the filtered block ^^^and the correction block ^^^ௗ. In another example depicted on FIG.14, the QC corrected block ^^ொ^ிis finally computed as the sum of the difference block ^^ௗ^^^^ , the correction block ^^^ௗ, and the reconstructed image block ^^^. The steps of the are identical to the steps of FIG.13 are identified with the same numeral references. In particular, the method comprises the steps S900 to S908. The step S910 is replaced by S912 and S914. In some cases, all the coefficients ^^^of a block may remain unchanged after applying the correction function. In this case, all the correction transform coefficients ^^ௗof the block will have the value 0. Therefore, it may be unnecessary to compute the inverse transform since it will generate a correction block ^^^ௗwith value 0 for each pixel of the block. Hence, as illustrated by FIG. 15, the computational complexity can be reduced by first detecting at S1000 if all the correction transform coefficients ^^ௗof the block have the value 0. If this is the case, the inverse transform is skipped and more generally, the QC correction of the filtered image block ^^^is skipped at S1002 (i.e., the corrected image block ^^ொ^ிis equal to ^^^). Otherwise, the inverse transform is performed at S1004 to obtain ^^^ௗ, and the corrected image block ^^ொ^ிis computed normally using ^^^ௗat S1006, as in the previous examples depicted on FIGs 11-14. In a variant described in FIG.16, the QC correction is skipped if the coefficients ^^ௗhave small values, even if they are not all exactly equal to zero. For example, the decision may be performed by computing the sum of the absolute values ^^^^^^^^^^^^ of the coefficients ^^ௗat S1100 and by comparing ^^^^^^^^^^^^ to a value ^^ℎ at S1102. The QC correction (and thus the inverse transform) is skipped at S1104 for the block if ^^^^^^^^^^^^ is lower than ^^ℎ. Otherwise, the inverse transform is performed at S1106 to obtain ^^^ௗ, and the corrected image block ^^ொ^ிis computed normally using ^^^ௗat S1108, as in the previous examples depicted on FIGs 11-14. FIG.17 depicts a flowchart of a method 1700 for correcting an image block after reconstruction and filtering according to an example. At S1702, a reconstructed image block (e.g. ^^^) is filtered to obtain a filtered image block (e.g. ^^^). At S1704, a block of difference transform coefficients (e.g. ^^^or ^^^′) is obtained from the filtered image block (^^^) and another image block. The block may be the prediction block pred or the reconstructed image block ^^^. At S1706, a correction function (e.g. ^^^^^^^^^or ^^^^^^^^ᇱ) is applied on the block of difference transform coefficients (e.g. ^^^or ^^^′) to obtain a block of corrected transform coefficients(e.g. ^^^^ or ^^^ᇱ^ ). At S1708, the block of difference transform coefficients (e.g. ^^^or ^^^′) is subtracted from theblock of corrected transform coefficients (e.g. ^^^^ or ^^^^ᇱ) to obtain of correction coefficients ^^ௗ. At S1710, the block of correction coefficients ^^ௗis inverse transformed to obtain a correction block ^^^ௗ. At S1712, a corrected filtered image block is obtained based on the correction block ^^^ௗ. In an example, the correction function is a clipping function between two bounds, e.g. an inferior bound and a superior bound. In an example, obtaining the block of difference transform coefficients comprises : obtaining a difference block by subtracting the another image block from the filtered image block; and transforming the difference block into the block of difference transform coefficients. In an example, obtaining the corrected filtered image block based on the correction block comprises adding the correction block to the filtered image block. In an example, obtaining the corrected filtered image block based on the correction block comprises adding the correction block, the difference block and the another image block. In an example, in a case where the block of correction coefficients is null (i.e.. all coefficients in the block are equal to zero), the corrected filtered image block is set equal to the filtered image block. In an example, in a case where a sum of absolute values of coefficients of the block of correction coefficients is below a value, the corrected filtered image block is set equal to the filtered image block. An apparatus is also disclosed that comprises one or more processors and at least one memory coupled to said one or more processors, wherein said one or more processors are configured to perform the method 1700 for correcting an image block. A computer program is disclosed that comprises program code instructions for implementing the method 1700 for correcting an image block when executed by a processor. A computer readable storage medium is disclosed that has stored thereon instructions for implementing the method 1700 for correcting an image block. Moreover, the present aspects are not limited to ECM, VVC or HEVC, and can be applied, for example, to other standards and recommendations, and extensions of any such standards and recommendations. Unless indicated otherwise, or technically precluded, the aspects described in this application can be used individually or in combination. Various numeric values are used in the present application. The specific values are for example purposes and the aspects described are not limited to these specific values. Note that syntax elements as used herein, such as terms in equations and algorithms, signal labels / names, etc., such as quantization levels, and so on, are descriptive terms. As such, they do not preclude the use of other syntax element names. Various implementations involve decoding. “Decoding”, as used in this application, can encompass all or part of the processes performed, for example, on a received encoded sequence in order to produce a final output suitable for display. In various embodiments, such processes include one or more of the processes typically performed by a decoder, for example, entropy decoding, inverse quantization, inverse transformation, and differential decoding. In various embodiments, such processes also, or alternatively, include processes performed by a decoder of various implementations described in this application, for example, reconstructing an image block, filtering the reconstructed image block, correcting (possibly after filtering) the image block, e.g. using the non-filtered reconstructed image block. As further examples, in one embodiment “decoding” refers only to entropy decoding, in another embodiment “decoding” refers only to differential decoding, and in another embodiment “decoding” refers to a combination of entropy decoding and differential decoding, and in another embodiment “decoding” refers to the whole reconstructing picture process including entropy decoding. Whether the phrase “decoding process” is intended to refer specifically to a subset of operations or generally to the broader decoding process will be clear based on the context of the specific descriptions and is believed to be well understood by those skilled in the art. Various implementations involve encoding. In an analogous way to the above discussion about “decoding”, “encoding” as used in this application can encompass all or part of the processes performed, for example, on an input video sequence in order to produce an encoded bitstream. In various embodiments, such processes include one or more of the processes typically performed by an encoder, for example, partitioning, differential encoding, transformation, quantization, and entropy encoding. In various embodiments, such processes also, or alternatively, include processes performed by an encoder of various implementations described in this application, for example, reconstructing an image block, filtering the reconstructed image block, correcting (possibly after filtering) the image block, e.g. using the non-filtered reconstructed image block. As further examples, in one embodiment “encoding” refers only to entropy encoding, in another embodiment “encoding” refers only to differential encoding, and in another embodiment “encoding” refers to a combination of differential encoding and entropy encoding. Whether the phrase “encoding process” is intended to refer specifically to a subset of operations or generally to the broader encoding process will be clear based on the context of the specific descriptions and is believed to be well understood by those skilled in the art. This disclosure has described various pieces of information, such as for example syntax, that can be transmitted or stored, for example. This information can be packaged or arranged in a variety of manners, including for example manners common in video standards such as putting the information into an SPS, a PPS, a NAL unit, a header (for example, a NAL unit header, or a slice header), or an SEI message. Other manners are also available, including for example manners common for system level or application level standards such as putting the information into one or more of the following: a. SDP (session description protocol), a format for describing multimedia communication sessions for the purposes of session announcement and session invitation, for example as described in RFCs and used in conjunction with RTP (Real-time Transport Protocol) transmission. b. DASH MPD (Media Presentation Description) Descriptors, for example as used in DASH and transmitted over HTTP, a Descriptor is associated with a Representation or collection of Representations to provide additional characteristic to the content Representation. c. RTP header extensions, for example as used during RTP streaming. d. ISO Base Media File Format, for example as used in OMAF and using boxes which are object-oriented building blocks defined by a unique type identifier and length also known as 'atoms' in some specifications. e. HLS (HTTP live Streaming) manifest transmitted over HTTP. A manifest can be associated, for example, to a version or collection of versions of a content to provide characteristics of the version or collection of versions. When a figure is presented as a flow diagram, it should be understood that it also provides a block diagram of a corresponding apparatus. Similarly, when a figure is presented as a block diagram, it should be understood that it also provides a flow diagram of a corresponding method / process. Some embodiments refer to rate distortion optimization. In particular, during the encoding process, the balance or trade-off between the rate and distortion is usually considered, often given the constraints of computational complexity. The rate distortion optimization is usually formulated as minimizing a rate distortion function, which is a weighted sum of the rate and of the distortion. There are different approaches to solve the rate distortion optimization problem. For example, the approaches may be based on an extensive testing of all encoding options, including all considered modes or coding parameters values, with a complete evaluation of their coding cost and related distortion of the reconstructed signal after coding and decoding. Faster approaches may also be used, to save encoding complexity, in particular with computation of an approximated distortion based on the prediction or the prediction residual signal, not the reconstructed one. Mix of these two approaches can also be used, such as by using an approximated distortion for only some of the possible encoding options, and a complete distortion for other encoding options. Other approaches only evaluate a subset of the possible encoding options. More generally, many approaches employ any of a variety of techniques to perform the optimization, but the optimization is not necessarily a complete evaluation of both the coding cost and related distortion. The implementations and aspects described herein can be implemented in, for example, a method or a process, an apparatus, a software program, a data stream, or a signal. Even if only discussed in the context of a single form of implementation (for example, discussed only as a method), the implementation of features discussed can also be implemented in other forms (for example, an apparatus or program). An apparatus can be implemented in, for example, appropriate hardware, software, and firmware. The methods can be implemented in, for example, a processor, which refers to processing devices in general, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include communication devices, such as, for example, computers, cell phones, portable / personal digital assistants ("PDAs"), and other devices that facilitate communication of information between end-users. Reference to “one embodiment” or “an embodiment” or “one implementation” or “an implementation”, as well as other variations thereof, means that a particular feature, structure, characteristic, and so forth described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrase “in one embodiment” or “in an embodiment” or “in one implementation” or “in an implementation”, as well any other variations, appearing in various places throughout this application are not necessarily all referring to the same embodiment. Additionally, this application may refer to “determining” various pieces of information. Determining the information can include one or more of, for example, estimating the information, calculating the information, predicting the information, or retrieving the information from memory. Further, this application may refer to “accessing” various pieces of information. Accessing the information can include one or more of, for example, receiving the information, retrieving the information (for example, from memory), storing the information, moving the information, copying the information, calculating the information, determining the information, predicting the information, or estimating the information. Additionally, this application may refer to “receiving” various pieces of information. Receiving is, as with “accessing”, intended to be a broad term. Receiving the information can include one or more of, for example, accessing the information, or retrieving the information (for example, from memory). Further, “receiving” is typically involved, in one way or another, during operations such as, for example, storing the information, processing the information, transmitting the information, moving the information, copying the information, erasing the information, calculating the information, determining the information, predicting the information, or estimating the information. It is to be appreciated that the use of any of the following “ / ”, “and / or”, and “at least one of”, for example, in the cases of “A / B”, “A and / or B” and “at one of A and B”, is intended to encompass the selection of the first listed option (A) only, or the selection of the second listed option (B) only, or the selection of both options (A and B). As a further example, in the cases of “A, B, and / or C” and “at least one of A, B, and C”, such phrasing is intended to encompass the selection of the first listed option (A) only, or the selection of the second listed option (B) only, or the selection of the third listed option (C) only, or the selection of the first and the second listed options (A and B) only, or the selection of the first and third listed options (A and C) only, or the selection of the second and third listed options (B and C) only, or the selection of all three options (A and B and C). This may be extended, as is clear to one of ordinary skill in this and related arts, for as many items as are listed. Also, as used herein, the word “signal” refers to, among other things, indicating something to a corresponding decoder. For example, in certain embodiments the encoder signals a particular one of a plurality of quantization levels. In this way, in an embodiment the same parameter is used at both the encoder side and the decoder side. Thus, for example, an encoder can transmit (explicit signaling) a particular parameter to the decoder so that the decoder can use the same particular parameter. Conversely, if the decoder already has the particular parameter as well as others, then signaling can be used without transmitting (implicit signaling) to simply allow the decoder to know and select the particular parameter. By avoiding transmission of any actual functions, a bit savings is realized in various embodiments. It is to be appreciated that signaling can be accomplished in a variety of ways. For example, one or more syntax elements, flags, and so forth are used to signal information to a corresponding decoder in various embodiments. While the preceding relates to the verb form of the word “signal”, the word “signal” can also be used herein as a noun. As will be evident to one of ordinary skill in the art, implementations can produce a variety of signals formatted to carry information that can be, for example, stored or transmitted. The information can include, for example, instructions for performing a method, or data produced by one of the described implementations. For example, a signal can be formatted to carry the bitstream of a described embodiment. Such a signal can be formatted, for example, as an electromagnetic wave (for example, using a radio frequency portion of spectrum) or as a baseband signal. The formatting can include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information that the signal carries can be, for example, analog or digital information. The signal can be transmitted over a variety of different wired or wireless links, as is known. The signal can be stored on a processor-readable medium. A number of embodiments has been described above. Features of these embodiments can be provided alone or in any combination, across various claim categories and types.

Claims

CLAIMS 1. A method comprising: filtering a reconstructed image block to obtain a filtered image block; obtaining a block of difference transform coefficients from the filtered image block and another image block; applying a correction function on the block of difference transform coefficients to obtain a block of corrected transform coefficients; subtracting the block of difference transform coefficients from the block of corrected transform coefficients to obtain a block of correction coefficients ; inverse transforming the block of correction coefficients to obtain a correction block; and obtaining a corrected filtered image block based on the correction block.

2. The method of claim 1, wherein the another image block is the reconstructed image block.

3. The method of claim 1, wherein the another image block is a prediction block.

4. The method of any one of claims 1 to 3, wherein the correction function is a clipping function between two bounds.

5. The method of any one of claims 1 to 4, wherein obtaining the block of difference transform coefficients comprises : obtaining a difference block by subtracting the another image block from the filtered image block; and transforming the difference block into the block of difference transform coefficients.

6. The method of any one of claims 1 to 5, wherein obtaining the corrected filtered image block based on the correction block comprises adding the correction block to the filtered image block.

7. The method of claim 5, wherein obtaining the corrected filtered image block based on the correction block comprises adding the correction block, the difference block and the another image block.

8. The method of any one of claims 1 to 7, wherein in a case where the block of correction coefficients is null, the corrected filtered image block is set equal to the filtered image block.

9. The method of any one of claims 1 to 7, wherein in a case where a sum of absolute values of coefficients of the block of correction coefficients is below a value, the corrected filtered image block is set equal to the filtered image block.

10. An apparatus comprising one or more processors and at least one memory coupled to said one or more processors, wherein said one or more processors are configured to perform the method of any one of claims 1-9.

11. A computer program comprising program code instructions for implementing the method according to any one of claims 1-9 when executed by a processor.

12. A computer readable storage medium having stored thereon instructions for implementing the method of any one of claims 1-9

Citation Information

Patent Citations

  • Image processing apparatus and image processing method, and recording medium

    JP4419287B2

  • Moving Picture Encoding Method, Device Using The Same, And Computer Program

    US20080101465A1