Method of reducing a blocking artifact when coding moving picture
View Patent ↗A method of coding a moving picture is provided that reduces blocking artifacts. The method can include defining a plurality of defining pixels S 0 , S 1 , and S 2 , which are centered around a block boundary. If a default mode is selected then frequency information of the surroundings of the block boundary is obtained. A magnitude of a discontinuous component in a frequency domain belonging to the block boundary is adjusted based on a magnitude of a corresponding discontinuous component selected from a pixel contained entirely within a block adjacent the block boundary. The frequency domain adjustment is then applied to a spatial domain. Or, a DC offset mode can be selected to reduce blocking artifacts in smooth regions where there is little motion.
1. A method of reducing blocking artifacts when coding a picture including a collection of points, the method comprising:
dividing the picture into blocks that each include multiple points, wherein the points of a first block are separated from points of a neighboring second block by a block boundary;
determining whether a first point from the first block and adjacent to the block boundary is to be modified by using information from a second point of the second block and adjacent to the block boundary, wherein the determination is based on a function of the value of the first point, the value of the second point, a value of a third point adjacent to the first point and separated from the second point by no points other than the first point, and a value of a fourth point adjacent to the second point and separated from the first point by no points other than the second point; and
when the first point is to be modified, modifying the first point using information from the second point.
2. The method of claim 1 , wherein determining whether the first point is to be modified comprises determining whether the function of the values of the first through fourth points is less than a quantization parameter.
3. The method of claim 2 , further comprising generating a modification value using information from the second point, wherein modifying the first point comprises subtracting the modification value from the value for the first point.
4. The method of claim 3 , wherein determining whether the first point is to be modified comprises multiplying the modification value by a parameter that equals zero when the function of the first through fourth points is not less than the quantization parameter.
5. The method of claim 3 , wherein generating the modification value comprises using a clipping function that constrains the modification value to be no greater than half of the difference between the value for the first point and the value for the second point.