1. Technical Field
The present invention relates generally to scalable decoders, and more specifically relates to a system and method of improving decoding quality by analyzing the statistical properties of the enhancement layer information from the current and reference frames.
2. Related Art
As the popularity of systems utilizing compressed data standards, such as MPEG, H.26×, etc., continues to grow, the ability to efficiently process and communicate compressed data remains an ongoing challenge. One of the challenges of transmitting compressed video involves the sensitivity to network impairments. Because compressed video uses predictive coding algorithms and variable-length coding, transmission channel problems can result in error propagation or “drift.” In particular, motion compensation, which is widely used, allows the error to propagate both temporally and spatially. Because of this, new techniques are required that limit the extent of error propagation.
In recent years, the development of scalable video encoders has focused on eliminating the drift by providing systems in which the base layer (BL) is predicted only from base layer. This strategy has been taken one step further in the development of MPEG-4 Fine Granularity Scalability (FGS) systems, in which the enhancement layer (EL) is also predicted only from BL. However, while recent scalable video coding algorithms are becoming more efficient at compressing the video, they lose compression efficiency because they ignore all EL information when predicting the BL.
The coding efficiency can be increased by optimally combining the quantizer information of the BL and EL by modeling the evolution of DCT coefficients during the encoding process. While this approach improves the rate-distortion performance of the overall coder, it is also prone to drift in variable bandwidth channels, since the EL packets can be dropped irregularly depending on the traffic conditions.
Furthermore, previous attempts to improve the drift-free scalable video coder require significant modifications to the encoder structure. Such modifications are not always feasible for improving the existing drift-free scalable video codec, such as MPEG-4 Fine Granular Scalability (FGS).
The present invention addresses the above-mentioned problems, as well as others, by providing a scalable decoder having a parameter estimation and optimal reconstruction (PEOR) system and method for choosing the optimal reconstruction point of the dequantizer. In a first aspect, the invention provides a scalable decoder system having a decoder reconstruction system, wherein the decoder reconstruction system comprises: an estimation algorithm for estimating a lost discrete cosine transform (DCT) coefficient, wherein the estimation algorithm includes a density distribution dependent on at least one unknown parameter {circumflex over (α)}l; and a parameter estimation algorithm for estimating {circumflex over (α)}l according to the equation:
wherein bl denotes each of a set of quantizer decision levels l, and {circumflex over (P)}l is the sum of a set of a normalized frequency of occurrences of data quantized to each quantizer decision level 1, 2, . . . , l. The estimation algorithm is given by:
wherein Z is a quantization noise, Ez is an expectation with respect to quantization noise Z,
denotes a reconstruction offset,
is an expectation of a DCT coefficient of a previous frame, ρ equals a predetermined value between −1 and 1, and ai,n is a beginning of a quantization interval.
In a second aspect, the invention provides a parameter estimation and optimal reconstruction (PEOR) method for use in a scalable decoder, the method comprising: determining the set of quantization occurrences; estimating a parameter α, wherein α is estimated according to the equation
wherein bl denotes each of a set of quantizer decision levels l, and {circumflex over (P)}l is the sum of a set of a normalized frequency of occurrences of data quantized to each quantizer decision level 1, 2, . . . , l; generating a preliminary reconstruction point according to the equation
and smoothing the preliminary reconstruction point to generate an optimal reconstruction point.
In a third aspect, the invention provides a parameter estimation and optimal reconstruction (PEOR) system for use in a scalable decoder, comprising: a reconstruction system for determining an optimal reconstruction according to the equation:
wherein Z is a quantization noise, Ez is an expectation with respect to quantization noise Z,
denotes a reconstruction offset,
is an expectation of a discrete cosine transform (DCT) coefficient of a previous frame, ρ equals a predetermined value between −1 and 1, and ai,n is a beginning of a quantization interval.
These and other features of this invention will be more readily understood from the following detailed description of the various aspects of the invention taken in conjunction with the accompanying drawings in which:
In contrast to the conventional methods, the present invention provides a decoder system that exploits the redundant information of the encoded bitstream in the spatial and temporal direction to improve the decoder's efficiency. The invention does not require changes to existing drift-free scalable encoders, or the bitstream syntax. Thus, for a given bitstream, the invention provides consistently improved decoded video quality relative to existing decoders in terms of overall signal-to-noise ratio (PSNR).
The invention further develops the idea set forth in the paper “Optimal Estimation for Error Concealment in Scalable Video Coding,” by R. Zhang, S. L. Regunathan and K. Rose, Conference Record of the Thirty-Fourth Asilomar Conference on Signals, Systems and Computers, 2000, Volume: 2, 2000 (hereinafter “Zhang reference paper”), which describes a algorithm for error concealment in scalable video coding and is hereby incorporated by reference. The present invention, however, extends and improves the ideas of the Zhang reference paper to provide consistently better video quality in terms of PSNR. Furthermore, as shown below, the present invention does not require training of the parameters, and is therefore more practical in many video applications. In addition, unlike the cited reference, the present invention can be applied to improve the decoder performance when no transmission errors occur.
The Zhang reference paper provides a mechanism for error concealment of scalable video coding by mitigating damage caused by packet loss at the enhancement layer. The reference makes full use of the information in the DCT domain available at the decoder from both the current base layer and prior enhancement layer frames. It employs a statistical model for the evolution of transform coefficients from frame to frame and implements the optimal estimate of the reconstructed coefficients.
More specifically, the evolution of a DCT coefficient in time (“from frame to frame”) may be modeled by the first-order Markov process:
xi,n=ρxi,n−l+wi,n, (1)
where xi,n is the ith DCT coefficient in frame n, and xi,n−l is the DCT coefficient in the previous frame that was mapped to it by motion compensation, wi,n denotes an independent innovation generating process and ρ is the AR coefficient having an absolute value less than 1.
Consider a scenario where an enhancement layer packet has been lost and a block needs to be reconstructed. They first use the information provided by the (error-free) base layer that determines (via its quantization interval) a corresponding interval in which the original DCT coefficient value must lie:
xi,nε(ai,n, bi,n). (2)
Further, let
be the decoder-reconstruction (which may be corrupted and hence differ from the encoder reconstruction) of the corresponding DCT coefficient in the previous enhancement layer frame. Taking into account all the available information, the optimal estimate to reconstruct the lost DCT coefficient is given by:
The estimate in equation (3) may be conveniently approximated by the reconstruction:
where
To evaluate this expectation, the density of
wi,n is assumed to be:
Equation (5) can be derived from a Laplace-Markov assumption of the process xi,n in equation (1). Using equation (5), one can readily compute the value of equation (4), (collectively referred to herein as the “Zhang algorithm”).
While the Zhang reference jointly exploits information from current base-layer data and previous enhancement-layer data, the reference has some drawbacks. First, in order to run the Zhang algorithm, the parameters ρ and α must be obtained off-line using training, i.e., from a training set. Furthermore, the selected parameters are fixed for whole sequence, making scene-based adaptation difficult. Secondly, in the approximation of equation (4), the quantization noise of previous enhancement-layer data is not incorporated. Thus, equation (4) overly emphasizes the importance of
The present invention overcomes the above-mentioned drawbacks of the Zhang reference paper by maintaining the optimality of the Zhang algorithm. Furthermore, the system and method of the present invention can be applicable in an error-free scenario to improve the decoded video.
Referring first to
Specifically, decoder 10 includes a parameter estimation and optimal reconstruction (PEOR) system 18. The PEOR utilizes an adaptive estimation technique to determine the unknown parameters in equation (5), and an improved reconstruction formula by incorporating the quantization error of
in equation (4).
As shown in
The details of each of these systems are explained below.
It turns out that the Zhang algorithm is robust relative to the parameter ρ in equation (5). Thus, parameter ρ can be hand-picked to ρ≈1 for low frequency DCT coefficients (e.g., 0.99), and ρ<1 for high frequency DCT coefficients (e.g., 0.3), respectively. In case there is no transmission error, the value of ρ is set to zero.
The Zhang algorithm is, however, quite sensitive to parameter α in equation (5). Hence, the present invention provides an adaptive method to estimate α. Since the Laplace-Markov model of equation (5) dictates that xi,n has a Laplacian probability density function (pdf) with parameter α, the estimation problem may be reduced to the parameter estimation problem of a Laplacian distribution. Accordingly, the parameter a can be estimated robustly from its quantized realization within parameter estimation system 32 using the following formula:
Using the Laplace-Markov model of equation (5), it can be shown that the reconstruction formula (4) can be simplified as:
where
denotes a reconstruction offset. This formula can be used by system 34 for generating a preliminary reconstruction point. Based on equation (5), a typical shape of the reconstruction point 34 can be generated as depicted in FIG. 3.
As shown in
has no quantization noise.
Based on this observation, the optimized reconstruction formula of the present invention is derived directly from formula (3) without approximation. By implementing a noise distribution system 36 to smooth out the discontinuities, the optimal reconstruction point without approximation can be implemented using the equation:
where Z is a quantization noise. A typical shape 38 of the proposed optimal reconstruction point using equation (8) is given in FIG. 4. The result is that there is no discontinuity at the boundaries.
The distribution of the quantization error (as implemented by noise distribution system 36) can be modeled in any known manner (e.g. zero mean Gaussian or Laplacian). If the error is assumed Laplacian with parameter β, the expectation operation in equation (8) can be implemented as shown in
It is understood that the systems, functions, mechanisms, methods, algorithms and modules described herein can be implemented in hardware, software, or a combination of hardware and software. They may be implemented by any type of computer system or other apparatus adapted for carrying out the methods described herein. A typical combination of hardware and software could be a general-purpose computer system with a computer program that, when loaded and executed, controls the computer system such that it carries out the methods described herein. Alternatively, a specific use computer, containing specialized hardware for carrying out one or more of the functional tasks of the invention could be utilized. The present invention can also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods and functions described herein, and which—when loaded in a computer system—is able to carry out these methods and functions. Computer program, software program, program, program product, or software, in the present context mean any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following: (a) conversion to another language, code or notation; and/or (b) reproduction in a different material form.
The foregoing description of the preferred embodiments of the invention has been presented for purposes of illustration and description. They are not intended to be exhaustive or to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teachings. Such modifications and variations that are apparent to a person skilled in the art are intended to be included within the scope of this invention as defined by the accompanying claims.
Number | Name | Date | Kind |
---|---|---|---|
5278646 | Civanlar et al. | Jan 1994 | A |
6462681 | Van Der Vleuten et al. | Oct 2002 | B1 |
6519285 | Yamaguchi et al. | Feb 2003 | B2 |
6580754 | Wan et al. | Jun 2003 | B1 |
6618445 | Peng et al. | Sep 2003 | B1 |
6731811 | Rose | May 2004 | B1 |
6789123 | Li et al. | Sep 2004 | B2 |
6839384 | Yamada | Jan 2005 | B2 |
20020181587 | Vetro | Dec 2002 | A1 |
20030206595 | Peng et al. | Nov 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20030223642 A1 | Dec 2003 | US |