means for selecting a first video pixel from the first video block in such a way that the first video pixel is located at the boundary in the first video block to obtain a first boundary video pixel,
means for selecting a second video pixel from the second video block in such a way that the second video pixel is located at the boundary in the second video block to obtain a second boundary video pixel,
means for selecting a first reference video pixel in the first video block and a second reference video pixel in the second video block, the first reference video pixel and the second reference video pixel being other than the first boundary video pixel and the second boundary video pixel and the first reference video pixel and the second reference video pixel being placed closer to a central portion of each of said video blocks than the respective boundary video pixel, in such a way that the reference video pixels and the boundary video pixels are situated on a straight line, the straight line being transverse to the boundary, drawn from the first reference video pixel to the second reference video pixel, wherein the first and the second boundary video pixels are located between the first and the second reference video pixels on the straight line,
means for defining a linear equation using the numerical values of the reference video pixels, the linear equation giving as a solution a numerical reference value to each boundary video pixel on said straight line, and
means for filtering at least one boundary video pixel by adjusting the numerical value of the at least one boundary video pixel towards the reference value of the at least one boundary video pixel.
11 A terminal device according to the claim 10, wherein the receiver terminal comprises receiving means for receiving the video picture via a mobile communication network.
a digital video picture is received, the video picture comprising video blocks, each video block comprising a certain amount of individual video pixels, each video pixel having a numerical value defining a property of the video pixel and having a certain location in the video picture, and in which video picture a first video block and a second video block located adjacent the first video block define a boundary therebetween,
a first video pixel from the first video block and a second video pixel from a second video block are selected in such a way that they are adjacent each other on the opposite sides of the boundary, and
the first video pixel and the second video pixel are filtered, wherein
a first reference video pixel is selected in the first video block and a second reference video pixel is selected in the second video block in such a way that the first reference pixel, the first video pixel, the second video pixel and the second reference pixel are situated on a straight line, perpendicular to the boundary, drawn from the first reference video pixel to the second reference video pixel,
a linear equation is defined, the linear equation giving as a solution a numerical reference value to each pixel on said straight line as a function of the location of the pixel on said straight line, and
the filtering is performed by adjusting the numerical value of the first video pixel towards its reference value, and by adjusting the numerical value of the second video pixel towards its reference value, and
further wherein a decision on whether the filtering method is used or not and for which video pixels the filtering is used is done on basis of activity inside the first video block, activity inside the second video block and activity at the boundary between the first video block and the second video block, and
wherein, the decision is based on the following equation IF activityINactivityEDGEMQUANT AND activityINTHRESHOLDIN TRUE
in which
activityIN is the variance inside the video block one and the video block two,
activityEDGE is the variance over the edge between the adjacent video block one and video block two, and
THRESHOLDIN is a Threshold value, and
MQUANT is a quantizer value.
in which said digital video picture is coded into video blocks, each video block comprising a certain amount of individual video pixels, each of said video pixels having a numerical value defining a property of the video pixel and having a certain location in the video picture, and in which video picture, a first video block is located adjacent to a second video block to define a boundary therebetween, the method comprising the steps of:
selecting a first reference video pixel in the first video block and a second reference video pixel in the second video block, the first reference video pixel and the second reference video pixel being displaced away from said boundary towards a central portion of each of said video blocks, said reference video pixels defining a straight line of video pixels transverse to said boundary, between said first reference video pixel and said second reference video pixel, wherein said straight line includes at least a first and a second adjustment video pixel located between the first and the second reference video pixels and said boundary;
defining a linear equation representing a video pixel value reference ine transverse to said boundary, said linear equation defined relative to the change in pixel values from said first reference pixel in said first video block to said second reference pixel in said second video block;
adjusting the numerical value of said at least first and second adjustment video pixels towards said pixel value reference line according to the position of said at least first and second adjustment video pixels from said boundary