Scalable Video Coding With Grid Motion Estimation and Compensation

Abstract
A scalable coder having a grid motion estimation and compensation module (110), a motion compensation temporal filtering module (105), a scalable coding module (115), a discrete transformation module (120), and a packetization module (135). The grid-motion estimation and compensation module (110) outputs a scalable motion vector from the source video data, supplied resolution and bit rate parameters. The motion compensation temporal filtering module (105) generates, from the source video data and the scalable motion vector, a residual image corresponding to the difference between the present and previous image frames. The scalable coding module (115) is coupled to receive and encode the scalable motion vector. The discrete transformation module (120) is configured to receive and domain transform the supplied video to a sequence of coefficients. The packetization module is coupled to the scalable coding module (115) and the discrete transformation module (120), and is operable to combine the encoded scalable motion vector and the sequence of coefficients into a packet.
Description
BACKGROUND

The present invention relates to video coding, and more particularly to scalable video coding in which motion estimation and compensation can be optimized as a function of a desired bit rate range, frame rate and resolution.


Three dimensional sub-band wavelet coding has been proposed as an efficient scalable video coding (SVC) technique, the development of which as described by J. Ohm in “Three Dimensional Sub-band Coding with Motion Compensation,” IEEE Trans. on Image Processing, Vol. 3, No. 9, pp 559-571, September 1994. In such a scheme, four types of redundancy are removed: temporal, spatial, perceptual and statistical.


Temporal redundancy can be removed by performing an open look based motion compensation, whereby the reference frames for the motion compensation are the original ones instead of the reconstructed ones in the existing standards such as in MPEG 1/2/4 compression standards, and H.263/4. The open loop based motion compensation technique is referred to herein as “motion compensation temporal filtering,” or alternatively, MCTF, the development of which as described by J. Ohm in the aforementioned reference. A further refinement of MCTF was described by S. Choi and J. Woods in “Motion Compensated 3-D Sub-band Coding of Video,” IEEE Trans. on Image Processing. Vol. 8, No. 2, pp. 155-167, February 1999. In this later work, MCTF was improved by making the direction of the motion estimation the same as that of the motion compensation. In this technique, several rounds of MCTF are performed to provide the desired temporal scalability and remove the unnecessary temporal redundancy. During each MCTF round, high and low sub-band coefficients are generated for each motion compensated pair using a rate distortion optimization with the utilization of a Lagrangian multiplier (λ), where λ corresponds to a bit rate range and a trade-off between the motion information and residual data. The trade-off between the quantity of transmitted motion information and residual data is an important feature in the scalable video systems, whereby a large λ corresponds to a low bit rate and small quantity of transmitted motion information, and a small λ corresponds to a high bit rate and large quantity of transmitted motion information. Generally, the optimal point of the SVC system is the point where the first residual image is generated for each motion compensation pair, and usually only one such point exists.


Once all of the necessary MCTF operations have been performed, a spatial transformation is typically performed on each sub-band to remove spatial redundancy. Most typically, the spatial transform used in such an operation is either a discrete cosine transformation (DCT) or a discrete wavelet transform (DWT).


Perceptual redundancy is typically removed by quantizing frequency domain residual data, usually through the use of a quantization matrix. The quantization matrix is designed according to an important feature of the human visual system (HVS), i.e., the human eyes are more sensitive to low frequency components and less to high frequency components. Accordingly, a small element is chosen for the residual data at low frequency while a large one is chosen for the high frequency data. The quantization process is typically lossy, and the SNR scalability is achieved through proper selection of quantization steps at different transmission bit rates.


Upon the removal of the temporal, spatial and perceptual redundancy, residual data and motion information are generated for entropy coding, which is used to remove statistical redundancy. In this process, short symbols are used to represent values which occurring more frequently, and long symbols for values occurring less so. Variable length coding and arithmetic coding are exemplary coding types used in the process.


Conventional scalable video coding systems typically employ small Lagrangian multipliers λ in order to obtain the optimal system performance at the highest bit rate. However, the visual quality at lower bit rate streams in such systems is relatively poor, as the truncated bits contain too much motion information without sufficient residual data. An attempt to improve the coding efficiency at lower bit rates was described by H. Hang, S. Tsai, and T. Chiang in “Motion Information Scalability for MC-EZBC: Response to Call for Evidence of Scalable Video Coding,” ISO/IEC JTC1/Sc29/WG11, MPEG200/m9756, July, 2003 Tronheim. Therein, the motion information in the temporal decomposition is divided into a base and an enhancement layers. The base layer is composed of motion information form 64×64 to 16×16, while the enhancement layer consists of information form 8×8 to 4×4, wherein only the motion information from the base layer is sent to the decoder at the low bit rate. However, the residual data is obtained at the high bit rate, and thus a motion mismatch occurs. If the area is relatively smooth, the difference in the motion information obtained will not be too significant. However, if the area is highly textured, the difference in the motion information will result in significant distortion. As a result, coding efficiency may remain low at low bit rate transmissions with the proposed scheme.


Further disadvantageously, the proposed techniques are not optimal from an implementation or commercial point of view, in that they do not take into consideration that different providers will have varying customer compositions and accordingly varying bit rate, frame rate and resolution requirements. Table 1 illustrates an example of this.

TABLE 1Customer Composition of Companies A & BQCIFCIF4CIF7.5 f/s15 f/s60 f/sCompany64 kbs512 kbs2 Mb/sA 2M100K 10KB10K100K1.5M


