The invention described and claimed hereinbelow is also described in PCT/DE 02/03390, filed on Sep. 12, 2002 and DE 101 58 658.2, filed Nov. 30, 2001. This German Patent Application, whose subject matter is incorporated here by reference, provides the basis for a claim of priority of invention under 35 U.S.C. 119 (a)-(d).
The present invention is directed to a method for directional prediction of a picture block composed of pixels, in particular for the intra prediction of picture blocks greater than 4×4 pixels in size.
It is made known in reference [1], http://standard.pictel.com/ftp/video-site/0109 San/, in particular on pages 9 through 11, that video coding standard H.26L entails carrying out intra prediction on 4×4 pixel blocks or 16×16 pixel blocks. “Intra prediction” means that only that information about an actual picture that was previously transmitted is used to generate a prediction signal (e.g., the first picture in a video sequence is always “intra” coded). According to [1], six modes are available for 4×4 prediction. These modes differ in terms of the direction from which prediction takes place. In this process, the pixels on the edge of previously predicted (coded) neighboring picture blocks are used for prediction.
With the features of the present invention, pixels on the edge of at least one previously predicted neighboring picture block are also used to predict an actual picture block. In addition, those pixels that are used for prediction depending on the prediction direction are pre-filtered along an edge of the current picture block to be predicted, however. This pre-filtering results in improved prediction characteristics, in particular for blocks having a large edge length, i.e., an edge length that is greater than four pixels long.
The present invention is based on the knowledge that, if directional prediction is to be used for block sizes greater than 4×4 pixels, e.g., 4×8, 8×4, 8×8, 16×8, . . . , 16×16 pixels, then very concise structures are produced in the predicted picture block, the structures resulting in strong artifacts in the reconstructed picture. With the pre-filtering according to the invention, these artifacts are prevented by smoothing the prediction signal; this results in a subjective and objective improvement of the coding procedure for the transfer of picture blocks predicted in this manner.
The pixels of a neighboring picture block that are used for prediction are combined into one prediction vector, and low-pass filtering is carried out along the direction of the prediction direction. This measure simplifies the processing expense compared to a possible one-pass filtering.
Due to the heaviest weighting of the low-pass filtering at the zero position, i.e., at the position of a pixel to be predicted at that instant, the course of the prediction vector is retained, but the filtering results in a smoothing of the vector. The influence of the adjacent prediction values on the actual position becomes less the further removed they are from the actual position. This procedure dampens the formation of artifacts particularly effectively as block sizes increase.
Further features of the present invention also make an advantageous contribution to the suppression of artifacts.
The present invention also offers advantageous measures for handling block edges. In particular, the continuation of the prediction vector with its edge values simplifies the processing and storage expense. This results in increased coding efficiency.
Exemplary embodiments of the invention are explained with reference to the drawing.
Before the invention itself is discussed, the direction-dependent intra prediction made known in [1] will be described in greater detail, to facilitate a better understanding. Intra prediction according to [1] is carried out on 4×4 pixel blocks or 16×16 pixel blocks. Six modes are available for 4×4 prediction; they differ in terms of the direction from which prediction is carried out. The pixels on the edge of previously coded neighboring picture blocks are used for prediction. Possible blocks A′ and B′ adjacent to the actual picture block C′ to be predicted are shown in
In addition to DC (direct component) prediction, in which the mean of positions A through H are used as prediction for all pixels in picture block C′, five modes having various prediction directions are available. In addition to horizontal and vertical prediction, three diagonal prediction directions are possible as well. The prediction directions are depicted in
Prediction based on 16×16 pixel blocks is used in picture regions with little activity. DC prediction, horizontal and vertical prediction, and a somewhat more complex “plane” prediction method are available for this purpose. For a complete description of intra prediction methods, reference is made to H.26L Test Model (TML) [1].
The methods presented for 4×4 prediction can be expanded directly to other block sizes. To do this, the predictions are continued accordingly.
If directional prediction of the type defined previously for 4×4 picture blocks are to be used for picture blocks having more than 4×4 pixels, e.g., 4×8, 8×4, 8×8, 16×8, . . . , 16×16, very concise structures can be produced in the predicted picture block, the structures resulting in strong artifacts in the reconstructed picture. The measures according to the invention prevent these artifacts and therefore result in a subjective and objective improvement of the coding procedure.
The description is based on the directional prediction modes used in TML [1] for the intra coding of 4×4 picture blocks. Picture blocks that are 4×8, 8×4, 8×8, 8×16, 16×8 and 16×16 pixels in size are considered. Filtering is used at the edges having lengths >4 pixels long, i.e., for edges that are 8 or 16 pixels long. The method can also be used for other block sizes and prediction directions.
The pixels of the actual picture block that is M lines and N columns in size are referred to hereinbelow as:
P(i, j), i=0, . . . , N−1, j=0, . . . , M−1
The pixels of the neighboring picture blocks used for prediction are located in positions P(−1, j) and P(i, −1). They are combined hereinbelow in prediction vector V(n) having length Nf. In the case of mode 1 prediction presented hereinabove for 4×4 blocks, the following therefore applies, with Nf=4:
V(n)=P(n,−1)=[A, B, C, D], n=0, . . . 3.
To predict a picture block, V(n) is not used, rather, a filtered version Vf(n) is used. For filtering, a (low-pass) filter having a suitable length L is used, e.g.:
Pre-filtering takes place depending on the prediction direction. In mode 1 presented hereinabove, it takes place along the upper block edge picture block C′ to be predicted. Pre-filtering takes place along the direction of prediction vector V(n).
Using low-pass filtering, a smoothing of the prediction signal is achieved. There are many possibilities for handling the edge.
The effect of pre-filtering is shown in
A possible embodiment of pre-filtering is presented hereinbelow.
The following is given: an 8×8 block P(i, j), i, j=0, . . . , 7, with a prediction vector V(n), n=0, . . . , 7.
Filtering is carried out using a 3-tap filter for picture blocks having an edge length 8, with filter coefficients h(n)=(7 18 7)/32.
Pre-filtering with constant continuation at the edges results in:
Vf(0)=(7*V(0)+18*V(0)+7*V(1))/32
Vf(1)=(7*V(0)+18*V(2)+7*V(3))/32
Vf(2)=(7*V(1)+18*V(3)+7*V(4))/32
Vf(7)=(7*V(6)+18*V(7)+7*V(7))/32
Vector Vf(n), n=0, . . . , 7 is then used for prediction of the actual picture block C′.
As depicted in
Reference:
Number | Date | Country | Kind |
---|---|---|---|
101 58 658 | Nov 2001 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/DE02/03390 | 9/12/2002 | WO | 00 | 12/4/2003 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO03/049452 | 6/12/2003 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4951139 | Hamilton et al. | Aug 1990 | A |
5737022 | Yamaguchi et al. | Apr 1998 | A |
5978509 | Nachtergaele et al. | Nov 1999 | A |
20020110197 | Pearlstein et al. | Aug 2002 | A1 |
20040105586 | Bayazit | Jun 2004 | A1 |
20040136458 | Dahlhoff et al. | Jul 2004 | A1 |
Number | Date | Country |
---|---|---|
1 146 748 | Oct 2001 | EP |
91 14340 | Sep 1991 | WO |
98 41025 | Sep 1998 | WO |
Number | Date | Country | |
---|---|---|---|
20040136458 A1 | Jul 2004 | US |