This disclosure is based upon European Application No. 02406150.9 filed Dec. 30, 2002, and International Application No. PCT/IB2003/006141, filed Dec. 17, 2003, the contents of which are incorporated by reference.
The present invention relates to a video coding method of exploiting the temporal redundancy between successive frames in a video sequence.
Efficiently encoding video or moving pictures relies heavily on exploiting the temporal redundancy between successive frames in a sequence. Based on the assumption that local motions are slow with respect to the temporal sampling period, several techniques have been proposed for efficiently removing this redundancy. The most successful and acclaimed method is block-based motion prediction, heavily used in nowadays standards such as MPEG4 and H.26L. Roughly speaking, these compression scheme predict a frame in the sequence based on the knowledge of previous frames. The current frame (or predicted) is cut into blocks of fixed size and the best matching block is searched in the reference frame. Displacement vectors are then encoded so that the decoder can reconstruct the prediction of the current frame from the previously decoded frame(s). As the block-based prediction is not accurate enough to encode perfectly the current frame, the error between the original and the predicted frame is encoded separately. This is in general referred to as texture coding or motion residual coding. The main draw-back of this method lies in the blocky nature of the prediction mechanism, which gives rise to very noticeable blocky artefacts at low bit rates. Moreover such a system, while well suited for wide translational motions, is unable to cope with locally complex movements or even global geometric transformations such as zoom or rotation. Finally, block based motion prediction is not able to follow natural features of images since it is stuck in a fixed framework based on artificial image primitives (blocks).
This invention propose to solve the above-mentioned problems by introducing a new paradigm for dealing with spatio-temporal redundancy.
The method according the invention exploits the temporal redundancy between successive frames in a video sequence. A reference frame, called an I-frame, is first approximated by a collection of basis functions, called atoms. Either the atoms are quantized, entropy coded and sent to a decoder, or the original I-frame is encoded and transmitted to the decoder using any frame codec. Subsequent predicted frames, called P-frames, are approximated by the geometric transformations of the basis functions (atoms) describing the previous frame. The parameters of the geometric transformation are quantized, entropy coded and sent to a decoder in order to reconstruct the predicted frames.
The invention will be described with the help of accompanying representations.
The proposed method is composed of two main parts. In a first step, a geometric model of a reference frame is built. In the second step, the model is updated by deformations in order to match successive frames.
A reference frame (or intra frame, I-frame) is first decomposed into a linear combination of basis functions (atoms) selected in a redundant, structured library (see. P. Vandergheynst and P. Frossard, Efficient image representation by anisotropic refinement in matching pursuit, in Proceedings of IEEE ICASSP, Salt Lake City Utah, May 2001, vol. 3, the content of which is incorporated herein by reference)
In this equation, I(x,y) is the Intensity of the I-frame represented as a function giving the gray level value of the pixel at position (x,y). cn are weighting coefficients and gγ
Translations: gb(x,y)=g(x−b1,y−b2)
Dilation: ga(x,y)=a−1 g(x/a,y/a)
Translations, anisotropic dilations and rotations:
and γ=[a1, a2, b1, b2, θ], are the parameters of this transformation.
Generating mother functions are chosen almost arbitrarily. Their properties can be adapted to the specific application. A possible example is to select an oscillating function of the form:
The decomposition can for example be accomplished using a Matching Pursuit (see S. Mallat and Z. Zhang, Matching Pursuits with time-frequency dictionaries, IEEE Transactions on Signal Processing, 41(12):3397-3415, December 1993, the content of which is incorporated herein by reference). Matching Pursuit (MP) is a greedy algorithm that iteratively decomposes the image using the following scheme. First the atom that best matches the image is searched by maximizing the scalar product between the image and the dictionary, and a residual image is computed:
Then the same process is applied to the residual:
and iteratively:
Finally this yields a decomposition of the image in terms of a sum of atoms:
The basis functions (atoms) are indexed by a string of parameters γn representing geometric transformations applied to a generating mother function g(x,y). This index can be seen as a point on a manifold. The set of geometric transformations is designed in such a way that the total collection of basis functions (atoms) is a dense subspace of L2 (R2), i.e. any image can be exactly represented.
This part of the method expresses the I-frame as a collection of atoms that can be seen as geometric features such as edges or parts of objects which are very noticeable by the human eye. These basic primitives hereafter referred to as atoms, form a primal sketch of the image. The atoms are modelled and fully represented by the set of coefficients and parameters {cn, γn, n=0, . . . , N−1}, where cn is the coefficient and γn is a vector of parameters.
There are two ways to handle the coding of the I-frames. The first one is to estimate the atoms of the original frame. The atoms modelling the I frame are then quantized, entropy coded and sent in the bitstream. The process of quantizing an atom corresponds to the quantization of its coefficient and parameters. The atoms are also stored in memory in order to be used for the prediction of the next frames. A flowchart of this procedure is shown in
Note that the figure includes an optional step, that encodes the motion residuals (or texture), which is the difference between the original frame and the one reconstructed using the atoms. This encoding can be used to further increase the quality of the decoded image up to a lossless reconstruction.
The second way of handling the I-frames is more conventional. The original frame is encoded and transmitted using any frame codec. Then the atoms are estimated from the reconstructed frame, both at the encoder and at the decoder. Finally those atoms are stored in memory for the prediction of future frames. The flowchart of this procedure is shown in
The second step of the method consists in updating the image model (the set of all atoms) in order to take into account the geometric deformations that have occurred between the reference and the current frame. Clearly, since the model is based on geometric transformations, updating its atoms allows for adapting to smooth local distortions (translations, rotations, scales are common examples). In order to compute this update, we assume that the deformed model is close enough to the reference model. We thus have to search for new atoms parameters in the proximity of the previous solution. This is performed by means of a local optimization procedure trying to minimize the mean square error between the updated model and the current frame (
where the optimization method for frame I1 at time t is initialized with the atom parameters corresponding to the solution at time t−1 or to the reference frame (the I frame) in order to avoid error propagation. This problem is a non-convex, non-linear, differentiable optimization problem (see Dimitri P. Bertsekas (1999) Nonlinear Programming: 2nd Edition. Athena Scientific, the content of which is incorporated herein by reference), which can be solved using various algorithms such as quasi-Newton methods, combined with line-search or trust-region globalization techniques (see Conn A., Gould N. & Toint Ph. (2000) Trust Region Methods. SIAM, the content of which is incorporated herein by reference), in order to identify a local optimum.
The difference between the original atom parameters and the updated ones is then computed and sent together with updated atom coefficients. Quantization and entropy coding can then be performed (P. Frossard, P. Vandergheynst and R. M, Figueras y Ventura, Redundancy driven a posteriori matching pursuit quantization. ITS Technical Report 2002, the content of which is incorporated herein by reference) and a bit stream generated. This procedure is shown in detail in the flow-chart of
Typical results of the motion prediction, with a coding cost of 170 Kbps in average are shown in
It can be seen that the motion prediction stays accurate even after 100 frames, even in the absence of encoding of the motion residual. This is the major advantage of this technique compared to block based compensation. In order to show the advantage of the new prediction technique, we have done the same experiment with typical block matching compensation. The same sequence was encoded using adaptive block compensation with block sizes of 4×4 to 32×32. The encoder automatically selected the best block size according to Rate-Distortion optimisation. By varying the block size it is possible to control the size of the compressed bitstream in order to match the result of the atom based motion prediction. Like in the case of the atom based prediction, the motion residual where not coded. The Motion prediction results of the block matching are shown in
Objective comparison can be done using the PSNR measure. This measure is computed using the squared difference between the original and the reconstructed frame, i.e.
where I(x,y) is the original frame and Ir(x,y) is the reconstructed frame. The PSNR comparisons of the two prediction methods, for a bitstream of average size of 170 Kbps, are shown in
The number of predicted frames can be fixed but can also be chosen in adaptive manner through rate and distortion constraints by means of a rate controller. For instance, when abrupt changes occur (shots between scenes), the model is not an accurate base anymore and the reference I-frame can simply be refreshed in order to compute a new model. Such a refresh mechanism can be monitored by tracking frame-to-frame distortion, which should stay rather constant for smooth updates of the initial model (
Number | Date | Country | Kind |
---|---|---|---|
02406150 | Dec 2002 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB03/06141 | 12/17/2003 | WO | 00 | 12/2/2005 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2004/059984 | 7/15/2004 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5448310 | Kopet et al. | Sep 1995 | A |
7245659 | Sekiguchi et al. | Jul 2007 | B2 |
20020114393 | Vleeschouwer | Aug 2002 | A1 |
Number | Date | Country | |
---|---|---|---|
20060203906 A1 | Sep 2006 | US |