Assume that Companies A and B having the illustrated customer compositions. Clearly, the optimal operating conditions for Company A are QCIF, 7.5 f/s, and 64 Kb/s, whereas Company B operates at conditions 4CIF, 60 f/s and a bit rate of 2 Mb/s. In such an instance, the conventional video coding systems which are designed for optimal performance at the highest bit rate are not optimal for Company A, as the majority of its customers utilize a lower bit rate service.


Accordingly what is needed is an improved video coding system which can provide optimal performance at arbitrary bit rates, frame rate and resolution.


SUMMARY

The present invention provides a scalable video coder having a grid motion estimation and compensation module, a motion compensation temporal filtering module, a scalable coding module, a discrete transformation module, and a packetization module. The grid-motion estimation and compensation module includes a first input for receiving source video data, a second input for receiving desired bit rate and resolution parameters and an output, and is operable to output a scalable motion vector computed from the source video data, and the supplied resolution and bit rate parameters. The motion compensation temporal filtering module includes a first input for receiving the source video data, a second input for receiving the scalable motion vector, and an output, the motion compensation temporal filtering module operable to generate a residual image corresponding to the difference between images in the present and previous frames. The scalable coding module is coupled to receive and encode the scalable motion vector. The discrete transformation module has an input configured to receive and domain transform the supplied video data to a sequence of coefficients. The packetization module is coupled to the scalable coding module and the discrete transformation module, and is operable to combine the encoded scalable motion vector and the sequence of coefficients into a packet.


These and other features of the invention will be better understood when taken in light of the following drawings and detailed description.




BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 illustrates a scalable video coder with grid motion estimation and compensation in accordance with one embodiment of the present invention.



FIG. 2 illustrates a functional representation of a grid motion estimation and compensation process in accordance with one embodiment of the present invention.



FIG. 3 illustrates a process for removing coding redundancy between low and high bit rate data in accordance with one embodiment of the present invention



FIG. 4 illustrates a motion compensation temporal filtering process integrated with an unconstrained motion compensation temporal filtering process (or a closed loop based motion compensation scheme) in accordance with one embodiment of the present invention.




DETAILED DESCRIPTION


FIG. 1 illustrates a scalable video encoder 100 which utilizes grid motion estimation and compensation (grid ME/MC) in accordance with the present invention. The encoder 100 includes a motion compensated temporal filtering (MCTF) module 105, a grid ME/MC module 110, a scalable motion vector coding module 115, a discrete transform module (DTM) 120, a frame layer shift module, an embedded zero block coding (EZBC) module 130, and a packetization module 135.


During operation, video information 102 is supplied to the MCTF module 105. The MCTF module 105 forwards the video information to the grid ME/MC module 110. Responsive to receiving the video information 102 and additionally supplied user parameters comprising an optimal resolution level, frame rate and bit rate, the grid ME/MC module computes a scalable motion vector 113 which it supplied to the MCTF module and a coding module 115.


Upon receiving the scalable motion vector, the MCTF module 105 produces residual images corresponding to the difference between images in the present and previous frames. The residual images are output from the MCTF module 105 as luminance information comprising Y plane high and low sub-band data, and chrominance information comprising U and V plane data. The supplied Y, U and V data is transformed using a discrete transformation module 120, which outputs corresponding coefficients. In a particular embodiment of the invention, the discrete transformation module 120 employs a two-dimensional discrete wavelet transformation. In an alternative embodiment, a two-dimensional discrete cosine transformation is employed. The coefficients are subsequently supplied to the frame layer shift module 125. The EZBC module codes the residual data in a bit plane manner and SNR fine granularity scalability is achieved. The coding module 115 codes the scalable motion vector for packetization with the coded residual data. The packetization module 130 combines the coded scalable motion vectors and the residual data from module 130 for transmission over the communication medium, such as the internet, to the destination receiver.


The described architecture is only exemplary and those skilled in the art will realized that many modifications thereto are possible. In an exemplary embodiment of the present invention, it can be used to improve the coding efficiency of the existing fine granularity scalability (FGS) coding. In the preferred embodiment of the present invention, the processes performed by the scalable motion vector coding module 115, the DWT module 120, the frame layer shift module 125, the EZBC module 130 and the packetization module 135 are carried out using conventional processes. The processes carried out by the MCTF module are generally as described in the prior art, with refinements as described herein. The operation of the grid ME/MC module 110 is one of the subjects of the present invention and is further described below.



FIG. 2 illustrates a functional representation of a grid ME/MC process in accordance with one embodiment of the present invention. The grid is defined in terms of bit rate ranges along one (x) axis, and resolution levels along a second (y) axis. An optimal point 210 is selected which corresponds to the desired bit rate range and resolution level. Suboptimal points 215 and 220 which are located around the optimal point can be selected, each of the sub-optimal points corresponding to a desired, but less important bit rate ranges and/or resolution levels. Coding efficiency is optimized around the optimal point 210, and secondarily extended to the suboptimal points 215 and 220 based upon the point's relative importance.



FIG. 2 further illustrates encircled numerals 1-5 indicating a particular grid ME/MC process. Starting from the optimal point 210, a basic ME/MC process is performed, which results in the generation of motion vectors and a residual image corresponding thereto. Moving to a lower bit rate at the same, higher or lower resolution levels (numeral 4), the grid ME/MC process includes the truncation of bit rate data. Moving from the optimal point 210 to a lower resolution at the same bit rate (numeral 3), the grid ME/MC process includes the truncation of resolution data. Moving toward a higher resolution at the same bit rate (numeral 5), the resolution is refined by a recursive ME/MC process. Moving toward a higher data rate at the same, higher or lower bit rates (numeral 2), the bit rate is refined by a recursive ME/MC process.


