WO2003021936A2 - Method for reducing blocking artifacts - Google Patents

Method for reducing blocking artifacts Download PDF

Info

Publication number
WO2003021936A2
WO2003021936A2 PCT/US2002/028157 US0228157W WO03021936A2 WO 2003021936 A2 WO2003021936 A2 WO 2003021936A2 US 0228157 W US0228157 W US 0228157W WO 03021936 A2 WO03021936 A2 WO 03021936A2
Authority
WO
WIPO (PCT)
Prior art keywords
pixels
roi
pixel
filtering
expansion
Prior art date
Application number
PCT/US2002/028157
Other languages
French (fr)
Other versions
WO2003021936A3 (en
Inventor
Eyal Frishman
Tamir Sagi
Noam Oren
Original Assignee
Emblaze Semi Conductor Ltd
Friedman, Mark, M.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Emblaze Semi Conductor Ltd, Friedman, Mark, M. filed Critical Emblaze Semi Conductor Ltd
Priority to AU2002323591A priority Critical patent/AU2002323591A1/en
Publication of WO2003021936A2 publication Critical patent/WO2003021936A2/en
Publication of WO2003021936A3 publication Critical patent/WO2003021936A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration by the use of local operators
    • G06T5/70
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/527Global motion vector estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20004Adaptive image processing
    • G06T2207/20012Locally adaptive
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20021Dividing image into blocks, subimages or windows
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20192Edge enhancement; Edge preservation

Definitions

  • the present invention relates to a method for reducing blocking artifacts:
  • the invention is useful for removing blocking artifacts from still pictures or moving pictures that were reconstructed according to any coding scheme that introduce blocking artifacts.
  • the invention provides a robust and picture-content dependent solution for removing the blocking artifact without reducing the quality or sharpness of the processed picture, and may be implemented efficiently in software and in hardware.
  • Block-Based video coding such as the ISO standards MPEG1, MPEG2, MPEG4 and JPEG, and ITU standards H.261 and H.263
  • each picture in the video sequence is partitioned into blocks of NxN pixels, (specifically 8x8 pixels in the MPEG/JPEG compression family and in H.263/H.261), and each block is then coded independently.
  • NxN pixels specifically 8x8 pixels in the MPEG/JPEG compression family and in H.263/H.261
  • lossy compression Lossy compression
  • most popular block-based techniques are Discrete Cosine Transform (DCT) based, it is common that the deprived data is the data related to higher spatial frequency.
  • DCT Discrete Cosine Transform
  • FIG. 1 illustrates the blocking problem: (A) - an original picture, and (B) a reconstructed (encoded/decoded) picture.
  • the picture in (B) clearly shows the blocking artifact.
  • Existing methods to reduce this blocking artifact as described for example in "Method of Removing Blocking Artifacts in a Coding System of a Moving Picture", US Patent Number 6,240,135 to Kim et.
  • Kim '135" is unsatisfactory.
  • Other, equally unsatisfactory prior art methods dealing with the subject include ITU H.263 recommendation Annex J: Deblocking filter mode, US Patent Number 6,028,967, to Kim, US Patent Number 6,188,799 to Tan, US patent number 6,151,420 to Wober, US Patent Number 6,236,764 to Zhou, US Patent Number 6,215,425 to Andrews, US Patent Number 5,67,736 to Suzuki, US patent number 5,933,541 to Kutka, and US Patent Number 5,802,218 to Brailean.
  • the Kim ' 135 patent, assigned to LG Electronics Inc. (hereinafter “the LG method") is the most relevant to this disclosure, and is discussed in more detail below.
  • Kim '135 considers 5 pixels from each side of a block boundary. An absolute difference is then calculated between each two neighbors (9 pairs). If the absolute difference is larger than a threshold, a "0" is accumulated to a counter, while if it is smaller than the same threshold, a "1” is accumulated to the counter. The outcome is a number between 0 and 9. This is in effect a kind of an "inverse activity” measure over the boundary and into the depth of the block on each side. This inverse activity type of measure serves to decide between two methods ("modes") of processing: a Default mode (that will in effect change only the 2 boundary pixels), which is operative when the "inverse activity" is small (e.g. in case of textured data).
  • modes that will in effect change only the 2 boundary pixels
  • a DC mode which is operative when the "inverse activity" is large (the area is more or less smooth, with maybe one edge inside it).
  • the DC mode there are two options: 1) if the difference between the minimal pixel and the maximal pixel in the region of 4 pixels to the left of the boundary and 4 pixels to the right is large (larger or equal to twice the quantization scale (QS) factor of the treated block) then nothing is done (since the algorithm deduces that the blocking artifact is not severe). However, this may be also the case when the blocking artifact is severe and there is also an edge in the 8 pixels region, so that this lack of action is actually a disadvantage. 2) if the difference is small (smaller than twice the QS factor of the treated block) then the entire region of interest (ROI) of the eight pixels is smoothed with a constant filter (since the algorithm deduces that the blocking artifact is severe).
  • QS quantization scale
  • the LG method chooses the DC mode (II). Within the DC mode option 1 is chosen and no filtering is performed, i.e. the LG method will not filter the visible block boundary of this block.
  • the LG method will also choose the DC mode, but in this case option 2 is chosen and filtering is performed.
  • the LG method will filter the visible block boundary of this block, but will also filter a real edge (that will affect its neighborhood since the LG method use a 9 taps filter in this case).
  • a second example (Case "C")
  • the LG method will choose the Default mode (I).
  • the LG method will change the value of the 2 pixels that cross the block boundary. The problem here is that the LG method is not exploiting the possibility to smooth deeper into the block, even if the edges are far away from the boundary (say at ⁇ 3 pixels from the boundary).
  • the present invention is of a method for reducing blocking artifacts.
  • the method presented herein can remove blocking artifacts from pictures that were, for example, compressed using one of the compression methods mentioned above.
  • a major advantage of the method disclosed herein is an adaptive choice of a filtered pixels region of interest (ROI).
  • ROI filtered pixels region of interest
  • the population of pixels that undergo filtering is adaptively chosen as an integral part of the invention.
  • the adaptation is defined in a way such that edges in the content of the picture are not smoothed out by the method, which, in essence, is a low pass filtering method due to the nature of the problem it solves.
  • the method uniquely treats bounding conditions for finite length filtering so that no artifacts are introduced by it.
  • the method presented herein can be performed on a reconstructed picture, used as a post-processing operation in order to improve and enhance picture quality, or used as an in- loop operation in order to enhance image quality and improve the process of estimating motion within the compression loop.
  • a method for removing blocking artifacts from moving and still pictures each picture composed of blocks defined by horizontal and vertical block boundaries, the method comprising the steps of: in each picture, classifying the horizontal and vertical boundaries as blocky or non-blocky; for each classified blocky boundary, defining an adaptive, picture content-dependent, one-dimensional filtered pixels region of interest (ROI) having two ends and bound at each end by a bounding pixel, the ROI including a first plurality of concatenated, adjacent pixels to be filtered, the ROI crossing the blocky boundary; defining a finite filter with a length correlated with the first plurality of concatenated, adjacent pixels of the ROI; defining a filtering pixels expansion having a second one dimensional plurality of pixels, the second plurality including the first plurality of pixels; and filtering the first plurality of pixels using the finite filter and the filtering expansion.
  • ROI region of interest
  • the ROI is symmetric.
  • the ROI is asymmetric.
  • the classifying includes classifying boundaries spaced apart from each other by 8 pixels.
  • the classifying further includes assigning the value of each pixel of a boundary pixel-duo P 8 and P , the boundary pixel-duo included in the first pixel plurality and straddling the block boundary, choosing a multiplier M and a receiving a quantization scale parameter
  • the definition of an adaptive one-dimensional filtered pixels ROI includes: for each blocky boundary, assigning four pixel values P 5 , P 6 , P 7 , P 8 of adjacent pixels residing on a left side for a vertical boundary and on a top side for a horizontal boundary and four pixel values P 9 , P 10 , Pn, P 12 of adjacent pixels residing on a right side for a vertical boundary and on a bottom side for a horizontal boundary, providing a threshold Threshold_l, and running an iterative cycle comparing absolute value differences between each adjacent pixel pair on each side of the boundary and Threshold_l .
  • the comparison of absolute value differences includes, iteratively: checking if
  • the definition of a filtering pixel expansion includes: receiving as input the bounding pixel of the filtered pixels ROI, the bounding pixel value obtained in the checking, receiving as input a pixel adjacent to the bounding pixel, the adjacent pixel residing outside the filtered pixels ROI, providing a threshold Threshold_2, and calculating an absolute gray- level difference between the bounding pixel and the adjacent pixel, and comparing the absolute gray-level difference with Threshold_2.
  • the comparison of the absolute gray-level difference with Threshold_2 further includes, for a vertical block boundary: checking if
  • the comparison of the absolute gray-level difference with Threshold__2 further includes, for a horizontal block boundary: checking if
  • Threshold_2 where P JB - I is the pixel immediately adjacently above P T B and PT B is the top bounding pixel, and if true, using the value of P TB - ! for the expansion, else using the value of PTB for the expansion, and checking if
  • the filtering of the filtered pixels ROI using Filter_l and the filtering pixels expansion includes: padding four values to each side of the one-dimensional filtered pixels
  • ROI using the filtering pixels expansion values, and filtering the one-dimensional filtered pixels ROI using Filter_l .
  • the filtering of the filtered pixels ROI using Filter_2 and the filtering pixels expansion includes: padding two values to each side of the one-dimensional filtered pixels
  • FIG. 1 illustrates the blocking artifact: A - an original picture, B - a reconstructed (encoded/decoded) picture;
  • FIG. 2 shows visualization of definitions: vertical block boundary, horizontal block boundary and boundary pixel-duo
  • FIG. 3 shows a block diagram of the main conceptual stages of the suggested method for removing blocking artifacts
  • FIG. 4 shows visualization of definitions: labeling of pixels of interest of the presented method over horizontal block boundaries and vertical block boundaries;
  • FIG. 5 shows a detailed flowchart of the conceptual stages of the suggested method for removing blocking artifacts
  • FIG. 6 shows an example of the conceptual stages of the suggested method for removing blocking artifacts: A - part of a picture, B - illustration of classification stage, C — illustration of filtered pixels ROI stage, and D - illustration of filtered pixels expansion stage
  • FIG. 7 shows examples for padding for a 9 taps filter: A - filtered pixels ROI with and without expansion, and B - filtered pixels ROI with expansion and padding;
  • FIG. 8 shows examples for padding for a 5 taps filter: A - filtered pixels ROI with and without expansion, and B - filtered pixels ROI with expansion and padding;
  • FIG. 9 shows examples of the performance of the suggested de-blocking method: A and C - pictures encoded at 40 KBPS/10 FPS: B and D - pictures after using the de-blocking method described herein;
  • the present invention is of a method for reducing blocking artifacts.
  • we will refer to 8x8 pixel blocks, with the understanding that the method described is equally applicable to any NxN block based compression.
  • the method presented herein can remove blocking artifacts from pictures that were, for example, compressed using one of the compression methods mentioned above.
  • the method presented herein can be performed on a reconstructed picture, used as a post-processing operation in order to improve and enhance picture quality, or used as an in-loop operation in order to enhance image quality and improve the process of estimating motion within the compression loop.
  • FIG. 2 shows some of the definitions used in the following description.
  • FIG. 2 shows a picture area 100 formed of four blocks 102, 104, 106, and 108. Each of the four blocks shown includes 64 pixels.
  • a horizontal block boundary 110 separates top blocks 102 and 104 from bottom blocks 106 and 1 8.
  • a vertical block boundary 110 separates left blocks 102 and 108 from right blocks 104 and 106.
  • a pair of pixels residing on opposite sides of a boundary e.g. pixel pairs 114 and 116 are defined a Boundary Pixel- Duo.
  • the method is performed on all block boundaries of a block-decoded picture, preferably first over the horizontal boundaries (i.e. from top to bottom or from bottom to top in FIG. 2), and then on the vertical boundaries (i.e. from left to right or from right to left in FIG. 2).
  • the most preferred sequence is to operate the method first over the horizontal boundaries from top to bottom, and then over the vertical boundaries from left to right. This since decoding is commonly performed in raster scan, and quantization over the horizontal block boundaries is more severe in the general case, hence it is desired to treat it first. However, in the most general case, the operation of the method of the present invention can be performed in any sequence involving the horizontal and vertical block boundaries.
  • Block Boundary Classification stage 150 is a stage performed for every pixel-duo that defines a block boundary (horizontal and vertical). This stage determines for every pixel-duo in the picture whether it resides across a Blocky boundary or a Non-Blocky boundary, thus providing the decision rule for this classification. Every pixel-duo residing across a boundary classified as Blocky goes on to be treated using the next three stages. Every pixel-duo residing across a Non-blocky boundary is passed over by the next three stages, i.e. these stages are not operative in this case.
  • Filtered Pixels Region Of Interest and Filter Definition stage 152 In this stage the region of interest (ROI) that contains the pixels that will undergo filtering (in a filtering stage 156, see below) is defined. In addition this stage also provides the method and rule for choosing and defining the actual filter that will perform the filtering in stage 156. All the pixel values that belong to the filtered pixels ROI will change after filtering stage 156 is performed.
  • the filtered pixels ROI is a concatenated set of pixels that cross a block boundary in one dimension. The definition or choice of the pixels that will become members of the filtered pixels ROI is unique, and it is done according to a certain rule, explained below.
  • the definition is such that the ROI will contain a blocky boundary and a smooth set of pixels on each side of the block boundary, and will not include edges.
  • a unique rule provides a method for choosing a filter to be used in filtering stage 156.
  • ROI definition stage 152 is performed for every pixel-duo residing across a boundary classified as blocky in stage 150. Filtering Pixels Expansion stage 154.
  • This stage in the present invention provides the technique for explicitly defining the values to be used for padding the left side (or top) and right (or bottom) side of the finite one-dimensional ROI of values that was defined in stage 152.
  • the suggested technique for explicitly defining the values to be used for padding is defined in such a way that the outcome of the filtering stage 156 provides the best visual quality for a human observer.
  • Filtering stage 156 is the stage in which the actual filtering of the pixels in the filtered pixels ROI (stage 152) is performed. In the filtering stage, a one-dimensional Finite Impulse Response (FIR) Low Pass Filter (LPF) is introduced to the filtered pixels ROI. Filtering pixels expansion stage 154 is used to define the padding of the finite one-dimensional filtered pixels ROI so that the outcome of the filtering will be of high visual quality. The filter used for filtering is the filter previously defined in stage 152.
  • FIG. 4 shows a 16x16 pixel image section. A set of pixels labeled P 4 , P 5 , P 6 , P 7; P 8 , P ,
  • Pio, Pn, Pi 2 and Pj 3 form a one-dimensional pixel span (of interest regarding the present invention) that cross a block boundary.
  • a horizontal pixel span 200 crosses a vertical block boundary 202
  • a vertical pixel span 204 crosses a horizontal block boundary 206.
  • the same numbering is used for the span of pixels over a horizontal block boundary and over a vertical block boundary.
  • FIG. 5 shows a detailed block diagram detailing the flow of the algorithm for removing blocking artifacts, which is built around the four stages 150, 152, 154, 156, of FIG. 3.
  • the algorithm starts with classification stage 150 using as an input 300 the pair (boundary pixel-duo) P 8 and P , and two additional parameters - the QS associated with the block containing P 9 , and a parameter "M". "M" is a gain, with values typically of the order of 2 to 5, which multiplies the QS parameter.
  • the classification criteria used in the preferred embodiment is according to: )P 8 - P
  • Multiplier "M” is defined in the classification condition since the QS alone is not sufficient for a definition whether a block boundary is blocky or non-blocky.
  • the QS alone is a direct measure for the quantization error of the mean block value, and as such it may be used only as part of the measure of blockyness.
  • the QS is not taking into consideration higher order data like DCT basis components and their phase. By using a multiplier of a constant value, a better classification may be achieved. As a rule, all the pixels that belong to the 8x8 block boundaries (vertical and horizontal) of a reconstructed picture undergo block boundary classification stage 150.
  • a specific one-dimensional block boundary is classified as Non-Blocky, no filtering is performed across it (the observation in this case is that an edge is the cause for the discontinuity between the two adjacent pixels comprising the specific pixel-duo). If a block boundary is classified as Blocky, the algorithm proceeds to stage 152 (the observation in this case is that the discontinuity between two adjacent pixels comprising the specific pixel-duo is caused by a blocking artifact).
  • filtered pixels ROI definition stage 152 considers the span of pixels P 5 , P 6 , P 7 and P 8 on the left of a vertical block boundary (202) or above -a horizontal block boundary (206), and the span of pixels P 9 , P 10 , P ⁇ and Pj 2 on the right of a vertical block boundary (202) or below a horizontal block boundary (206).
  • P 5 , P 6 , P , P 8 , P , P 10 , P ⁇ and Pj 2 are input at an input 302 in FIG. 5.
  • the basic operation is measuring the absolute gray-level difference of two adjacent (neighboring) pixels against a pre-determined threshold (Threshold_l), input at a first threshold input 302. If the absolute gray-level difference of two adjacent pixels is smaller than or equal to Threshold_l, then those two adjacent pixels are considered similar (it is an observation of this invention that such two pixels form a concatenation of two pixels both belonging to a smooth area). If the absolute gray-level difference of two adjacent pixels is larger than Threshold_l, then those two adjacent pixels are considered not similar, hence implying the presence of an edge in the picture content.
  • Threshold_l is between 2-6, with most preferable values being 3 and 4.
  • the first iteration starts with the check
  • any of the pixels P 8 down to P 5 that close the filtered pixels ROI from the left as a "left bounding ROI pixel” or "PL B "-
  • the discussion will continue with reference to "left to right" pixel ranges crossing a vertical boundary, with the understanding that the definition of a vertical filtered pixels ROI crossing a horizontal boundary is identical.
  • any of pixels P 8 down to P 5 in span 204 that close the filtered pixels ROI crossing boundary 206 from the top will be a "top bounding ROI pixel" or "P TB ".
  • the next iteration checks if
  • stage 152 the internal block gray-level self-similarity of the pixels is of main interest. For example, there might be an area of smooth content (or even constant content) in which self-similarity of values inside the block exists, co-existing with a large discontinuity over a block boundary that was caused by a large value of quantization in the encoding process.
  • the iterative procedure defined above can be generalized to work with any block size, and it is not limited to 8x8 pixel blocks.
  • a generalization is done by iterating for N/2 steps the basic rule
  • the filter is chosen according to the size of the filtered pixels ROI, as explained below.
  • the filtered pixels ROI may include in the case of 8x8 blocks: 2, 3, 4, 5, 6, 7 or 8 pixels, in one of 46 different pixels compositions (for example: P , P 8 , P 9 and P 8 , P 9 , Pio form two compositions of 3 pixels, P 6 , P 7 , P 8 , P 9 and P 7 , P 8 , P , P 10 and P 8 , P 9 , P 10 , P ⁇ form three compositions of 4 pixels, and so on).
  • the algorithm proceeds to stage 154 - the filtering pixels expansion stage.
  • the values to be used for padding the left (or top) side and right (or bottom) side of the finite horizontal (or vertical) one-dimensional ROI of values are determined.
  • the expansion value i.e. the value to be used for padding in filtering stage 156) is preferably determined by measuring and comparing the absolute gray-level difference of two adjacent (neighboring) pixels, of which one is a filtered pixels ROI "bounding pixel" and the other an adjacent neighbor, against a pre-determined threshold (Threshold_2).
  • Threshold_2 is input at a second threshold input 304, and is typically larger by an order of magnitude than Threshold 1.
  • stage 152 defined the left bounding ROI pixel (P L B) and the right bounding ROI pixel (PR B ).
  • the expansion to the left of PLB is determined according to: ]P LB -PL B - I
  • the expansion to the right of P RB is determined according to:
  • the expansion value is determined in a similar fashion, but replacing P LB and PR B with, respectively, PT B and P B B-
  • the padding to the top of P T B is determined according to:
  • the padding to the bottom of P B B is determined according to:
  • ⁇ Threshold_2, where PBB+I is the pixel immediately below PBB- If true, PB B + I is the expansion pixel and the value of PBB+ I is used for padding in filtering stage 156. Else, PB B is the expansion pixel and the value of P BB is the value used for padding in filtering stage 156. For example if P 5 was found to be a P LB in stage 152, expansion stage 154 will check the value of P 5 against the value of P 4 (in this case PLB- I ), specifically IP 5 -P 4 ⁇ Threshold_2. If true, P 4 is the expansion (i.e.
  • FIG. 6A illustrates six blocks 220, 222, 224, 226, 228 and 230 of a picture 210, divided by a vertical boundary 232 and two horizontal boundaries 234 and 236.
  • FIG. 6B illustrates classification stage 150 performed on picture 210. In B, pixels marked "X" illustrate several boundary pixel-duos (and according to FIG.
  • FIG. 6C illustrates the result of the filtered pixels ROI stage 152.
  • a different filtered pixels ROI is determined according to the picture content.
  • eight different cases of filtered pixels ROI are presented: 250 (two symmetric sets of 8 pixels), 252 (one asymmetric set of 4 pixels to the left, i.e. P 8 , P 7 , P 6 , P 5 , and two to the right, i.e.
  • FIG. 6D illustrates the outcome of the filtering pixels expansion stage (154) (in the figure only the expansion pixels that are not ROI bounding pixels are uniquely marked, for example pixels 270 and 272, for simpler visualization. Where not uniquely marked, the bounding pixel itself is used for padding).
  • the filtered pixels ROI process of stage 152 allows only similar gray-leveled pixels to join the filtered pixels ROI, hence an edge in the picture content will stop the growth of the filtered pixels ROI (which is the desired behavior in stage 152).
  • filtering stage 156 to which the algorithm proceeds next, a filtering process smoothes the filtered pixels ROI using a finite length low pass filter. If the edge that stopped the growth of the filtered pixels ROI is high, then the visual result after filtering is good. If the edge that stopped the growth of the filtered pixels ROI is mild ("mild" herein is considered to be more or less 25 to 45 gray-levels difference), the filtering pixels expansion stage is designed to allow mild edges to be used for padding (e.g.
  • Threshold_2 is chosen to be of the order of the mild edges gray-levels difference, i.e. between typically 25 and 45, and most preferably between 25 and 30). This way, mild edges are slightly smoothed by the algorithm, producing good visual quality.
  • the filtering procedure includes two steps: padding the finite length one-dimensional filtered pixels ROI using the expansion values, and filtering the finite length filtered pixels ROI with the filter.
  • the padding step has two possible scenarios, depending on the length of the filter (which is an outcome of stage 152).
  • the filtered pixels ROI is P 5 to P 12 , hence the 9 Taps filter (Filter ) is used.
  • the left side of the filtered pixels ROI was expanded by pixel P (identically P LB - I ), so the padding in FIG. 7B is done by adding four pixels of value P to the left of the filtered pixels ROI (filtering will start at P 5 since P 5 is the first pixel in the filtered pixels ROI. P contributes to the filtering but it is not altered by it).
  • the right side of the ROI was expanded by pixel P 12 (identically P RB ), in which case the padding in FIG. 7B is done by adding four pixels of value P ⁇ 2 to the right of the filtered pixels ROI.
  • the filtered pixels ROI is P 7 to P 12 , hence the 5 Taps filter (Filter_2) is used.
  • the left side of the filtered pixels ROI was expanded by pixel P 6 (identically P LB - I ), so the padding in FIG. 7B is done by adding two pixels of value P 6 to the left of the filtered pixels ROI (filtering will start at P since P 7 is the first pixel in the filtered pixels ROI. P 6 contributes to the filtering but it is not altered by it).
  • the right side of the filtered pixels ROI was expanded by pixel P 12 (identically P R B), in which case the padding in FIG. 8B is done by adding two pixels of value P 12 to the right of the filtered pixels ROI.
  • FIG. 9 shows an example of the performance of the suggested method for removing blocking artifacts
  • FIG. 9A and FIG. 9C present pictures encoded at a bit rate of 40 Kbps and a frame rate of 10 fps, in which the blocking artifact is visible
  • FIG. 9B and FIG. 9D present respectively the outcome of the suggested de-blocking method for the two compressed pictures.
  • a major innovative aspect of the method of the present invention includes the adaptive choice of filtered pixels ROI - we choose the entire population of pixels that can be smoothed without causing artifacts (like smoothing out an edge).
  • the method works well with any number of edges in the processed picture content.
  • Another innovative aspect is the way bounding conditions for finite length filtering are treated, as a result of the method's ability to distinguish between high and mild edges.
  • more aggressive filtering is introduced for areas defined as smooth. As a result the quality and sharpness of the picture are not reduced by applying this method to blocky pictures.

Abstract

A method for removing blocking artifacts from moving and still pictures, comprising classifying horizontal and vertical boundaries in each picture as blocky or non-blocky (150); for each blocky boundary, defining an adaptive, picture content-dependent, one-dimensional filtered pixels region of interest (ROI) that crosses the boundary and is bound at each of its ends by a bounding pixel (152); defining a finite filter having a length correlated with the length of the ROI; defining a filtering pixels expansion that uniquely determines the padding values of the finite length filtered pixels ROI for the finite length filtering; and filtering the ROI pixels using the finite filter and the filtering expansion (154).

Description

METHOD FOR REDUCING BLOCKING ARTIFACTS
FIELD AND BACKGROUND OF THE INVENTION
The present invention relates to a method for reducing blocking artifacts: The invention is useful for removing blocking artifacts from still pictures or moving pictures that were reconstructed according to any coding scheme that introduce blocking artifacts. The invention provides a robust and picture-content dependent solution for removing the blocking artifact without reducing the quality or sharpness of the processed picture, and may be implemented efficiently in software and in hardware.
In Block-Based video coding (such as the ISO standards MPEG1, MPEG2, MPEG4 and JPEG, and ITU standards H.261 and H.263) each picture in the video sequence is partitioned into blocks of NxN pixels, (specifically 8x8 pixels in the MPEG/JPEG compression family and in H.263/H.261), and each block is then coded independently. When the bits-budget for the encoding is limited, a single block may be assigned with fewer bits than required for its representation ("lossy compression"). Since most popular block-based techniques are Discrete Cosine Transform (DCT) based, it is common that the deprived data is the data related to higher spatial frequency. In the extreme case of Very Low Bit rate (VLB) coding, most of the bits are allocated to the mean pixel value of the block, and only a few are allocated to the higher frequency variations. As a result, the continuity between adjacent blocks is broken. This discontinuity at the block boundaries presents an annoying artifact known as the Blocking Artifact. FIG. 1 illustrates the blocking problem: (A) - an original picture, and (B) a reconstructed (encoded/decoded) picture. The picture in (B) clearly shows the blocking artifact. Existing methods to reduce this blocking artifact, as described for example in "Method of Removing Blocking Artifacts in a Coding System of a Moving Picture", US Patent Number 6,240,135 to Kim et. al., (hereinafter "Kim '135") is unsatisfactory. Other, equally unsatisfactory prior art methods dealing with the subject include ITU H.263 recommendation Annex J: Deblocking filter mode, US Patent Number 6,028,967, to Kim, US Patent Number 6,188,799 to Tan, US patent number 6,151,420 to Wober, US Patent Number 6,236,764 to Zhou, US Patent Number 6,215,425 to Andrews, US Patent Number 5,67,736 to Suzuki, US patent number 5,933,541 to Kutka, and US Patent Number 5,802,218 to Brailean. The Kim ' 135 patent, assigned to LG Electronics Inc. (hereinafter "the LG method") is the most relevant to this disclosure, and is discussed in more detail below.
Kim '135 considers 5 pixels from each side of a block boundary. An absolute difference is then calculated between each two neighbors (9 pairs). If the absolute difference is larger than a threshold, a "0" is accumulated to a counter, while if it is smaller than the same threshold, a "1" is accumulated to the counter. The outcome is a number between 0 and 9. This is in effect a kind of an "inverse activity" measure over the boundary and into the depth of the block on each side. This inverse activity type of measure serves to decide between two methods ("modes") of processing: a Default mode (that will in effect change only the 2 boundary pixels), which is operative when the "inverse activity" is small (e.g. in case of textured data).
II. a DC mode, which is operative when the "inverse activity" is large (the area is more or less smooth, with maybe one edge inside it). In the DC mode there are two options: 1) if the difference between the minimal pixel and the maximal pixel in the region of 4 pixels to the left of the boundary and 4 pixels to the right is large (larger or equal to twice the quantization scale (QS) factor of the treated block) then nothing is done (since the algorithm deduces that the blocking artifact is not severe). However, this may be also the case when the blocking artifact is severe and there is also an edge in the 8 pixels region, so that this lack of action is actually a disadvantage. 2) if the difference is small (smaller than twice the QS factor of the treated block) then the entire region of interest (ROI) of the eight pixels is smoothed with a constant filter (since the algorithm deduces that the blocking artifact is severe).
The disadvantages of the LG method become clear when considering the following examples. In the first example (Case "A"), consider a block with a visible and solid block boundary, having a large single high edge within the block (a very common case in natural pictures divided to 8x8 blocks). In such a case, the LG method chooses the DC mode (II). Within the DC mode option 1 is chosen and no filtering is performed, i.e. the LG method will not filter the visible block boundary of this block. In another, similar example (Case "B"), consider a block in which the edge is not too high, i.e. it is a mild edge. In this case the LG method will also choose the DC mode, but in this case option 2 is chosen and filtering is performed. That is, the LG method will filter the visible block boundary of this block, but will also filter a real edge (that will affect its neighborhood since the LG method use a 9 taps filter in this case). In a second example (Case "C"), consider a block with a visible and solid block boundary and two edges (one on each side of the boundary). In this case, the LG method will choose the Default mode (I). In the default mode, the LG method will change the value of the 2 pixels that cross the block boundary. The problem here is that the LG method is not exploiting the possibility to smooth deeper into the block, even if the edges are far away from the boundary (say at ± 3 pixels from the boundary).
Yet another fault of the LG algorithm (as disclosed in the LG method) is that it is not robust to changes in the threshold against which the absolute differences are evaluated. There are no numerical values for the threshold in the prior art LG patent above (Kim '135), and the examples used above assumed the most logical values, taken from the MPEG4 standard in which the LG algorithm is presented with numerical values. If the threshold is changed to a smaller number, then Case "A" above becomes frequent, and the algorithm will produce poor results. If the threshold is changed to a larger number, then the DC mode (II) becomes irrelevant (it will not be activated). Therefore, the LG method is not robust. There is thus a widely recognized need for, and it would be highly advantageous to have, a low cost implementation, general use, accurate de-blocking filter aimed at reducing the blocking artifact.
SUMMARY OF THE INVENTION
The present invention is of a method for reducing blocking artifacts. The method presented herein can remove blocking artifacts from pictures that were, for example, compressed using one of the compression methods mentioned above. A major advantage of the method disclosed herein is an adaptive choice of a filtered pixels region of interest (ROI). The population of pixels that undergo filtering is adaptively chosen as an integral part of the invention. The adaptation is defined in a way such that edges in the content of the picture are not smoothed out by the method, which, in essence, is a low pass filtering method due to the nature of the problem it solves. The method uniquely treats bounding conditions for finite length filtering so that no artifacts are introduced by it. It also detects areas in the picture content that are smooth, and uses an aggressive filter for better smoothing of blocking artifacts in such areas. As a result, the quality and sharpness of the picture are not reduced by applying this method to blocky pictures. The method presented herein can be performed on a reconstructed picture, used as a post-processing operation in order to improve and enhance picture quality, or used as an in- loop operation in order to enhance image quality and improve the process of estimating motion within the compression loop. According to the present invention there is provided a method for removing blocking artifacts from moving and still pictures, each picture composed of blocks defined by horizontal and vertical block boundaries, the method comprising the steps of: in each picture, classifying the horizontal and vertical boundaries as blocky or non-blocky; for each classified blocky boundary, defining an adaptive, picture content-dependent, one-dimensional filtered pixels region of interest (ROI) having two ends and bound at each end by a bounding pixel, the ROI including a first plurality of concatenated, adjacent pixels to be filtered, the ROI crossing the blocky boundary; defining a finite filter with a length correlated with the first plurality of concatenated, adjacent pixels of the ROI; defining a filtering pixels expansion having a second one dimensional plurality of pixels, the second plurality including the first plurality of pixels; and filtering the first plurality of pixels using the finite filter and the filtering expansion.
According to one feature of the method of the present invention, the ROI is symmetric.
According to another feature of the method of the present invention, the ROI is asymmetric.
According to the present invention, in a preferred embodiment of the method the classifying includes classifying boundaries spaced apart from each other by 8 pixels.
According to a feature in the preferred embodiment of the method of the present invention, the classifying further includes assigning the value of each pixel of a boundary pixel-duo P8 and P , the boundary pixel-duo included in the first pixel plurality and straddling the block boundary, choosing a multiplier M and a receiving a quantization scale parameter
QS, and classifying the block boundary as blocky if |P8-P9| < (M*QS).
According to another feature in the preferred embodiment of the method of the present invention, the definition of an adaptive one-dimensional filtered pixels ROI includes: for each blocky boundary, assigning four pixel values P5, P6, P7, P8 of adjacent pixels residing on a left side for a vertical boundary and on a top side for a horizontal boundary and four pixel values P9, P10, Pn, P12 of adjacent pixels residing on a right side for a vertical boundary and on a bottom side for a horizontal boundary, providing a threshold Threshold_l, and running an iterative cycle comparing absolute value differences between each adjacent pixel pair on each side of the boundary and Threshold_l .
According to yet another feature in the preferred embodiment of the method of the present invention, the comparison of absolute value differences includes, iteratively: checking if |Pχ-Pχ-ι| < Threshold_l wherein X is successively 8, 7 and 6 and, if true, including each Pχ_ i the filtered pixels ROI, the ROI bound with P5 as a bounding pixel, else using Px as the bounding pixel to bound the ROI on the left side for a vertical block boundary and on the top side for a horizontal block boundary; and checking if |Pχ-Pχ+ι| ≤ Threshold_l wherein X is successively 9, 10 and 11 and, if true, including each Pχ+1 in the filtered pixels ROI, the ROI bound with P12 as a bounding pixel, else using Px as a right bounding pixel for a vertical block boundary and as a bottom bounding pixel for a horizontal block boundary to bound the ROI on right side for a vertical boundary and on the bottom side for a horizontal boundary.
According to yet another feature in the preferred embodiment of the method of the present invention, the definition of a finite filter further includes: if the filtered pixels ROI includes 8 pixels P to Pι2, defining the filter as Filter_l where Filter_l = [h0, h^ h2, h3, h_\, h5, h6, h , h8], and if the filtered pixels ROI includes less then 8 pixels, defining the filter as Filter_2 where Filter_2 = [h0, hi, h2, h3, _ ].
According to yet another feature in the preferred embodiment of the method of the present invention, the definition of a filtering pixel expansion includes: receiving as input the bounding pixel of the filtered pixels ROI, the bounding pixel value obtained in the checking, receiving as input a pixel adjacent to the bounding pixel, the adjacent pixel residing outside the filtered pixels ROI, providing a threshold Threshold_2, and calculating an absolute gray- level difference between the bounding pixel and the adjacent pixel, and comparing the absolute gray-level difference with Threshold_2. According to yet another feature in the preferred embodiment of the method of the present invention, the comparison of the absolute gray-level difference with Threshold_2 further includes, for a vertical block boundary: checking if |PLB - PLB-I| ≤ Threshold_2 where PLB-I is the pixel immediately adjacently to the left of P B and P B is the left bounding pixel, and if true using the value of PLB-I or the expansion, else using the value of P B for the expansion, and checking if |PRB - PRB+I| ≤ Threshold_2, where PRB+I is the pixel immediately adjacently to the right of PRB and PRB is the right bounding pixel, and if true, using the value of PRB+I for the expansion, else using the value of PRB for said expansion. According to yet another feature in the preferred embodiment of the method of the present invention, the comparison of the absolute gray-level difference with Threshold__2 further includes, for a horizontal block boundary: checking if |PTB - PT/B-I| ≤
Threshold_2 where PJB-I is the pixel immediately adjacently above PTB and PTB is the top bounding pixel, and if true, using the value of PTB-! for the expansion, else using the value of PTB for the expansion, and checking if |PBB — PBB+I| ≤ Threshold_2, where PBB+I is the pixel immediately adjacently below PBB and PBB is the bottom bounding pixel, and if true, using the value of PBB+I for the expansion, else using the value of PBB for the expansion.
According to yet another feature -in the preferred embodiment of the method of the present invention, the filtering of the filtered pixels ROI using Filter_l and the filtering pixels expansion includes: padding four values to each side of the one-dimensional filtered pixels
ROI using the filtering pixels expansion values, and filtering the one-dimensional filtered pixels ROI using Filter_l .
According to yet another feature in the preferred embodiment of the method of the present invention, the filtering of the filtered pixels ROI using Filter_2 and the filtering pixels expansion includes: padding two values to each side of the one-dimensional filtered pixels
ROI using the filtering pixels expansion values, and filtering the one-dimensional filtered pixels ROI using Filter_2.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention is herein described, by way of example only, with reference to the accompanying drawings, wherein:
FIG. 1 illustrates the blocking artifact: A - an original picture, B - a reconstructed (encoded/decoded) picture;
FIG. 2 shows visualization of definitions: vertical block boundary, horizontal block boundary and boundary pixel-duo;
FIG. 3 shows a block diagram of the main conceptual stages of the suggested method for removing blocking artifacts; FIG. 4 shows visualization of definitions: labeling of pixels of interest of the presented method over horizontal block boundaries and vertical block boundaries;
FIG. 5 shows a detailed flowchart of the conceptual stages of the suggested method for removing blocking artifacts; FIG. 6 shows an example of the conceptual stages of the suggested method for removing blocking artifacts: A - part of a picture, B - illustration of classification stage, C — illustration of filtered pixels ROI stage, and D - illustration of filtered pixels expansion stage; FIG. 7 shows examples for padding for a 9 taps filter: A - filtered pixels ROI with and without expansion, and B - filtered pixels ROI with expansion and padding;
FIG. 8 shows examples for padding for a 5 taps filter: A - filtered pixels ROI with and without expansion, and B - filtered pixels ROI with expansion and padding;
FIG. 9 shows examples of the performance of the suggested de-blocking method: A and C - pictures encoded at 40 KBPS/10 FPS: B and D - pictures after using the de-blocking method described herein;
DESCRIPTION OF THE PREFERRED EMBODIMENTS
The present invention is of a method for reducing blocking artifacts. In the following description, we will refer to 8x8 pixel blocks, with the understanding that the method described is equally applicable to any NxN block based compression. The method presented herein can remove blocking artifacts from pictures that were, for example, compressed using one of the compression methods mentioned above. The method presented herein can be performed on a reconstructed picture, used as a post-processing operation in order to improve and enhance picture quality, or used as an in-loop operation in order to enhance image quality and improve the process of estimating motion within the compression loop.
The principles and operation of a method for reducing blocking artifacts according to the present invention may be better understood with reference to the drawings and the accompanying description. Referring now to the drawings, FIG. 2 shows some of the definitions used in the following description. FIG. 2 shows a picture area 100 formed of four blocks 102, 104, 106, and 108. Each of the four blocks shown includes 64 pixels. A horizontal block boundary 110 separates top blocks 102 and 104 from bottom blocks 106 and 1 8. A vertical block boundary 110 separates left blocks 102 and 108 from right blocks 104 and 106. A pair of pixels residing on opposite sides of a boundary e.g. pixel pairs 114 and 116 are defined a Boundary Pixel- Duo. The method is performed on all block boundaries of a block-decoded picture, preferably first over the horizontal boundaries (i.e. from top to bottom or from bottom to top in FIG. 2), and then on the vertical boundaries (i.e. from left to right or from right to left in FIG. 2). The most preferred sequence is to operate the method first over the horizontal boundaries from top to bottom, and then over the vertical boundaries from left to right. This since decoding is commonly performed in raster scan, and quantization over the horizontal block boundaries is more severe in the general case, hence it is desired to treat it first. However, in the most general case, the operation of the method of the present invention can be performed in any sequence involving the horizontal and vertical block boundaries.
In a preferred method embodiment, the removal of a blocking artifact includes four conceptual stages as shown in a block diagram in FIG. 3, and as described below. The four stages are: Block Boundary Classification stage 150 is a stage performed for every pixel-duo that defines a block boundary (horizontal and vertical). This stage determines for every pixel-duo in the picture whether it resides across a Blocky boundary or a Non-Blocky boundary, thus providing the decision rule for this classification. Every pixel-duo residing across a boundary classified as Blocky goes on to be treated using the next three stages. Every pixel-duo residing across a Non-blocky boundary is passed over by the next three stages, i.e. these stages are not operative in this case.
Filtered Pixels Region Of Interest and Filter Definition stage 152. In this stage the region of interest (ROI) that contains the pixels that will undergo filtering (in a filtering stage 156, see below) is defined. In addition this stage also provides the method and rule for choosing and defining the actual filter that will perform the filtering in stage 156. All the pixel values that belong to the filtered pixels ROI will change after filtering stage 156 is performed. The filtered pixels ROI is a concatenated set of pixels that cross a block boundary in one dimension. The definition or choice of the pixels that will become members of the filtered pixels ROI is unique, and it is done according to a certain rule, explained below. The definition is such that the ROI will contain a blocky boundary and a smooth set of pixels on each side of the block boundary, and will not include edges. Once the filtered pixels ROI is defined, a unique rule provides a method for choosing a filter to be used in filtering stage 156. ROI definition stage 152 is performed for every pixel-duo residing across a boundary classified as blocky in stage 150. Filtering Pixels Expansion stage 154. It is a well know fact that when a finite length one-dimensional ROI of values, and a finite length one-dimensional filter of, say, length L (where L is an odd number, and the ((L-l)/2+l)th filter tap is the middle filter tap) are given, and filtering is to be performed, the filtering of the (L-l)/2 leftmost (or top-most for the vertical case) values and the filtering of the (L-l)/2 rightmost (or bottom-most for the vertical case) values must be well defined. It is common to define "padding" of (L-l)/2 values to the left (or top) and right (or bottom) of the ROI of values. This stage in the present invention provides the technique for explicitly defining the values to be used for padding the left side (or top) and right (or bottom) side of the finite one-dimensional ROI of values that was defined in stage 152. The suggested technique for explicitly defining the values to be used for padding is defined in such a way that the outcome of the filtering stage 156 provides the best visual quality for a human observer.
Filtering stage 156 is the stage in which the actual filtering of the pixels in the filtered pixels ROI (stage 152) is performed. In the filtering stage, a one-dimensional Finite Impulse Response (FIR) Low Pass Filter (LPF) is introduced to the filtered pixels ROI. Filtering pixels expansion stage 154 is used to define the padding of the finite one-dimensional filtered pixels ROI so that the outcome of the filtering will be of high visual quality. The filter used for filtering is the filter previously defined in stage 152. FIG. 4 shows a 16x16 pixel image section. A set of pixels labeled P4, P5, P6, P7; P8, P ,
Pio, Pn, Pi2 and Pj3 form a one-dimensional pixel span (of interest regarding the present invention) that cross a block boundary. In FIG. 4, a horizontal pixel span 200 crosses a vertical block boundary 202, while a vertical pixel span 204 crosses a horizontal block boundary 206. The same numbering is used for the span of pixels over a horizontal block boundary and over a vertical block boundary.
FIG. 5 shows a detailed block diagram detailing the flow of the algorithm for removing blocking artifacts, which is built around the four stages 150, 152, 154, 156, of FIG. 3.
The algorithm starts with classification stage 150 using as an input 300 the pair (boundary pixel-duo) P8 and P , and two additional parameters - the QS associated with the block containing P9, and a parameter "M". "M" is a gain, with values typically of the order of 2 to 5, which multiplies the QS parameter. The classification criteria used in the preferred embodiment is according to: )P8 - P | < M*(QS). If the condition above is true, then the block boundary associated with the specific pixel-duo P8 and P is classified as Blocky, and if the condition above is false then the block boundary associated with the specific pixel-duo P8 and P9 is classified as Non-Blocky.
Multiplier "M" is defined in the classification condition since the QS alone is not sufficient for a definition whether a block boundary is blocky or non-blocky. The QS alone is a direct measure for the quantization error of the mean block value, and as such it may be used only as part of the measure of blockyness. The QS is not taking into consideration higher order data like DCT basis components and their phase. By using a multiplier of a constant value, a better classification may be achieved. As a rule, all the pixels that belong to the 8x8 block boundaries (vertical and horizontal) of a reconstructed picture undergo block boundary classification stage 150.
If a specific one-dimensional block boundary is classified as Non-Blocky, no filtering is performed across it (the observation in this case is that an edge is the cause for the discontinuity between the two adjacent pixels comprising the specific pixel-duo). If a block boundary is classified as Blocky, the algorithm proceeds to stage 152 (the observation in this case is that the discontinuity between two adjacent pixels comprising the specific pixel-duo is caused by a blocking artifact).
Referring to FIG. 4, filtered pixels ROI definition stage 152 considers the span of pixels P5, P6, P7 and P8 on the left of a vertical block boundary (202) or above -a horizontal block boundary (206), and the span of pixels P9, P10, Pπ and Pj2 on the right of a vertical block boundary (202) or below a horizontal block boundary (206). P5, P6, P , P8, P , P10, Pπ and Pj2 are input at an input 302 in FIG. 5.
A detailed iterative procedure for the definition of the filtered pixels ROI is now given below.
The basic operation is measuring the absolute gray-level difference of two adjacent (neighboring) pixels against a pre-determined threshold (Threshold_l), input at a first threshold input 302. If the absolute gray-level difference of two adjacent pixels is smaller than or equal to Threshold_l, then those two adjacent pixels are considered similar (it is an observation of this invention that such two pixels form a concatenation of two pixels both belonging to a smooth area). If the absolute gray-level difference of two adjacent pixels is larger than Threshold_l, then those two adjacent pixels are considered not similar, hence implying the presence of an edge in the picture content. A typical range for Threshold_l is between 2-6, with most preferable values being 3 and 4.
The first iteration starts with the check |P8-P | < Threshold^ . If true, P7 is in the filtered pixels ROI, bounding (closing) it from the left in the case of a vertical boundary (e.g. boundary 202 in FIG. 4) and from the top in the case of a horizontal boundary (e.g. boundary 206 in FIG. 4). Else (i.e. if |P8-P7| > Threshold^ the filtered pixels ROI is bound (closed) on the left for boundary 202, and from the top for boundary 206 by P8. Within this text we will refer to any of the pixels P8 down to P5 that close the filtered pixels ROI from the left as a "left bounding ROI pixel" or "PLB"- The discussion will continue with reference to "left to right" pixel ranges crossing a vertical boundary, with the understanding that the definition of a vertical filtered pixels ROI crossing a horizontal boundary is identical. Specifically, in FIG. 4, any of pixels P8 down to P5 in span 204 that close the filtered pixels ROI crossing boundary 206 from the top will be a "top bounding ROI pixel" or "PTB".
If the filtered pixels ROI was not closed by P8 (that is if P was the left bounding ROI pixel of the first iteration), a next iteration is run in which the check is |P7-P6| < Threshold_l . If true, P6 is in the filtered pixels ROI and is the PLB- Else, P6 is not in the filtered pixels ROI, and hence P7 is the PLB, and the process of defining the left boundary of the filtered pixels ROI stops.
If the filtered pixels ROI was not closed by P7, then the next iteration checks if |P6-P5| < Threshold_l . If true, P5 is in the filtered pixels ROI, the process of defining the ROI from the left ends, and the filtered pixels ROI is closed from the left side by P5 (P is the PLB)- Else, P5 is not in the filtered pixels ROI and P6 is the PLB- Next, a similar iterative procedure is run on the four pixels P9 - P12 across the boundary. As above, and without any loss of generality, we will deal with a horizontal span crossing a vertical boundary, the aim of this part of the procedure being to find a "right bounding ROI pixel" or "PRB", equivalent to a "bottom bounding ROI pixel" or "PBB" of a vertical span crossing a horizontal boundary. Starting in a first iteration with the check |P -Pιo| < Threshold_l . If true, then P10 is in the filtered pixels ROI (and is the PRB) and the process of defining the ROI continues. Else, P10 is not in the filtered pixels ROI, the filtered pixels ROI is closed from the right side by P9, which is the PRB, and the process of defining the ROI stops. Following a respective "continuation" decision, similar iterations are run with the checks |P10- Pi i| < Threshold_l and |Pπ-Pι2| < Threshold_l. It is important to note that there is no relation between the magnitude of the QS used in classification stage 150 and Threshold_l used in stage 152. In stage 152, the internal block gray-level self-similarity of the pixels is of main interest. For example, there might be an area of smooth content (or even constant content) in which self-similarity of values inside the block exists, co-existing with a large discontinuity over a block boundary that was caused by a large value of quantization in the encoding process.
It is stated as part of this invention that the iterative procedure defined above can be generalized to work with any block size, and it is not limited to 8x8 pixel blocks. A generalization is done by iterating for N/2 steps the basic rule |Pχ-Pχ.ι] < Threshold_l, N being the size of the block, and "X" starting from the index associated with the pixels most adjacent to a block boundary. X stars from the left side for a vertical boundary, and from the top side for a horizontal boundary, in the left and top direction, A generalization is similarly done by iterating for N/2 steps the basic rule |Pχ-Pχ+ι| < Threshold_l , N being the size of the block, and "X" starting from the index associated with the pixels most adjacent to a block boundary from the right side for a vertical boundary and from the bottom side for a horizontal boundary, in the right and bottom direction. The description below continues with reference to the special case of 8x8 pixel blocks, with the understanding that the invention as described works with general NxN blocks as well. Once the filtered pixels ROI is decided, the algorithm, in stage 152, proceeds to define the filter that will be used in the filtering stage (156). In the preferred embodiment, the filter is chosen according to the size of the filtered pixels ROI, as explained below. The filtered pixels ROI may include in the case of 8x8 blocks: 2, 3, 4, 5, 6, 7 or 8 pixels, in one of 46 different pixels compositions (for example: P , P8, P9 and P8, P9, Pio form two compositions of 3 pixels, P6, P7, P8, P9 and P7, P8, P , P10 and P8, P9, P10, Pπ form three compositions of 4 pixels, and so on). The FIR filter is preferably chosen according to the following rule: if the length of the filtered pixels ROI is exactly 8 pixels, then the filter to be used in filtering stage 156 is a 9 Taps FIR filter labeled Filter_l, where Filter_l = [ho, hi, h , h3, Lj, h5, h , h7, h8], (I14 being the center of the filter). Typical values for Filter_l are Filter_ l = [1 1 2 2 4 2 2 1 lj/16, however any low pass filter having the same nature will also be suitable. If the length of the filtered pixels ROI is less than 8 pixels, then the filter to be used in filtering stage 156 is a 5 Taps FIR filter labeled Filter_2, where Filter_2 = [ho, hi, h2, h3, 114], (h being the center of the filter). Typical values for Filter_2 are Filter_2 = [1 1 4 1 l]/8, however any low pass filter having the same nature will also be suitable. It is an observation of this invention that if the filtered pixels ROI is 8 pixels long, then the 8 pixels of the filtered pixels ROI belong to a smooth area in the picture. In this case a long filter will provide better smoothing of the blocking artifact, hence a filter 9 Taps long is chosen in the preferred embodiment.
Once the filtered pixels ROI and the filter to be used in the filtering stage are decided, the algorithm proceeds to stage 154 - the filtering pixels expansion stage. In this stage, the values to be used for padding the left (or top) side and right (or bottom) side of the finite horizontal (or vertical) one-dimensional ROI of values are determined. The expansion value (i.e. the value to be used for padding in filtering stage 156) is preferably determined by measuring and comparing the absolute gray-level difference of two adjacent (neighboring) pixels, of which one is a filtered pixels ROI "bounding pixel" and the other an adjacent neighbor, against a pre-determined threshold (Threshold_2). Threshold_2 is input at a second threshold input 304, and is typically larger by an order of magnitude than Threshold 1. In the horizontal direction (for vertical block boundaries 202) stage 152 defined the left bounding ROI pixel (PLB) and the right bounding ROI pixel (PRB). The expansion to the left of PLB is determined according to: ]PLB -PLB-I| ≤ Threshold_2, where PLB-I is the pixel to the left of PLB- If true, PLB-I is the expansion pixel and the value of PLB-I is used for padding in filtering stage 156. Else, PLB is the expansion pixel and the value of PLB is the value used for padding in filtering stage 156. The expansion to the right of PRB is determined according to: |PRB - PRB+I| ≤ Threshold_2, where PRB+I is the pixel to the right of PRB. If true, PRB+I is the expansion pixel and the value of PRB+I is used for padding in filtering stage 156., Else, PRB is the expansion pixel and the value of P B is the value used for padding in filtering stage 156. In the vertical direction (for horizontal block boundaries 206), the expansion value is determined in a similar fashion, but replacing PLB and PRB with, respectively, PTB and PBB- The padding to the top of PTB is determined according to: |PTB - PTB-I| ≤ Threshold_2, where PTB-I is the pixel immediately above P B- If true, PTB-I is the expansion pixel and the value of PTB-I is used for padding in filtering stage 156. Else, PTB is the expansion pixel and the value of PTB is the value used for padding in filtering stage 156. The padding to the bottom of PBB is determined according to: |PBB - PBB+I| ≤ Threshold_2, where PBB+I is the pixel immediately below PBB- If true, PBB+I is the expansion pixel and the value of PBB+I is used for padding in filtering stage 156. Else, PBB is the expansion pixel and the value of PBB is the value used for padding in filtering stage 156. For example if P5 was found to be a PLB in stage 152, expansion stage 154 will check the value of P5 against the value of P4 (in this case = PLB-I), specifically IP5-P4 < Threshold_2. If true, P4 is the expansion (i.e. the padding value) that will be used for padding the finite filtered pixels ROI from the left side in filtering stage 156. Else, P5 is the expansion (i.e. the padding value) that will be used for padding the finite filtered pixels ROI from the left side in filtering stage 156. Referring now to FIG. 6, the three stages 150, 152, 154 are illustrated clearly via an example. FIG. 6A illustrates six blocks 220, 222, 224, 226, 228 and 230 of a picture 210, divided by a vertical boundary 232 and two horizontal boundaries 234 and 236. FIG. 6B illustrates classification stage 150 performed on picture 210. In B, pixels marked "X" illustrate several boundary pixel-duos (and according to FIG. 4 referred to as pixels Pg and P9) that were classified as Blocky across vertical block boundary 232 (i.e. Pg and P are classified as residing on each side of a blocky boundary). FIG. 6C illustrates the result of the filtered pixels ROI stage 152. For all the vertical boundaries classified as Blocky in FIG. 6B, a different filtered pixels ROI is determined according to the picture content. In FIG. 6C, eight different cases of filtered pixels ROI are presented: 250 (two symmetric sets of 8 pixels), 252 (one asymmetric set of 4 pixels to the left, i.e. P8, P7, P6, P5, and two to the right, i.e. P , P10, of boundary 232, 254 (three asymmetric sets of 5 pixels, 4 to the left and 1 to the right of boundary 232), 256, 258, 260, 262 and 264. In 250, P5 is the left bounding ROI pixel and P12 is the right bounding ROI pixel, in 252, P5 is the left bounding ROI pixel and P10 is the right bounding ROI pixel, in 254, P is the left bounding ROI pixel and P9 is the right bounding ROI pixel. The latter five ROIs are not explained in detail, but clearly follow the explanations of the first three. All pixels marked "X" in FIG. 6C will be changed by filtering stage 156. Finally, FIG. 6D illustrates the outcome of the filtering pixels expansion stage (154) (in the figure only the expansion pixels that are not ROI bounding pixels are uniquely marked, for example pixels 270 and 272, for simpler visualization. Where not uniquely marked, the bounding pixel itself is used for padding).
The filtered pixels ROI process of stage 152 allows only similar gray-leveled pixels to join the filtered pixels ROI, hence an edge in the picture content will stop the growth of the filtered pixels ROI (which is the desired behavior in stage 152). In filtering stage 156, to which the algorithm proceeds next, a filtering process smoothes the filtered pixels ROI using a finite length low pass filter. If the edge that stopped the growth of the filtered pixels ROI is high, then the visual result after filtering is good. If the edge that stopped the growth of the filtered pixels ROI is mild ("mild" herein is considered to be more or less 25 to 45 gray-levels difference), the filtering pixels expansion stage is designed to allow mild edges to be used for padding (e.g. if Threshold_2 is chosen to be of the order of the mild edges gray-levels difference, i.e. between typically 25 and 45, and most preferably between 25 and 30). This way, mild edges are slightly smoothed by the algorithm, producing good visual quality.
The filtering procedure includes two steps: padding the finite length one-dimensional filtered pixels ROI using the expansion values, and filtering the finite length filtered pixels ROI with the filter.
The padding step has two possible scenarios, depending on the length of the filter (which is an outcome of stage 152). FIG. 7 and FIG. 8 depict the two scenarios for a vertical boundary case: FIG. 7 depicts the scenario in which the 9 taps filter is used, and FIG. 8 depicts the scenario in which the 5 taps filter is used.
In FIG. 7A, the filtered pixels ROI is P5 to P12, hence the 9 Taps filter (Filter ) is used. The left side of the filtered pixels ROI was expanded by pixel P (identically PLB-I), so the padding in FIG. 7B is done by adding four pixels of value P to the left of the filtered pixels ROI (filtering will start at P5 since P5 is the first pixel in the filtered pixels ROI. P contributes to the filtering but it is not altered by it). The right side of the ROI was expanded by pixel P12 (identically PRB), in which case the padding in FIG. 7B is done by adding four pixels of value Pι2 to the right of the filtered pixels ROI. In FIG. 8A, the filtered pixels ROI is P7 to P12, hence the 5 Taps filter (Filter_2) is used.
The left side of the filtered pixels ROI was expanded by pixel P6 (identically PLB-I), so the padding in FIG. 7B is done by adding two pixels of value P6 to the left of the filtered pixels ROI (filtering will start at P since P7 is the first pixel in the filtered pixels ROI. P6 contributes to the filtering but it is not altered by it). The right side of the filtered pixels ROI was expanded by pixel P12 (identically PRB), in which case the padding in FIG. 8B is done by adding two pixels of value P12 to the right of the filtered pixels ROI.
The filtering process is simply a finite length one-dimensional filtering between the finite length filter and the finite length padded filtered pixels ROI, and the result is taken only for the pixels that are the members of the filtered pixels ROI. Finally, referring to FIG. 9 that shows an example of the performance of the suggested method for removing blocking artifacts, FIG. 9A and FIG. 9C present pictures encoded at a bit rate of 40 Kbps and a frame rate of 10 fps, in which the blocking artifact is visible, FIG. 9B and FIG. 9D present respectively the outcome of the suggested de-blocking method for the two compressed pictures. In summary, a major innovative aspect of the method of the present invention includes the adaptive choice of filtered pixels ROI - we choose the entire population of pixels that can be smoothed without causing artifacts (like smoothing out an edge). The method works well with any number of edges in the processed picture content. Another innovative aspect is the way bounding conditions for finite length filtering are treated, as a result of the method's ability to distinguish between high and mild edges. In addition, more aggressive filtering is introduced for areas defined as smooth. As a result the quality and sharpness of the picture are not reduced by applying this method to blocky pictures. Other advantages of the present method include: a) making a distinct separation between strong edges and mild edges, b) never missing a block boundary (edge in the block or not), c) not smoothing out an edge into the data, and d) exploiting the full width of the smooth region. All publications, patents and patent applications mentioned in this specification are herein incorporated in their entirety by reference into the specification, to the same extent as if each individual publication, patent or patent application was specifically and individually indicated to be incorporated herein by reference. In addition, citation or identification of any reference in this application shall not be construed as an admission that such reference is available as prior art to the present invention.
While the invention has been described with respect to a limited number of embodiments, it will be appreciated that many variations, modifications and other applications of the invention may be made.

Claims

WHAT IS CLAIMED IS
1. A method for removing blocking artifacts from moving and still pictures, each picture composed of blocks defined by horizontal and vertical block boundaries, the method comprising the steps of: a. in each picture, classifying the horizontal and vertical boundaries as blocky or non-blocky; b. for each said classified blocky boundary, defining an adaptive, picture content-dependent, one-dimensional filtered pixels region of interest (ROI) having two ends and bounded at each said end by a bounding pixel, said ROI including a first plurality of concatenated, adjacent pixels to be filtered, said ROI crossing said blocky boundary; c. defining a finite filter with a length correlated with said first plurality of concatenated, adjacent pixels of said ROI; d. defining a filtering pixels expansion having a second one dimensional plurality of pixels, said second plurality including said first plurality of pixels; and e. filtering said first plurality of pixels using said finite filter and said filtering pixels expansion.
2. The method of claim 1, wherein said ROI is symmetric.
3. The method of claim 1 , wherein said ROI is asymmetric.
4. The method of claim 1, wherein said classifying includes classifying boundaries spaced apart from each other by 8 pixels.
5. The method of claim 4, wherein said classifying further includes: a. assigning the value of each pixel of a boundary pixel -duo Pg and P , said boundary pixel-duo included in said first pixel plurality and straddling said block boundary, b. choosing a multiplier M and receiving a quantization scale parameter QS, and c. classifying said block boundary as blocky if |P8-P | < (M*QS).
6. The method of claim 4, wherein said definition of an adaptive one- dimensional filtered pixels ROI includes: a. for each said blocky boundary, assigning four pixel values P5, P6, P7, P8 of adjacent pixels residing on a left side for a vertical block boundary and on a top side for a horizontal block boundary, and four pixel values P , P10, Pii, Pi2 of adjacent pixels residing on a right side for a vertical block boundary and on a bottom side for a horizontal block boundary, b. providing a threshold, Threshold_l, and, iteratively, c. comparing absolute value differences between each said adjacent pixel pair on each side of said blocky boundary and said Threshold^! .
7. The method of claim 6, wherein said comparison of absolute value differences includes, iteratively: a. checking if jPχ-Pχ-ι| < Threshold_l wherein X is successively 8, 7 and 6 and, if true, including each said Px.] in said filtered pixels ROI, said ROI bound with said P as said bounding pixel on said left side for a vertical block boundary and on said top side for a horizontal block boundary, else b. using said Px as said bounding pixel to bound said ROI on said left side for a vertical block boundary and on said top side for a horizontal block boundary, and c. checking if jPχ-Pχ+ιj < Threshold_l wherein X is successively 9, 10 and 11 and, if true, including each said Pχ+1 in said filtered pixels ROI, said ROI bound with said Pι2 as said bounding pixel on said right side for a vertical block boundary and on said bottom side for a horizontal block boundary, else d. using said Px as said bounding pixel to bound said ROI on said right side for a vertical block boundary and on said bottom side for a horizontal block boundary.
The method of claim 4, wherein said definition of a finite filter further includes: a. if said filtered pixels ROI includes 8 pixels P5 to P12, defining said filter as Filter_l where Filter_l = [ho, hi, h , h3, b-j, h5, h6, h , hg], and b. if said filtered pixels ROI includes less then 8 pixels, defining said filter as Filter_2 where Filter_2 = [h0, hi. h2, h , _M].
9. The method of claim 7, wherein said defining a filtering pixel expansion includes: a. receiving as input said bounding pixel of said filtered pixels ROI, said bounding pixel value obtained in said checking, b. receiving as input a pixel adjacent to said bounding pixel, said adjacent pixel residing outside said filtered pixels ROI, c. providing a threshold Threshold_2, and d. calculating an absolute gray-level difference between said bounding pixel and said adjacent pixel, and comparing said absolute gray-level difference with said Threshold_2.
10. The method of claim 9, wherein said comparing said absolute gray-level difference with said Threshold_2 further includes, for a vertical block boundary: a. checking if |PLB - PLB-I I ≤ Threshold__2 where PLB-I is the pixel immediately adjacently to the left of PLB and PLB is said left bounding pixel, and if true using the value of said PLB-I for said expansion, else b. using the value of said PLB for said expansion, and c. checking if |PRB - PRB+I! ≤ Threshold_2, where P B+! is the pixel immediately adjacently to the right of PRB and P B is said right bounding pixel, and if true, using the value of said PRB+I for said expansion, else d. using the value of said PRB for said expansion.
11. The method of claim 9, wherein said comparing said absolute gray-level difference with said Threshold_2 further includes, for a horizontal block boundary: a. checking if |PTB - PTB-I! ≤ Threshold_2 w:here PTB-I is the pixel immediately adjacently PTB and PTB is said top bounding pixel, and if true, using the value of said PTB-I for said expansion, else b. using the value of said PTB for said expansion, and c. checking if |PBB - PBB+I | ≤ Threshold_2, where PBB+I is the pixel immediately adjacently below PBB and PBB is said bottom bounding pixel, and if true, using the value of said PBB+I for said expansion, else d. using the value of said PBB for said expansion.
12. The method of claim 8, wherein said filtering of said filtered pixels ROI using said Filter_l and said filtering. pixels expansion includes: a. padding four values to each side of said one-dimensional filtered pixels ROI using the filtering pixels expansion values, and b. filtering said one-dimensional filtered pixels ROI using said Filter_l .
13. The method of claim 8, wherein said filtering of said filtered pixels ROI using said Filter_2 and said filtering pixels expansion includes: c. padding two values to each side of said one-dimensional filtered pixels ROI using said filtering pixels expansion values, and d. filtering said one-dimensional filtered pixels ROI using said Filter_2.
PCT/US2002/028157 2001-09-05 2002-09-05 Method for reducing blocking artifacts WO2003021936A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2002323591A AU2002323591A1 (en) 2001-09-05 2002-09-05 Method for reducing blocking artifacts

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US31696301P 2001-09-05 2001-09-05
US60/316,963 2001-09-05

Publications (2)

Publication Number Publication Date
WO2003021936A2 true WO2003021936A2 (en) 2003-03-13
WO2003021936A3 WO2003021936A3 (en) 2003-05-22

Family

ID=23231483

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2002/028157 WO2003021936A2 (en) 2001-09-05 2002-09-05 Method for reducing blocking artifacts

Country Status (3)

Country Link
US (2) US7426315B2 (en)
AU (1) AU2002323591A1 (en)
WO (1) WO2003021936A2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2429593A (en) * 2005-08-26 2007-02-28 Electrosonic Ltd Data compressing using a wavelet compression scheme
US9992252B2 (en) 2015-09-29 2018-06-05 Rgb Systems, Inc. Method and apparatus for adaptively compressing streaming video

Families Citing this family (81)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7239755B1 (en) 1997-07-30 2007-07-03 Lg Electronics Inc. Method of reducing a blocking artifact when coding moving picture
KR100308016B1 (en) 1998-08-31 2001-10-19 구자홍 Block and Ring Phenomenon Removal Method and Image Decoder in Compressed Coded Image
AU2002323591A1 (en) * 2001-09-05 2003-03-18 Emblaze Systems Ltd. Method for reducing blocking artifacts
US9042445B2 (en) 2001-09-24 2015-05-26 Broadcom Corporation Method for deblocking field-frame video
EP2899977A1 (en) * 2002-01-31 2015-07-29 Samsung Electronics Co., Ltd Filtering method and apparatus for reducing block artifacts or ringing noise
ATE428997T1 (en) * 2002-11-15 2009-05-15 Qualcomm Inc APPARATUS AND METHOD FOR MULTIPLE DESCRIPTION ENCODING
US7463688B2 (en) * 2003-01-16 2008-12-09 Samsung Electronics Co., Ltd. Methods and apparatus for removing blocking artifacts of MPEG signals in real-time video reception
US7606305B1 (en) * 2003-02-24 2009-10-20 Vixs Systems, Inc. Method and system for transcoding video data
US7327784B2 (en) * 2003-02-24 2008-02-05 Vixs Systems, Inc. Method and system for transcoding video data
AR043643A1 (en) * 2003-03-17 2005-08-03 Qualcomm Inc METHOD AND APPLIANCE TO IMPROVE THE QUALITY OF LOW FLOW VIDEO OF BITS
US7995849B2 (en) * 2003-03-17 2011-08-09 Qualcomm, Incorporated Method and apparatus for improving video quality of low bit-rate video
US20050013494A1 (en) * 2003-07-18 2005-01-20 Microsoft Corporation In-loop deblocking filter
US7724827B2 (en) * 2003-09-07 2010-05-25 Microsoft Corporation Multi-layer run level encoding and decoding
US7519274B2 (en) 2003-12-08 2009-04-14 Divx, Inc. File format for multiple track digital data
US8472792B2 (en) 2003-12-08 2013-06-25 Divx, Llc Multimedia distribution system
US7397854B2 (en) * 2004-04-29 2008-07-08 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US20050243914A1 (en) * 2004-04-29 2005-11-03 Do-Kyoung Kwon Adaptive de-blocking filtering apparatus and method for mpeg video decoder
US7397853B2 (en) * 2004-04-29 2008-07-08 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US7460596B2 (en) * 2004-04-29 2008-12-02 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US7400679B2 (en) * 2004-04-29 2008-07-15 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US7539248B2 (en) * 2004-04-29 2009-05-26 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US7496141B2 (en) * 2004-04-29 2009-02-24 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US7697782B2 (en) * 2004-09-16 2010-04-13 Sharp Laboratories Of America, Inc. System for reducing ringing artifacts
JP2006115078A (en) * 2004-10-13 2006-04-27 Matsushita Electric Ind Co Ltd Device and method for signal processing of image data
US7136536B2 (en) * 2004-12-22 2006-11-14 Telefonaktiebolaget L M Ericsson (Publ) Adaptive filter
US9955205B2 (en) * 2005-06-10 2018-04-24 Hewlett-Packard Development Company, L.P. Method and system for improving interactive media response systems using visual cues
US7957467B2 (en) * 2005-09-15 2011-06-07 Samsung Electronics Co., Ltd. Content-adaptive block artifact removal in spatial domain
JP4455487B2 (en) * 2005-12-16 2010-04-21 株式会社東芝 Decoding device, decoding method, and program
US8311129B2 (en) * 2005-12-16 2012-11-13 Lifesize Communications, Inc. Temporal video filtering
JP5200204B2 (en) 2006-03-14 2013-06-05 ディブエックス リミテッド ライアビリティー カンパニー A federated digital rights management mechanism including a trusted system
US20080084932A1 (en) * 2006-10-06 2008-04-10 Microsoft Corporation Controlling loop filtering for interlaced video frames
US7796834B2 (en) * 2006-11-16 2010-09-14 Texas Instruments Incorporated Post-processing technique for noise reduction of DCT-based compressed images
TWI330041B (en) * 2006-11-28 2010-09-01 Realtek Semiconductor Corp Image processing method and device for performing block effect reduction
EP4184341A1 (en) 2007-01-05 2023-05-24 DivX, LLC Video distribution system including progressive playback
US8331717B2 (en) * 2007-10-03 2012-12-11 Panasonic Corporation Method and apparatus for reducing block noise
WO2009065137A1 (en) 2007-11-16 2009-05-22 Divx, Inc. Hierarchical and reduced index structures for multimedia files
CN101605254B (en) * 2008-06-13 2011-09-07 深圳Tcl新技术有限公司 System and method for reducing video region blocking effect
US10123050B2 (en) * 2008-07-11 2018-11-06 Qualcomm Incorporated Filtering video data using a plurality of filters
US8031782B2 (en) * 2008-08-29 2011-10-04 ADC2 Technologies LLC Systems and methods for compression, transmission and decompression of video codecs
US8265421B2 (en) * 2008-11-06 2012-09-11 Sony Corporation Video system with blocking artifact two-dimensional cross filtering
US9036693B2 (en) * 2009-01-08 2015-05-19 Sri International Method and system for providing region-of-interest video compression
EP2507995A4 (en) 2009-12-04 2014-07-09 Sonic Ip Inc Elementary bitstream cryptographic material transport systems and methods
US8787443B2 (en) 2010-10-05 2014-07-22 Microsoft Corporation Content adaptive deblocking during video encoding and decoding
US9247312B2 (en) 2011-01-05 2016-01-26 Sonic Ip, Inc. Systems and methods for encoding source media in matroska container files for adaptive bitrate streaming using hypertext transfer protocol
US9807424B2 (en) 2011-01-10 2017-10-31 Qualcomm Incorporated Adaptive selection of region size for identification of samples in a transition zone for overlapped block motion compensation
US9042458B2 (en) 2011-04-01 2015-05-26 Microsoft Technology Licensing, Llc Multi-threaded implementations of deblock filtering
US8812662B2 (en) 2011-06-29 2014-08-19 Sonic Ip, Inc. Systems and methods for estimating available bandwidth and performing initial stream selection when streaming content
US9467708B2 (en) 2011-08-30 2016-10-11 Sonic Ip, Inc. Selection of resolutions for seamless resolution switching of multimedia content
US9955195B2 (en) 2011-08-30 2018-04-24 Divx, Llc Systems and methods for encoding and streaming video encoded using a plurality of maximum bitrate levels
US8799647B2 (en) 2011-08-31 2014-08-05 Sonic Ip, Inc. Systems and methods for application identification
US8806188B2 (en) 2011-08-31 2014-08-12 Sonic Ip, Inc. Systems and methods for performing adaptive bitrate streaming using automatically generated top level index files
US8964977B2 (en) 2011-09-01 2015-02-24 Sonic Ip, Inc. Systems and methods for saving encoded media streamed using adaptive bitrate streaming
US8909922B2 (en) 2011-09-01 2014-12-09 Sonic Ip, Inc. Systems and methods for playing back alternative streams of protected content protected using common cryptographic information
US8918908B2 (en) 2012-01-06 2014-12-23 Sonic Ip, Inc. Systems and methods for accessing digital content using electronic tickets and ticket tokens
AR092786A1 (en) * 2012-01-09 2015-05-06 Jang Min METHODS TO ELIMINATE BLOCK ARTIFACTS
CN102547296B (en) * 2012-02-27 2015-04-01 开曼群岛威睿电通股份有限公司 Motion estimation accelerating circuit and motion estimation method as well as loop filtering accelerating circuit
TWI463468B (en) * 2012-03-03 2014-12-01 Mstar Semiconductor Inc Image processing apparatus, and image processing method
US9936267B2 (en) 2012-08-31 2018-04-03 Divx Cf Holdings Llc System and method for decreasing an initial buffering period of an adaptive streaming system
US9313510B2 (en) 2012-12-31 2016-04-12 Sonic Ip, Inc. Use of objective quality measures of streamed content to reduce streaming bandwidth
US9191457B2 (en) 2012-12-31 2015-11-17 Sonic Ip, Inc. Systems, methods, and media for controlling delivery of content
US10397292B2 (en) 2013-03-15 2019-08-27 Divx, Llc Systems, methods, and media for delivery of content
US9906785B2 (en) 2013-03-15 2018-02-27 Sonic Ip, Inc. Systems, methods, and media for transcoding video data according to encoding parameters indicated by received metadata
US9094737B2 (en) 2013-05-30 2015-07-28 Sonic Ip, Inc. Network video streaming with trick play based on separate trick play files
US9100687B2 (en) 2013-05-31 2015-08-04 Sonic Ip, Inc. Playback synchronization across playback devices
US9380099B2 (en) 2013-05-31 2016-06-28 Sonic Ip, Inc. Synchronizing multiple over the top streaming clients
US9118932B2 (en) 2013-06-14 2015-08-25 Nvidia Corporation Adaptive filtering mechanism to remove encoding artifacts in video data
EP3036689B8 (en) * 2013-10-25 2020-11-11 MediaTek Inc. Method and apparatus for processing picture having picture height not evenly divisible by slice height and/or slice width not evenly divisible by pixel group width
US9386067B2 (en) 2013-12-30 2016-07-05 Sonic Ip, Inc. Systems and methods for playing adaptive bitrate streaming content by multicast
US9866878B2 (en) 2014-04-05 2018-01-09 Sonic Ip, Inc. Systems and methods for encoding and playing back video at different frame rates using enhancement layers
KR20230156433A (en) 2014-08-07 2023-11-14 디빅스, 엘엘씨 Systems and methods for protecting elementary bitstreams incorporating independently encoded tiles
CN113259731B (en) 2015-01-06 2023-07-04 帝威视有限公司 System and method for encoding content and sharing content between devices
ES2768979T3 (en) 2015-02-27 2020-06-24 Divx Llc System and method for frame duplication and frame magnification in streaming and encoding of live video
FI20165256A (en) * 2016-03-24 2017-09-25 Nokia Technologies Oy Hardware, method and computer program for video encoding and decoding
US10075292B2 (en) 2016-03-30 2018-09-11 Divx, Llc Systems and methods for quick start-up of playback
US10231001B2 (en) 2016-05-24 2019-03-12 Divx, Llc Systems and methods for providing audio content during trick-play playback
US10129574B2 (en) 2016-05-24 2018-11-13 Divx, Llc Systems and methods for providing variable speeds in a trick-play mode
US10148989B2 (en) 2016-06-15 2018-12-04 Divx, Llc Systems and methods for encoding video content
US10498795B2 (en) 2017-02-17 2019-12-03 Divx, Llc Systems and methods for adaptive switching between multiple content delivery networks during adaptive bitrate streaming
US10645408B2 (en) * 2017-09-17 2020-05-05 Google Llc Dual deblocking filter thresholds
CN107623859B (en) * 2017-11-27 2021-11-30 珠海亿智电子科技有限公司 Deblocking method for JPEG coding under low code rate
BR112021018802A2 (en) 2019-03-21 2021-11-23 Divx Llc Systems and methods for multimedia swarms

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5500685A (en) * 1993-10-15 1996-03-19 Avt Communications Limited Wiener filter for filtering noise from a video signal
US5654759A (en) * 1995-02-15 1997-08-05 Hitachi America Ltd. Methods and apparatus for reducing blockiness in decoded video
US5787207A (en) * 1991-12-30 1998-07-28 Golin; Stuart J. Method and apparatus for minimizing blockiness in reconstructed images

Family Cites Families (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2253318B (en) * 1991-02-27 1994-07-20 Stc Plc Image processing
US6215425B1 (en) 1992-02-19 2001-04-10 Netergy Networks, Inc. Deblocking filter for encoder/decoder arrangement and method with divergence reduction
JP3161172B2 (en) 1993-08-06 2001-04-25 ミノルタ株式会社 Encoding device
US5719958A (en) * 1993-11-30 1998-02-17 Polaroid Corporation System and method for image edge detection using discrete cosine transforms
US5473384A (en) * 1993-12-16 1995-12-05 At&T Corp. Method of and system for enhancing distorted graphical information
US5933451A (en) * 1994-04-22 1999-08-03 Thomson Consumer Electronics, Inc. Complexity determining apparatus
US5757982A (en) * 1994-10-18 1998-05-26 Hewlett-Packard Company Quadrantal scaling of dot matrix data
US5590064A (en) * 1994-10-26 1996-12-31 Intel Corporation Post-filtering for decoded video signals
US5802218A (en) 1994-11-04 1998-09-01 Motorola, Inc. Method, post-processing filter, and video compression system for suppressing mosquito and blocking atrifacts
US5737455A (en) * 1994-12-12 1998-04-07 Xerox Corporation Antialiasing with grey masking techniques
US5852475A (en) * 1995-06-06 1998-12-22 Compression Labs, Inc. Transform artifact reduction process
FR2737931B1 (en) * 1995-08-17 1998-10-02 Siemens Ag METHOD FOR PROCESSING DECODED IMAGE BLOCKS OF A BLOCK-BASED IMAGE CODING METHOD
US6151420A (en) 1995-12-15 2000-11-21 Polaroid Corporation Minimizing blocking artifacts in a filtered image
US5796875A (en) * 1996-08-13 1998-08-18 Sony Electronics, Inc. Selective de-blocking filter for DCT compressed images
US5835618A (en) * 1996-09-27 1998-11-10 Siemens Corporate Research, Inc. Uniform and non-uniform dynamic range remapping for optimum image display
US6188799B1 (en) * 1997-02-07 2001-02-13 Matsushita Electric Industrial Co., Ltd. Method and apparatus for removing noise in still and moving pictures
JP3095140B2 (en) * 1997-03-10 2000-10-03 三星電子株式会社 One-dimensional signal adaptive filter and filtering method for reducing blocking effect
FI106071B (en) * 1997-03-13 2000-11-15 Nokia Mobile Phones Ltd Adaptive filter
FI103003B (en) * 1997-06-13 1999-03-31 Nokia Corp Filtering procedure, filter and mobile terminal
US7239755B1 (en) * 1997-07-30 2007-07-03 Lg Electronics Inc. Method of reducing a blocking artifact when coding moving picture
KR100281099B1 (en) * 1997-07-30 2001-04-02 구자홍 Method for removing block phenomenon presented by cording of moving picture
KR100244290B1 (en) * 1997-09-09 2000-02-01 구자홍 Method for deblocking filtering for low bit rate video
KR100262500B1 (en) * 1997-10-16 2000-08-01 이형도 Adaptive block effect reduction decoder
US6285801B1 (en) * 1998-05-29 2001-09-04 Stmicroelectronics, Inc. Non-linear adaptive image filter for filtering noise such as blocking artifacts
US6320905B1 (en) * 1998-07-08 2001-11-20 Stream Machine Company Postprocessing system for removing blocking artifacts in block-based codecs
US6236764B1 (en) 1998-11-30 2001-05-22 Equator Technologies, Inc. Image processing circuit and method for reducing a difference between pixel values across an image boundary
US6529638B1 (en) * 1999-02-01 2003-03-04 Sharp Laboratories Of America, Inc. Block boundary artifact reduction for block-based image compression
KR100319557B1 (en) * 1999-04-16 2002-01-09 윤종용 Methode Of Removing Block Boundary Noise Components In Block-Coded Images
KR100644498B1 (en) * 1999-08-25 2006-11-10 마츠시타 덴끼 산교 가부시키가이샤 Noise detecting method, noise detector and image decoding apparatus
FI117533B (en) * 2000-01-20 2006-11-15 Nokia Corp Procedure for filtering digital video images
US6993191B2 (en) * 2001-05-04 2006-01-31 Pts Corporation Methods and apparatus for removing compression artifacts in video sequences
US7003174B2 (en) * 2001-07-02 2006-02-21 Corel Corporation Removal of block encoding artifacts
JP4145586B2 (en) * 2001-07-24 2008-09-03 セイコーエプソン株式会社 Image processing apparatus, image processing program, and image processing method
AU2002323591A1 (en) * 2001-09-05 2003-03-18 Emblaze Systems Ltd. Method for reducing blocking artifacts
US6983079B2 (en) * 2001-09-20 2006-01-03 Seiko Epson Corporation Reducing blocking and ringing artifacts in low-bit-rate coding
US7302104B2 (en) * 2001-12-28 2007-11-27 Ricoh Co., Ltd. Smoothing tile boundaries of images encoded and decoded by JPEG 2000
EP1555832A3 (en) * 2004-01-14 2011-05-18 Samsung Electronics Co., Ltd. Adaptive loop filtering for reducing blocking artifacts
US7397854B2 (en) * 2004-04-29 2008-07-08 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US7400679B2 (en) * 2004-04-29 2008-07-15 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US7539248B2 (en) * 2004-04-29 2009-05-26 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US7496141B2 (en) * 2004-04-29 2009-02-24 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US7397853B2 (en) * 2004-04-29 2008-07-08 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US7460596B2 (en) * 2004-04-29 2008-12-02 Mediatek Incorporation Adaptive de-blocking filtering apparatus and method for MPEG video decoder
US20050243914A1 (en) * 2004-04-29 2005-11-03 Do-Kyoung Kwon Adaptive de-blocking filtering apparatus and method for mpeg video decoder
US7430336B2 (en) * 2004-05-06 2008-09-30 Qualcomm Incorporated Method and apparatus for image enhancement for low bit rate video compression

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5787207A (en) * 1991-12-30 1998-07-28 Golin; Stuart J. Method and apparatus for minimizing blockiness in reconstructed images
US5500685A (en) * 1993-10-15 1996-03-19 Avt Communications Limited Wiener filter for filtering noise from a video signal
US5654759A (en) * 1995-02-15 1997-08-05 Hitachi America Ltd. Methods and apparatus for reducing blockiness in decoded video

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2429593A (en) * 2005-08-26 2007-02-28 Electrosonic Ltd Data compressing using a wavelet compression scheme
US9204170B2 (en) 2005-08-26 2015-12-01 Rgb Systems, Inc. Method for image data processing utilizing multiple transform engines
US9924199B2 (en) 2005-08-26 2018-03-20 Rgb Systems, Inc. Method and apparatus for compressing image data using compression profiles
US9930364B2 (en) 2005-08-26 2018-03-27 Rgb Systems, Inc. Method and apparatus for encoding image data using wavelet signatures
US10051288B2 (en) 2005-08-26 2018-08-14 Rgb Systems, Inc. Method and apparatus for compressing image data using a tree structure
US10244263B2 (en) 2005-08-26 2019-03-26 Rgb Systems, Inc. Method and apparatus for packaging image data for transmission over a network
US9992252B2 (en) 2015-09-29 2018-06-05 Rgb Systems, Inc. Method and apparatus for adaptively compressing streaming video

Also Published As

Publication number Publication date
US20090028459A1 (en) 2009-01-29
US7706627B2 (en) 2010-04-27
AU2002323591A1 (en) 2003-03-18
US7426315B2 (en) 2008-09-16
US20030044080A1 (en) 2003-03-06
WO2003021936A3 (en) 2003-05-22

Similar Documents

Publication Publication Date Title
US7426315B2 (en) Method for reducing blocking artifacts
US8582666B2 (en) Image compression and decompression
EP1805994B1 (en) Deblocking filter
US8139651B2 (en) Video deblocking filter
US6178205B1 (en) Video postfiltering with motion-compensated temporal filtering and/or spatial-adaptive filtering
EP1796395A2 (en) Method and device for intra prediction coding and decoding of images
CN108028920A (en) The method and device of the middle-and-high-ranking block elimination filtering of coding and decoding video
US20050243916A1 (en) Adaptive de-blocking filtering apparatus and method for mpeg video decoder
US20050243915A1 (en) Adaptive de-blocking filtering apparatus and method for mpeg video decoder
JPWO2008084745A1 (en) Image coding apparatus and image decoding apparatus
US20090016442A1 (en) Deblocking digital images
He et al. Adaptive HEVC video steganography with high performance based on attention-net and PU partition modes
JPH10224790A (en) Filter eliminating block noise in companded image and filter method
JP4510701B2 (en) Video encoding device
EP2257072A1 (en) Image and video coding
Bennet et al. Performance and analysis of hybrid algorithm for blocking and ringing artifact reduction
JPH11187400A (en) Method for removing distorting and its filter
JP2008544621A (en) Encoding and decoding method and apparatus for improving video error concealment
Seo et al. Low-complexity watermarking based on entropy coding in H. 264/AVC
WO2004052019A1 (en) Method of measuring blocking artefacts
Helsingius et al. Image compression using ac prediction
JPH08163375A (en) Method and device for picture compression
Yi et al. PRE-Processing for Video Coduing with Rate-Distortion Optimization Decision
Eschbach Conditional post-processing of JPEG compressed images

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BY BZ CA CH CN CO CR CU CZ DE DM DZ EC EE ES FI GB GD GE GH HR HU ID IL IN IS JP KE KG KP KR LC LK LR LS LT LU LV MA MD MG MN MW MX MZ NO NZ OM PH PL PT RU SD SE SG SI SK SL TJ TM TN TR TZ UA UG UZ VN YU ZA ZM

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ OM PH PL PT RO RU SD SE SG SI SK SL TJ TM TN TR TT TZ UA UG UZ VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR IE IT LU MC NL PT SE SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW MZ SD SL SZ UG ZM ZW AM AZ BY KG KZ RU TJ TM AT BE BG CH CY CZ DK EE ES FI FR GB GR IE IT LU MC PT SE SK TR BF BJ CF CG CI GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Country of ref document: JP