Each of these processes is further described below.


In accordance with the present invention, two or more parameters are predefined for the motion estimations corresponding to different bit rate ranges at the lth temporal level. The parameters are defined as: λlow(l), λopt(l) and λhigh(l), respectively, and satisfy Eq. (1):

λlow(l)≧λopt(l)≧λhigh(l)   (1);

λlow(l) corresponds to the lowest bit rate, λopt(l) corresponds to the selected optimal bit rate range, and λhigh(l) corresponds to the highest bit rate range.


In a particular embodiment of the present invention, the grid ME/MC is performed with two parameters λopt(l) and λhigh(l). In such an embodiment, two groups of motion information and two residual images are generated for each motion compensation pair in each resolution. They are used to generate the motion information and the residual data that will be coded at each range.


In conventional systems, ME/MC is optimized at the highest bit rate and highest resolution. In such systems, only one residual image and corresponding motion vector are generated for each motion pair (previous two video frames).


In the present invention, grid ME/MC is achieved in one of five ways: (i) by means of basic ME/MC in which a basic residual image and corresponding motion vector are generated for each motion compensated pair; (ii) by means of a resolution refined ME/MC in which a resolution refined residual image and corresponding motion vectors are generated for each motion compensated pair; (iii) by means of a signal-to-noise-ratio (SNR) refined ME/MC at lower resolution in which a SNR refined residual image and the corresponding motion vectors are generated for each motion compensated pair in the lower resolution; (iv) by means of a SNR refined ME/MC in the most important resolution in which a SNR refined residual image and the corresponding vectors are generated for each motion compensated pair in the most important resolution; and (v) by means of both SNR, and resolution refined ME/MC in which both SNR and resolution refined residual information and the corresponding motion vectors are generated for each motion compensation pair.


Basic Motion Estimation at each Temporal Level


In an exemplary embodiment, the total number of temporal levels is L, and the most important point is chosen at the l0th temporal level. An optimal Lagrangian multiplier {circumflex over (λ)}opt(l) is defined as follows:
λ^opt(l)={λhigh(l)l<l0λopt(l)ll0(2)


At the temporal level 1 (1=1, 2, 3, . . . , L), a resolution φ(l) is chosen as the most important resolution by the user according to the customer composition. The motion compensation starts from the resolution φ(l) with the parameter {circumflex over (λ)}opt(l) at the 1th temporal level, and is called the basic motion compensation at the 1th temporal level.


To provide the performance of the optimal point, the residual image is generated according to the following two cases:

    • Case 1: l<l0. Residual images are generated only using λhigh(l);
    • Case 2: l≧l0. The motion estimation and compensation are performed with λopt(l) and λhigh(l).


Thus, there are two residual images generated for each motion compensation pair in each resolution at the temporal level l(l≧l0). They are used to generate the motion information and the residual image that will be coded at each range.


To provide coding efficiency over the optimal bit rate range, motion information for the bit rate ranges lower than the optimal range is truncated from that obtained by the basic motion estimation. Similarly, in resolutions lower than φ(l), the motion information for the bit rate range corresponding to λopt(l) and those lower than it are scaled down and truncated from the basic motion information.


SNR Scalability of Motion Information and Residual Data


The grid ME/MC starts from the bit rate range corresponding to the parameter λmv,opt. In a particular embodiment of the present invention, the SNR scalability of motion information and texture is achieved using (i) adaptive accuracy for grid ME/MC, (ii) refinement by recursive motion compensation; (iii) shared information among different bit rate ranges at the same resolution; (iv) motion information truncation at low bit rate ranges; and (v) redundancy removal in low and high bit rate ranges. Each of these processes is now described.


An Adaptive Accuracy for Grid Motion Estimation and Compensation


Initially before performing the grid motion estimation and compensation, an accuracy of motion vectors is chosen. In a particular embodiment, the accuracy is adaptive to the bit rate range. Normally, the accuracy of motion information is increased when the bit rate is increased. For example, half pixel can be chosen at low bit rate while quarter pixel can be chosen at medium and high bit rate. Additionally, the block size is from 32×32 to 8×8 instead of 16×16 to 4×4 in the H.264.


Refinement by Recursive Motion Compensation Along a Temporal Level


In such processes, (dx0, dy0) denotes a motion vector obtained by the grid ME/MC with λopt(l). (dx, dy) is a motion vector positioned around (dx0, dy0), and is a candidate for the refinement. A first recursive motion refinement distortion criterion is defined for the l0 th round of MCTF, as follows:
Dcl0(dx,dy,dx0,dy0)=x,yA(x,y)-B(x-dx,y-dy)-IQ(Q(A(x,y)-B(x-dx0,y-dy0))(3)

where IQ( ) and Q( ) are a quantization operation and the corresponding inverse quantization operation, A(x, y) and B(x, y) are the predicted frame and the reference frame, respectively. Dcl 0(dx, dy, dx0, dy0) is a generalized distortion criterion for motion estimation and compensation. The maximum coding gain is nearly achieved by minimizing the signal energy of the temporal H sub-band, since the energy of the temporal L sub-band is relatively constant.


Further, Rmv(dx−dx0, dy−dy0) represents the number of bits to code the motion vector (dx−dx0, dy−dy0). A further motion estimation (dx, dy) is performed at the first round of MCTF, if the following inequality is satisfied:

Dcl0(dx, dy, dx0, dy0)+λhigh(l)Rmv(dx−dx0, dy−dy0)≦Dcl0(dx0, dy0, dx0, dy0)   (4)


Shared Information Among Different Bit Rate Ranges in the Same Resolution


To speed up the motion estimations in the same resolution at the same temporal level (e.g., along the horizontal direction in FIG. 3, shown below), block partition information and the corresponding motion information may be shared by the motion estimation at different bit rates. When employed, the shared information will depend upon the user's choice. For example, the user may fix the final block partition model. In this case, the final block partition mode and the corresponding motion information are shared, and the number of motion information is the same at the different bit rates. The user may also fix the initial full motion vector tree obtained in the motion estimation process. The initial full motion vector tree and the corresponding motion information are shared. The tree pruning processes are performed by using λopt(l) and λhigh(l) from the same initial full motion vector tree. Further, the amount of motion information may not be the same at different bit rates. The user can choose to fix the final block partition mode in one resolution while repairing the initial full motion vector tree in another resolution.


Motion Information Truncation at Low Bit Rate Ranges


In each resolution, motion information at low bit rate are truncated from those obtained in the basic motion estimation by using rate distortion optimization with a parameter λlow(l) corresponding to that range.


In such a process, B(x, y) is the reference picture. Vectors (dx, dy) and (dx0, dy0) are two motion vectors, where (dx0, dy0) is obtained by using the parameter {circumflex over (λ)}opt(l) and (dx, dy) is the truncated motion vector of (dx0, dy0). A truncation distortion criteria is defined as follows:
Dt(dx,dy,dx0,dy0)=x,yB(x-dx,y-dy)-B(x-dx0,y-dy0)(5)


The motion vector (dx0, dy0) is truncated into (dx, dy) if the following inequality is satisfied.

λlow(l)Rmv(dx, dy)+Dt(dx, dy, dx0, dy0)<λlow(l)Rmv(dx0, dy0)   (6)


For two Lagrangian multipliers λ12, if a motion vector (dx0, dy0) is truncated into (dx, dy) with λ1, it will also be truncated into (dx, dy) with λ2. In other words, the set of motion vectors at a bit rate is a subset of those at a relative high bit rate.


Next, a prediction distortion criteria is defined as follows:
Dp(dx,dy)=x,yA(x,y)-B(x-dx,y-dy)(7)


It can be determined from Eq. (6) that:

λlow(l)Rmv(dx, dy)+Dt(dx, dy, dx0, dy0)+Dp(dx0, dy0)<λlow(l)Rmv(dx0, dy0)+Dp(dx0, dy0)   (8)
that is:
λlow(l)Rmv(dx, dy)+Dp(dx, dy)<λlow(l)Rmv(dx0, dy0)+Dp(dx0, dy0)   (9)


It can be observed that the motion vectors at low bit rate are obtained by using Eq. (9), while the enhancement layers of motion information correspond to high bit rates and are generated using a set of relatively small λs in the existing schemes. If a motion vector is truncated using the grid ME/MC processes of the present invention, it will also be pruned in the conventional ones, while the reverse does not hold. The process according to the conventional ME/MC methods is optimal if the residual image to be coded at low bit rate is the residual image generated by using λlow(l). However, it is generated using the parameter λopt(l) instead of λlow(l). This implies that the motion information is insufficient in the sense of the RDO at low bit rate. As a result, the motion mismatch may be serious in the conventional system, and the coding efficiency will be very low at low bit rates.


To ensure coding efficiency over the optimal bit rate range, (dx, dy) preferably satisfies the condition:
λ^opt(l)dx,dyRmv(dx-dx0,dy-dy0)θ1(10)

where θ1 is an threshold chosen by the user as to the number of bits for coding the redundancy caused by scalable motion vector coding.


In such an instance, the switching points are computed by:
maxλ{R(λ)}(11)

such that for all motion compensation in the current group of files (GOF), we have

λRmv(dx, dy)+Dt(dx, dy, dx0, dy0)<λRmv(dx0, dy0)   (12)


It is to be noted that only the motion information to be coded is switched, but the residual image to be coded is not changed in the truncation.


Removing Redundancy between Low and High Bit Rate


The redundant coded information is preferably removed to improve the coding efficiency. FIG. 3 illustrates this process in which residual images in three resolutions after the motion compensation with λopt(l) and λhigh(l) are represented as E11, E21, E31, F1, F2 and F3, respectively. The redundancy between IQ(Q((E11)) and F1, IQ(Q((E21)) and F2, IQ(Q((E31)) and F3 is preferably removed. The residual images E12, E22 and E32 for the coding at high bit rate are thus computed by:

E12=F1−IQ(Q((E11))   (13)
E22=F2−IQ(Q((E21))   (14)
E32=F3−IQ(Q((E31))   (15)


Temporal Scalability of Motion Information and Residual Data


In an exemplary embodiment of the present invention, temporal scalability of motion information and residual data is achieved by binding the motion information with the temporal high sub-band residual data coefficients at the same level and dropping them together if it is necessary.


Two temporal low subbands and high subbands are generated corresponding to two constants at temporal level l(l>l0). The remaining MCTFs at those levels are performed using the corresponding low subbands.


In an exemplary embodiment of the present invention, Lr,1(x, y) and Lo,1(x, y) are the predicted low subbands obtained by the refinement and the original optimal scheme, respectively, Lr,2(x, y) and Lo,2 (x, y) are the reference low subbands obtained by the refinement and the original optimal scheme, respectively.


The motion compensation starts using λopt(l), Lo,1(x, y) and Lo,2(x, y). We should fully take advantage of the motion vectors (MVs) and block partition modes obtained using λopt(l) when we perform motion compensation using λhigh(l), Lr,1(x, y) and Lr,2(x, y). The coded MVs of a block in the previous layer can be used as one candidate of predicted MV and the block partition modes obtained from the previous layer can be regarded as the initial status of partitioning for the co-located block. Similarly, the second recursive motion refinement distortion criteria can be defined for another round of MCTF, as follows:
Dcl(dx0,dy0)=x,yLo,1(x,y)-Lo,2(x-dx0,y-dy0)-IQ(Q(Lo,1(x,y)-Lo,2(x-dx0,y-dy0)))(16)D^cl(dx,dy,dx0,dy0)=x,yLr,1(x,y)-Lr,2(x-dx0,y-dy0)-IQ(Q(Lo,1(x,y)-Lo,2(x-dx0,y-dy0)))(17)


A further motion estimation (dx, dy) is performed at the ith round of MCTF, if the following inequality is satisfied:

{circumflex over (D)}cl(dx, dy, dx0, dy0)+λhigh(l)Rmv(dx−dx0, dy−dy0)<Dcl(dx0, dy0)   (18)


The above process is called refinement by recursive motion compensation. The switching point is computed by:
maxλ{R(λ)}(19)


Such that for all motion compensation in the current group of files (GOF), resulting in

{circumflex over (D)}cl(dx, dy, dx0, dy0)+λRmv(dx−dx0, dy−dy0)<Dcl(dx0, dy0)   (20)

where R(λ) is the bit rate range corresponding to the parameter λ.


Notice that both the motion information and the residual image to be coded are switched when the recursive motion refinement approach is used.


In the resolution lower than φ(l), only one motion compensation with the parameter λhigh(l) is performed. In the resolution φ(l), the other motion compensation with the parameter αhigh(l) is further performed to refine the residual image. In the resolution higher than φ(l), one motion compensation with λopt(l) and the other one with λhigh(l) are performed to generate the optimal motion information and the optimal residual images for the corresponding bit rate ranges. In each refinement, the corresponding residual image and motion information are generated for the remaining coding process at the corresponding bit rate range.


Spatial Scalability of Motion Information and Residual Data


The temporal filtering starts from and is optimized in the most important (optimal) resolution. Independent and refined motion estimation and compensation can be performed for the resolution higher than the most important one. The motion information of the most important one is truncated to generate that of the resolution lower than the most important one. The resultant residual images corresponding to the resolution and the high ones are merged into one residual image. For the sake of simplicity, we assume that there are totally three resolutions and φ(l)=2. The spatial scalability of motion information and texture is achieved through the processes of (i) motion information and residual images in the middle resolution; (ii) motion information and residual images in the high resolution; and (iii) motion information truncation in resolutions lower than the optimal resolution. Each of these processes is further described below.


Motion Information and Residual Images in the Middle Resolution


Suppose that the reference frames are {tilde over (B)}(x, y) and B(x, y) in the middle and the highest resolutions. {tilde over (B)}(x, y) can be SD(B(x, y)), where the parameter SD( ) denotes a down-sampling operation, as described by W. Han in “Response of Call for Proposal for Scalable Video Coding,” ISO/IEC JTC1/SC 29 WG 11 MPEG2004/M10569/S7, München, Germany, March 2004. {tilde over (B)}(x, y) and B(x, y) can also be independent. The motion information and the residual images are generated using motion estimation and compensation between {tilde over (B)}(x, y), SD(A(x, y)) and the following distortion criterion:
DSDp(dx,dy)=x,ySD(A)(x,y)-B~(x-dx,y-dy)(21)


Motion Information and Residual Image in the High Resolution


For fast and efficient estimation and coding in the highest resolution, advantage is taken of the MVs and block partition modes already coded in the middle resolution. All MVs are preferably first scaled up by a factor of 2 and then serve as candidates of predicted MV and the block partition modes obtained from the previous layer can be regarded as the initial status of partitioning for the co-located block in the highest resolution.


The motion information and the residual images are generated using motion estimation and compensation between B(x, y), A(x, y) and the following distortion criterion:
DSDSUp(dx,dy)=x,yA(x,y)-SU(SD(A))(x,y)-(B(x-dx,y-dy)-SU(B~)(x-dx,y-dy))(22)

where SU denotes an up-sampling operation, as described by W. Han in the aforementioned reference.


The coded residual image IQ(Q(E31)) in FIG. 3 is computed by:

IQ(Q(E31))=SU(IQ(Q(E21))+{tilde over (B)}−SD(B))+IQ(Q(E31−SU(SD(E31))))   (23)

as described by W. Han in the aforementioned reference. The corresponding residual image and motion information are generated for the remaining coding process in the corresponding resolution.


Motion Information Truncation in the Low Resolution


In the lowest resolution, all MVs for the bit rate range corresponding to {circumflex over (λ)}opt(l) are scaled down and truncated from those in the middle resolution. All MVs are first scaled down by a factor of 2 after one resolution down. The final block partition mode in the resolution φ(l) serves as the initial full motion vector tree in the next resolution lower than φ(l). The tree pruning process is performed using the {circumflex over (λ)}opt(l) to generate the final block partition mode. Similarly, the motion information and the final block partition mode in other low resolutions can be obtained.


The vectors (dx, dy) and (dx0, dy0) are two motion vectors where (2dx0, 2dy0) are obtained by using the basic ME/MC in FIG. 3 and (dx, dy) is the truncation one of (dx0, dy0). Another truncation distortion criterion is defined as follows:
Drt(dx,dy,dx0,dy0)=x,ySD(B~(x-2dx,y-2dy))-SD(B~(x-2dx0,y-2dy0))(24)


The motion vector (dx0, dy0) is truncated into (dx, dy) if the following inequality is satisfied:

{circumflex over (λ)}opt(l)Rmv(dx, dy)+Dri(dx, dy, dx0, dy0)<{circumflex over (80)}opt(l)Rmv(dx0, dy0)   (25)


Similarly, to ensure coding efficiency of the optimal bit rate range, (dx, dy) preferably satisfies the following inequality:
λ^opt(l)dx,dyRmv(dx0-dx,dy0-dy)θ2(26)

where θ2 is another bit number threshold selected by the user.


In a further embodiment of the invention, a bit is used to provide the user flexibility in deciding whether to switch on the existing video coding standards or not. For example, if the bit is set to 1, the existing video coding standards are switched on, the whole bitstream is either composed of two sub-bitstreams, one is compatible to the existing video coding standards, and the other is based on the MCTF, or composed of one bitstream which is compatible to the existing video coding standards. Otherwise, the whole bitstream is totally based on the MCTF.


As readily appreciated by those skilled in the art, the described processes may be implemented in hardware, software, firmware or a combination of these implementations as appropriate. Further, some or all of the described processes may be implemented as computer readable instruction code resident on a computer readable medium (removable disk, volatile or non-volatile memory, embedded processors, etc.), the instruction code operable to program a computer of other such programmable device to carry out the intended functions.


EXAMPLES

The general application of the described processes to a low delay case is now described. Initially, a bitstream for low delay case is generated optimally by seamless integration of the MCTF and the motion compensation prediction. Next, the desired video sequences for low delay case is generated, in one embodiment by using the MCTF with optimal parameter {circumflex over (λ)}opt(l).


For example, the input frame rate is 30 HZ and the frame size is 4CIF. The user wishes to optimize operation for a QCIF size video sequence with 7.5 HZ for low delay. In such an instance, the encoder generates a desired picture for the coding of low delay as follows: two rounds of temporal wavelet transformation are performed on four successive original pictures to generate a video sequence with 4CIF size and 7.5 HZ. Next, two rounds of two-dimensional spatial wavelet transformations are performed to generate a desired video sequence. Subsequently the video sequence is coded using, e.g., an H.264 encoder.


Next, the enhancement layer bitstream is generated. Thereafter, all necessary MCTFs on the original pictures with 4CIF size and the predefined parameters in each GOF are performed to generate low and high sub-bands. The reconstructed pictures in the H.264 coding process are used to perform the further rounds of MCTF to generate the corresponding low and high sub-bands. The redundancy among them will be removed by using the processes as described above. Subsequently, the remaining information is coded by using the existing methods for the MCTF.


An exemplary embodiment of designing a motion compensation scheme is as follows. Initially, the size of a GOF is chosen as 32 for the low delay bitstream, the original frames are denoted by Fi(1≦i≦32). The desired temporal scalability for the low delay is 30 Hz, 15 Hz and 7.5 Hz, respectively. The tolerated delay is 2/15s. Suppose that the generated frames after motion compensation are denoted by Pi(1≦i≦32). The motion compensation scheme is described by:
[P1P2P3P32]=[A11000A21A2200A31A32A330A81A82A83A88][F1F2F3F32](27)

where Aij ε R4×4.


Note that there is no drift problem associated with the MCTF and the delay can be well controlled by the unconstrained MCTF as described in the aforementioned reference to W. Han. It is thus desirable to use the MCTF as much as possible and to integrate the MCTF with the unconstrained MCTF seamless when a low delay bitstream is provided. The following method can be used to achieve this objective:

    • 1. All Aii(1≦i≦8) are determined by the MCTF;
    • 2. All other Aij are determined by the MCTF and the unconstrained MCTF/ or the closed loop based motion compensation.


Let
A=[A11000A21A2200A31A32A330A81A82A83A88](28)


A necessary and sufficient condition for the perfect reconstruction is that all matrices Aii(1≦i≦8) are nonsingular. The video sequence is reconstructed by

F=A−1 P   (29)


An interesting case is that all Aii(2≦i≦8) are the same. An example is illustrated in FIG. 4. The 5/3 transform is chosen in the MCTF. All Aij are equal to 0 except the matrices given as below:
A11=[1-1000-121-121478-14-781831638516]Aii=[1-12000-121-12141-14-78181438516];2i8Ai(i-1)=[000-120000000-18-18-316-38-58];i=2,3,4,6,7,8A54=[000-120000000-18000-116]A53=[000000000000-18-14-38-516]


It can be observed that there is a drift problem associated with the unconstrained MCTF, which can be ameliorated by controlling the length of the drift. In the above example, the length is set as 4.


In a second example, experiments are based on the MC-EZBC interframe wavelet coder, available in the MCEZBC software package at ftp://ftp.cipr.rpi.edu/personal/chen/. Four standard video sequences, Flower Garden and Football with SIF size (352×240), Mobile and Foreman with CIF size (352×288), are used in the test to compare the present scheme with the scheme disclosed in the aforementioned reference to Choi and Woods. The frame rates of these sequences are set as 30 f/s. The bit rate is 1024 kb/s. The hierarchical variable size block matching (HVSBM) algorithm described in the aforementioned reference to Choi and Woods is used with the maximum search width/height at the lowest resolution in the hierarchical motion estimation set as 1 pixel. The overlapped block motion compensation (OBMC) scheme with ⅛ block overlapped is also employed in our experiments to give better smoothness in the motion information field. The accuracy of motion information is half pixel. The λopt(l) for the pruning process is chosen as 224. Assume that the optimal point is chosen at the low bit rate according to the customer composition.


The experimental results are shown in Tables 2-5, where a hyphen “-” denotes an insufficient bit rate for the motion information. It can be shown that our scheme can be used to improve the PSNR by up to 4.5 dB.

TABLE 2Comparison of the average PSNR for thesequence Football with different schemes, GOF size = 16BitY(PSNR)Y(PSNR)Y(PSNR)Rate(kb/s)of [2]of [4]Invention32024.6924.6925.3128023.7223.7224.8325623.1923.1924.5419018.8423.7617018.8223.49









TABLE 3










Comparison of the average PSNR for the


sequence Garden with different schemes, GOF size = 16












Bit
Y(PSNR)
Y(PSNR)
Y(PSNR)



Rate(kb/s)
of [2]
of [4]
Invention







256
22.36
22.36
23.05



192
20.50
20.50
22.12



160
18.46
18.46
21.53



140

18.07
21.01



128

17.86
20.87

















TABLE 4










Comparison of the average PSNR for the


Sequence Foreman with different schemes, GOF size = 16












Bit
Y(PSNR)
Y(PSNR)
Y(PSNR)



Rate(kb/s)
of [2]
of [4]
Invention







96
18.01
19.53
20.43



80
16.03
19.04
19.84



70

18.62
19.46



64

18.40
19.18

















TABLE 5










Comparison of the average PSNR for the


sequence Mobile with different schemes, GOF size = 16












Bit
Y(PSNR)
Y(PSNR)
Y(PSNR)



Rate(kb/s)
of [2]
of [4]
Invention







96
18.01
19.53
20.43



80
16.03
19.04
19.84



70

18.62
19.46



64

18.40
19.18










INCORPORATED REFERENCES

The following are herein incorporated by reference:


[1] J. Ohm, “Three-Dimensional Sub-band Coding with Motion Compensation,” IEEE Trans. on Image Processing, Vol. 3 No. 9, pp. 559571, September 1994.


[2] S. Choi and J. Woods, “Motion Compensated 3D Sub-band Coding of Video,” IEEE Trans. on Image Processing, Vol. 8 No. 2, pp. 155167, February 1999.


[3] MCEZBC software package, ftp://ftp.cipr.rpi.edu/personal/chen/


[4] H. Hang, S. Tsai and T. Chiang, “Motion information scalability for MCEZBC: Response to Call for Evidence on Scalable Video Coding,” ISO/IEC JTC1/Sc29/WG11, MPEG2003/m9756, July 2003, Tronheim.


[5] W. Han, “Response of Call for Proposal for Scalable Video Coding,” ISO/IEC JTC1/SC 29 WG 11 MPEG2004/M10569/S7, Munchen, Germany, March 2004.


Which the above is a detailed description of the present invention, it is only exemplary and various modifications, alterations and equivalents may be employed in various apparati and processes described herein. Accordingly, the scope of the present invention is hereby defined by the metes and bounds of the following claims.

Claims
  • 1.-24. (canceled)
  • 25. A scalable video coder, comprising: a grid-motion estimation and compensation module having a first input for receiving source video data, a second input for receiving desired bit rate and resolution parameters and an output, the grid motion estimation and compensation module operable to output a scalable motion vector computed from the source video data, and the supplied resolution and bit rate parameters; a motion compensation temporal filtering module having a first input for receiving the source video data, a second input for receiving the scalable motion vector and an output, the motion compensation temporal filtering module operable to generate a residual image corresponding to the difference between images in the present and previous frames; a scalable coding module coupled to receive and encode the scalable motion vector; a discrete transformation module having inputs configured to receive the residual image and an output, the discrete transform module operable to domain transform the supplied video data to a sequence of coefficients; and a packetization module coupled to the scalable coding module and the discrete transformation module, the packetization module operable to combine the encoded scalable motion vector and the sequence of coefficients into a packet; wherein the grid-motion estimation and compensation module is operable to generate the scalable motion vector using two parameters λopt, and λhigh, wherein λopt comprises a Lagrangian multiplier corresponding to a predefined optimal bit rate, and λhigh comprises a Lagrangian multiplier corresponding to a bit rate higher than the predefined optimal bit rate; and wherein the grid-motion estimation and compensation module is operable to generate two groups of motion information and two residual images for each motion compensation pair in each resolution.
  • 26. The scalable video coder of claim 25, wherein the scalable motion vector produced by the grid-motion estimation and compensation module comprises a predefined bit rate, said grid-motion estimation and compensation module further operable to truncate bit rate data to produce a scalable motion vector having a bit rate lower than the predefined bit rate.
  • 27. The scalable video coder of claim 25, wherein the scalable motion vector produced by the grid-motion estimation and compensation module comprises a predefined bit rate, said grid-motion estimation and compensation module further operable to refine the bit rate data using a recursive process to produce a scalable motion vector having a bit rate higher than the predefined bit rate.
  • 28. The scalable video coder of claim 25, wherein the scalable motion vector produced by the grid-motion estimation and compensation module comprises a predefined resolution level, said grid-motion estimation and compensation module further operable to truncate data to produce a scalable motion vector having a resolution level lower than the predefined resolution level.
  • 29. The scalable video coder of claim 25, wherein the scalable motion vector produced by the grid-motion estimation and compensation module comprises a predefined resolution level, said grid-motion estimation and compensation module further operable to refine the resolution data using a recursive process to produce a scalable motion vector having a resolution level higher than the predefined resolution level.
  • 30. The scalable video coder of claim 25, wherein the discrete transformation module comprises a discrete wavelet transformation module.
  • 31. The scalable video coder of claim 25, wherein the discrete transformation module comprises a discrete cosine transformation module.
  • 32. The scalable video coder of claim 25, wherein the grid-motion estimation and compensation module is operable to perform grid motion estimation and compensation by means of a signal-to-noise ratio-refined motion estimation and compensation process to generate a signal-to-noise ratio refined residual image and corresponding motion vectors.
  • 33. The scalable video coder of claim 32, wherein the grid-motion estimation and compensation module is operable at a predefined resolution level, and wherein the grid motion and estimation module generates the signal-to-noise ratio-refined residual image and corresponding motion vectors for a resolution level lower than predefined resolution level.
  • 34. The scalable video coder of claim 32, wherein the grid-motion estimation and compensation module is operable at a predefined resolution level, and wherein the grid motion and estimation module generates the signal-to-noise ratio-refined residual image and corresponding motion vectors for a resolution level at a second resolution level different from the predefined resolution level.
  • 35. The scalable video coder of claim 32, wherein the grid-motion estimation and compensation module is operable to variably select the accuracy of motion information.
  • 36. The scalable video coder of claim 35, wherein the variable selection of the accuracy of motion information is related to the bit rate.
  • 37. A scalable video coder, comprising: grid-motion estimation and compensation means having means for receiving source video data, desired bit rate and resolution parameters, the grid motion estimation and compensation means operable to output a scalable motion vector computed from the source video data, and the supplied resolution and bit rate parameters; motion compensation temporal filtering means having means for receiving the source video data and the scalable motion vector, the motion compensation temporal filtering means operable to generate a residual image corresponding to the difference between images in the present and previous frames; scalable coding means coupled to receive and encode the scalable motion vector; discrete transformation means having inputs configured to receive the residual image and an output, the discrete transform means operable to domain transform the supplied video data to a sequence of coefficients; and packetization means coupled to the scalable coding means and the discrete transformation means, the packetization means operable to combine the encoded scalable motion vector and the sequence of coefficients into a packet; wherein the grid-motion estimation and compensation means is operable to generate the scalable motion vector using two parameters λopt, and λhigh, wherein λopt comprises a Lagrangian multiplier corresponding to a predefined optimal bit rate, and λhigh comprises a Lagrangian multiplier corresponding to a bit rate higher than the predefined optimal bit rate; and wherein the grid-motion estimation and compensation means is operable to generate two groups of motion information and two residual images for each motion compensation pair in each resolution.
  • 38. The scalable video coder of claim 37, wherein the scalable motion vector produced by the grid-motion estimation and compensation means comprises a predefined bit rate, said grid-motion estimation and compensation means further operable to truncate bit rate data to produce a scalable motion vector having a bit rate lower than the predefined bit rate.
  • 39. The scalable video coder of claim 37, wherein the scalable motion vector produced by the grid-motion estimation and compensation means comprises a predefined bit rate, said grid-motion estimation and compensation means further operable to refine the bit rate data using a recursive process to produce a scalable motion vector having a bit rate higher than the predefined bit rate.
  • 40. The scalable video coder of claim 37, wherein the scalable motion vector field produced by the grid-motion estimation and compensation means comprises a predefined resolution level, said grid-motion estimation and compensation means further operable to truncate data to produce a scalable motion vector having a resolution level lower than the predefined resolution level.
  • 41. The scalable video coder of claim 37, wherein the scalable motion vector produced by the grid-motion estimation and compensation means comprises a predefined resolution level, said grid-motion estimation and compensation means further operable to refine the resolution data using a recursive process to produce a scalable motion vector having a resolution level higher than the predefined resolution level.
  • 42. The scalable video coder of claim 37, wherein the grid-motion estimation and compensation means is operable to perform grid motion estimation and compensation by means of a signal-to-noise ratio-refined motion estimation and compensation process to generate a signal-to-noise ratio refined residual image and corresponding motion vectors.
  • 43. The scalable video coder of claim 42, wherein the grid-motion estimation and compensation means is operable at a predefined resolution level, and wherein the grid motion and estimation means generates the signal-to-noise ratio-refined residual image and corresponding motion vector for a resolution level lower than predefined resolution level.
  • 44. The scalable video coder of claim 42, wherein the grid-motion estimation and compensation means is operable at a predefined resolution level, and wherein the grid motion and estimation means generates the signal-to-noise ratio-refined residual image and corresponding motion vectors for a resolution level at a second resolution level different from the predefined resolution level.
  • 45. The scalable video coder of claim 25, wherein the scalable video coder is operable to predict the residual images to be coded at a high bit rate from those already coded at a low bit rate.
  • 46. The scalable video coder of claim 37, wherein the scalable video coder is operable to predict the residual images to be coded at a high bit rate from those already coded at a low bit rate.
CROSS REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application No. 60/582,444, filed Jun. 23, 2004, the contents of which are herein incorporated by reference in its entirety for all purposes.

PCT Information
Filing Document Filing Date Country Kind 371c Date
PCT/SG05/00206 6/23/2005 WO 7/5/2007
Provisional Applications (1)
Number Date Country
60582444 Jun 2004 US