Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND APPARATUS FOR MOTION ESTIMATION USING COMBINED REFERENCE BI-PREDICTION
Document Type and Number:
WIPO Patent Application WO/2007/092192
Kind Code:
A3
Abstract:
A method and apparatus are provided for motion estimation using combined reference bi-prediction. The apparatus includes an encoder (200) for encoding a multi-prediction picture from a combination of two or more reference pictures by respectively predicting a motion vector for a particular one of the two or more reference pictures in a motion estimation process while initializing motion vectors for remaining ones of the two or more reference pictures to a predefined value for use by the motion estimation process.

Inventors:
TOURAPIS ALEXANDROS MICHAEL (US)
BOYCE JILL MACDONALD (US)
YIN PENG (US)
Application Number:
PCT/US2007/002381
Publication Date:
February 28, 2008
Filing Date:
January 30, 2007
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
THOMSON LICENSING (FR)
TOURAPIS ALEXANDROS MICHAEL (US)
BOYCE JILL MACDONALD (US)
YIN PENG (US)
International Classes:
H04N7/36; H04N7/26
Other References:
WU S-W ET AL: "JOINT ESTIMATION OF FORWARD AND BACKWARD MOTION VECTORS FOR INTERPOLATIVE PREDICTION OF VIDEO", IEEE TRANSACTIONS ON IMAGE PROCESSING, IEEE SERVICE CENTER, PISCATAWAY, NJ, US, vol. 3, no. 5, 1 September 1994 (1994-09-01), pages 684 - 687, XP000476841, ISSN: 1057-7149
FLIERL M ET AL: "Rate-constrained multi-hypothesis motion-compensated prediction for video coding", IMAGE PROCESSING, 2000. PROCEEDINGS. 2000 INTERNATIONAL CONFERENCE ON SEPTEMBER 10-13, 2000, PISCATAWAY, NJ, USA,IEEE, 10 September 2000 (2000-09-10), pages 150 - 153, XP010529425, ISBN: 0-7803-6297-7
See also references of EP 1982532A2
Attorney, Agent or Firm:
LAKS, Joseph, J. et al. (Two Independence Way Suite 200Princeton, New Jersey, US)
Download PDF:
Claims:

CLAIMS:

1. An apparatus, comprising: an encoder (200) for encoding a multi-prediction picture from a combination of two or more reference pictures by respectively predicting a motion vector for a particular one of the two or more. reference pictures in a motion estimation process while initializing motion vectors for remaining ones of the two or more reference pictures to a predefined value for use by the motion estimation process.

2. The apparatus of claim 1 , wherein said encoder (200) predicts the motion vector for the particular one of the two or more references by considering the remaining ones of the two or more reference pictures as stationary.

3. The apparatus of claim 1 , wherein said encoder (200) predicts the motion vectors for each of the two or more references in respective parallel portions of a first one of multiple iterative processes, and refines the motion vectors in subsequent ones of the multiple iterative processes.

4. The apparatus of claim 3, wherein said encoder (200) selects a best motion vector combination resulting from the multiple iterative processes based on a distortion measure.

5. The apparatus of claim 1 , wherein at least one of the motion vectors for at least one of the remaining ones of the two or more reference pictures is initialized to the pre-defined value based on previously computed motion vectors for the at least one of the remaining ones of the two or more reference pictures.

6. The apparatus of claim 5, wherein the previously computed motion vectors comprise at least one direct motion vector and a motion vector previously computed from combining a lesser number of reference pictures than the two or more reference pictures, wherein the at least one direct motion vector includes at least one of at least one temporal direct motion vector and at least one spatial direct motion vector.

7. The apparatus of claim 5, wherein said encoder (200) uses an iterative process to predict the motion vectors for the two or more reference pictures, and renders a decision regarding the motion vectors to be initially used in the iterative process, from among the at least one of the motion vectors initialized to the predefined value and the previously computed motion, vectors, based upon a correlation metric.

8. The apparatus of claim 1 , wherein said encoder (200) predicts the motion vectors for the two or more reference pictures using an iterative process.

9. The apparatus of claim 8, wherein said encoder (200) constrains a maximum number of iterations performed by the iterative process.

10. The apparatus of claim 8, wherein said encoder (200) constrains a maximum number of the two or more reference pictures to be tested in parallel by the iterative process.

11. The apparatus of claim 1 , wherein said encoder (200) estimates the motion vectors for the two or more reference pictures based on weights used for the two or more reference pictures from a previous weight estimation process.

12. The apparatus of claim 1 , wherein said encoder (200) estimates the motion vectors for the two or more reference pictures using multiple iterative processes in parallel, the multiple iterative processes having different initialization points respectively corresponding to different ones of the two or more reference pictures.

13. The apparatus of claim 12, wherein said encoder (200) performs a first one of the multiple iterative processes to provide initial values for the motion vectors for each of the two or more reference pictures, selects a best initial one of the two or more references based on a lowest distortion measure, and performs subsequent ones of the multiple iterative processes to refine the initial values obtained for the best initial one of the two or more references.

14. The apparatus of claim 1 , wherein said encoder (200) predicts motion . information for the multi-prediction picture based on the motion vectors for the two or more reference pictures being identical, and jointly refines the motion vectors compared to the multi-prediction picture.

15. The apparatus of claim 1 , wherein said encoder (200) estimates motion vector information for the multi-prediction picture by combining the two or more reference pictures into a combined reference picture and using zero motion between the two or more reference pictures.

16. The apparatus of claim 1 , wherein said encoder (200) predicts a respective motion vector for each of the two or more reference pictures by separately considering remaining ones of the two or more reference pictures as .being stationary compared to the multi-prediction picture.

17. The apparatus of claim 16, wherein said encoder (200) predicts the respective motion vector for each, of the two or more reference, pictures by selecting

_ — aτespective ~ weight there-forr - _ . . . ■

18. The apparatus of claim 1 , wherein said encoder (200) performs a mode decision for the multi-prediction picture to select a mode with a minimal distortion measure from among a single predictive mode, a direct predictive mode, a bi-predictive mode using the motion vectors for the two or more reference pictures respectively calculated using single prediction, at least one bi-predictive mode using a refined motion vector for one of the two or more reference pictures and a

stationary motion vector, and a bi-predictive mode using a respective refined motion vector for each of the two or more reference pictures, wherein the motion vectors for each of the two or more reference pictures are respectively calculated based upon the motion, vectors for remaining ones of the two or more reference pictures being separately considered as stationary.

19. . The apparatus of claim 18, wherein said encoder (200) further selects the mode with the minimal distortion measure from among at least one bi-predictive mode using the motion vector for one of the two or more reference pictures and the refined motion vector for one of the two or more reference pictures, and at least one combination including at least one direct motion vector.

20. The apparatus of claim 1 , wherein said encoder (200) predicts a respective motion vector for each of the two or more reference pictures by considering only one of the two or more reference pictures as being stationary compared to the multi-prediction picture.

21. The apparatus of claim 20, wherein said encoder (200) predicts the respective motion vector for each of the two or more reference pictures by selecting a respective weight there for.

22. The apparatus of claim 20, wherein the only one of the two or more reference pictures is selected based on at least one of a particular reference list to which the only one of the two or more reference pictures corresponds, temporal closeness, greatest similarity to the multi-prediction picture.

23. The apparatus of claim 1 , wherein said encoder (200) performs a mode decision for the multi-prediction picture to select a mode with a minimal distortion measure from among a single predictive mode, a direct predictive mode, a bi-predictlve. mode using the motion vectors for the two or more reference pictures respectively calculated using single prediction, a bi-predictive mode using a stationary motion vector and a refined motion vector, wherein a respective one of the motion vectors for only one of the two or more reference pictures is calculated based

upon a stationary motion vector being used for remaining ones of the two or more reference pictures.

24. The apparatus of claim 23, wherein said encoder (200) further selects the mode with the minimal distortion measure from among at least one bi-predictive mode using one of the motion vectors from one of the two or more reference pictures and the refined motion vector, and at least one combination of a direction motion vector and the motion vector calculated according to the distortion measure.

25. The apparatus of claim 1 , wherein said encoder (200) jointly computes the motion vectors for the two or more reference pictures based on the two or more ieference pictures having identical motion with respect to the multi-prediction picture to be encoded.

26. The apparatus of claim 25, wherein said encoder (200) jointly computes the motion vectors for the two or more reference pictures by selecting a respective weight there for.

27. The apparatus of claim 1 , wherein said encoder (200) performs a mode decision for the multi-prediction picture to select a mode with a minimal distortion measure from among a single predictive mode, a direct predictive mode, a bi-predictive mode using the motion vectors for the two or more reference pictures respectively calculated using single prediction, and a bi-predictive mode using a respective refined motion vector for each of the two or more reference pictures, and a prediction mode using a motion vector for a combination of the two or more

- -reference-pictures calculated by considering the motion vectors for the two or more reference pictures to be identical.

28. The apparatus of claim 27, wherein said encoder (200) further selects the mode with the minimal distortion measure from among at least one bi-predictive mode using one of the motion vectors from one of the two or more reference pictures and the motion vector calculated by considering the motion vectors for the two or more reference pictures to be identical, and at least one combination of a

direct motion vector and the motion vector calculated by considering the motion vectors for the two or more reference pictures to be identical.

•29. A method, comprising: encoding a multi-prediction picture from a combination of two or more reference pictures by respectively predicting a motion vector for a particular one of the two or more reference pictures in a motion estimation process while initializing motion vectors for remaining ones of the two or more reference pictures to a predefined value for use by the motion estimation process (400).

30. The method of claim 29, wherein said encoding step predicts the motion vector for the particular one of the two or more references by considering the remaining ones of the two or more reference pictures as stationary (410, 415, 420).

31. The method of claim 29, wherein said encoding step predicts the motion vectors for each of the two or more references in respective parallel portions of a first one of multiple iterative processes, and refines the motion vectors in subsequent ones of the multiple iterative processes (410, 425, 415, 430, 420, 440).

32. The method of claim 31 , wherein said encoding step selects a best motion vector combination resulting from the multiple iterative processes based on a distortion measure (445).

33. The method of claim 29, wherein at least one of the motion vectors for at least one of the remaining ones of the two or more reference pictures is initialized to the pre-defined value based on previously computed motion vectors for the at least one of the remaining ones of the two or more reference pictures.

34. The method of claim 33, wherein the previously computed motion vectors comprise at least one direct motion vector and a motion vector previously computed from combining a lesser number of reference pictures than the two or more reference pictures, wherein the at least one direct motion vector includes at

least one of at least one temporal- direct motion vector and at least one spatial direct motion vector.

35. The method of claim 33; wherein said encoding step uses an iterative process to predict the motion vectors for the two or more reference pictures, and renders a decision regarding the motion vectors to be initially used in the iterative process, from among the at least one of the motion vectors initialized to the predefined value and the previously computed motion vectors, based upon a correlation metric. .

36. The method of claim 29, wherein said encoding step predicts the motion vectors for the two or more reference pictures using an iterative process (425, 430, 440).

37. The method of claim 36, wherein said encoding step constrains a maximum number of iterations performed by the iterative process.

38. The method of claim 36, wherein said encoding step constrains a maximum number of the two or more reference pictures to be tested in parallel by the iterative process.

39. The method of claim 29, wherein said encoding step estimates the motion vectors for the two or more reference pictures based on weights used for the two or more reference pictures from a previous weight estimation. process .

7 40. TrTe metfiδa " of ~ clairn ~ 29T ~ whereiή " said encoding " step estimates the motion vectors for the two or more reference pictures using multiple iterative processes in parallel, the multiple iterative processes having different initialization points respectively corresponding to different ones of the two or more reference pictures (510, 515, 520).

41. The method of claim 40, wherein said encoding step performs a first one of the multiple iterative processes to provide initial values for the motion vectors for each of the two or more reference pictures, selects a best initial one of the two or more references based on a lowest distortion measure, and performs subsequent ones of the multiple iterative processes to refine the initial values obtained for the best initial one of the two or more references (500).

42. The method of claim 29, wherein said encoding step predicts motion information for the multi-prediction picture based on the motion vectors for the two or more reference pictures being identical, and jointly refines the motion vectors compared to the multi-prediction picture (600).

43. The method of claim 29, wherein said encoding step estimates motion vector information for the multi-prediction picture by combining the two or more reference pictures into a combined reference picture and using zero motion between the two or more reference pictures (610).

44. The method of claim 29, wherein said encoding step predicts a respective motion vector for each of the two or more reference pictures by separately considering remaining ones of the two or more reference pictures as being stationary compared to the multi-prediction picture (720,725).

45. The method of claim 44, wherein said encoding step predicts the respective motion vector for each of the two or more reference pictures by selecting a respective weight " there " for.

46. The method of claim 29, wherein said encoding step performs a mode decision for the multi-prediction picture to select a mode with a minimal distortion measure from among a single predictive mode, a direct predictive mode, a bi- predictive mode using the motion vectors for the two or more reference pictures respectively calculated using single prediction, at least one bi-predictive mode using a refined motion vector for one of the two or more reference pictures and a

stationary motion vector, and a bi-predictive mode using a respective refined motion vector for each of the two or more reference pictures, wherein the motion vectors for each of the two or more reference pictures are respectively calculated based upon the motion vectors for remaining ones of the two or more reference pictures being separately considered as stationary (730).

47. The method of claim 46, wherein said encoding step further selects the mode with the minimal distortion measure from among at least one bi-predictive mode using the motion vector for one of the two or more reference pictures and the refined motion vector for one of the two or more reference pictures, and at least one combination including at least one direct motion vector.

48. The method of claim 29, wherein said encoding step predicts a respective motion vector for each of the two or more reference pictures by considering only one of the two or more reference pictures as being stationary compared to the multi-prediction picture (820).

49. The method of claim 48, wherein said encoding step predicts the respective motion vector for each of the two or more reference pictures by selecting a respective weight there for.

50. The method of claim 48, wherein the only one of the two or more reference pictures is selected based on at least one of a particular reference list to which the only one of the two or more reference pictures corresponds, temporal closeness, greatest similarity to the multi-prediction picture.

51. The method of claim 29, wherein said encoding step performs a mode decision for the multi-prediction picture to select a mode with a minimal distortion measure from among a single predictive mode, a direct predictive mode, a bi- predictive mode using the motion vectors for the two or more reference pictures respectively calculated using single prediction, a bi-predictive mode using a stationary motion vector and a refined motion vector, wherein a respective one of the motion vectors for only one of the two or more reference pictures is calculated based

upon a stationary motion vector being used for remaining ones of the two or more reference pictures (825).

52. The method of claim 51 , wherein said encoding step further selects the mode with the minimal distortion measure from among at least one bi-predictive mode using one of the motion vectors from one of the two or more reference pictures and the refined motion vector, and at least one combination of a direction motion vector and the motion vector calculated according to the distortion measure. .

53. The method of claim 29, wherein said encoding step jointly computes the motion vectors for the two or more reference pictures based on the two or more reference pictures having identical motion with respect to the multi-prediction picture to be encoded (920).

54. The method of claim 53, wherein said encoding step jointly computes the motion vectors for the two or more reference pictures by selecting a respective weight there for.

55. The method of claim 29, wherein said encoding step performs a mode decision for the multi-prediction picture to select a mode with a minimal distortion measure from among a single predictive mode, a direct predictive mode, a bi- predictive mode using the motion vectors for the two or more reference pictures respectively calculated using single prediction, and a bi-predictive mode using a respective refined motion vector for each of the two or more reference pictures, and a prediction mode using a motion vector for a combination, of the two or more reference pictures calculated by considering the motion vectors for the two or more reference pictures to be identical (925).

56. The method of claim 55, wherein said encoding step further selects the mode with the minimal distortion measure from among at least one bi-predictive mode using one of the motion vectors from one of the two or more reference pictures and the motion vector calculated by considering the motion vectors for the two or more reference pictures to be identical, and at least one combination of a direct motion vector and the motion vector calculated by considering the motion vectors for the two or more reference pictures to be identical.

Description:

METHOD AND APPARATUS FOR MOTION ESTIMATION USING COMBINED REFERENCE BI-PREDICTION

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application Serial No. . 60/764,452, filed 2 February, 2006, which is incorporated by reference herein in its entirety.

TECHNICAL FIELD . .

The present principles relate generally to video encoding and, more particularly, to a method and apparatus for motion estimation using combined reference bi-prediction.

BACKGROUND .

It is well known that multi-hypothesis motion compensation; as described in a first prior art approach, can provide considerable benefits within motion compensated video encoders and decoders. More specifically, bi-predictive (B) slices (or bi-predictive pictures in older standards and recommendations), which consider 2 hypotheses, are in. general the most efficiently coded slices within the CODEC for the International Organization for Standardization/International Electrotechnical Commission (ISO/IEC) Moving Picture Experts Group-4' (MPEG-4) Part 10 Advanced Video Coding (AVC) standard/International Telecommunication Union, Telecommunication Sector (ITU-T) H.264 recommendation (hereinafter the "MPEG-4 AVC standard"). This behavior is due to these slices being able to more efficiently exploit the temporal correlation that exists within a sequence by linearly combining two or more hypotheses together, so as to reduce their associated error. More specifically, in B slices, a macroblock or block is coded in such a way that it can be predicted by either one prediction (listO or Iist1) or the linear combination of two predictions (listO and listi ), while associated weights for each list could provide additional benefits in the presence of fades or cross-fades. To perform this prediction, the decoder only requires that 1 or 2 motion vectors (MVs), depending on the prediction type, and their associated references (one for each associated list),

are transmitted within the bitstream, or that these are inferred as in the case of direct modes.

Apparently in most encoders such as, for example, the current JM reference software, Joint Video Team (JVT) Reference Software version JM7.4, motion estimation for B slices (and for multi-hypothesis coding in general) considers each candidate reference within the available prediction lists separately during motion estimation and does not make any specific assumption for bi-prediction (or multi- hypothesis prediction respectively). For each prediction list, an encoder calculates the best single prediction motion vectors and, then, using these candidate motion vectors, the encoder generates an additional set of bi-predictive candidates that will be later used within a final mode decision, which will decide which mode (single or multiple prediction or even intra) will be used.

Turning to FIG. 1 , a video encoder that uses bi-prediction is indicated generally by the reference numeral 100. A non-inverting input of a combiner 105, a first input of a Mode Decision (MD) & Motion Compensation (MC) 175, a first input of a motion estimator (ME) 165, and a first input of a motion estimator 170 are available as inputs to the video encoder. An output of the combiner 105 is connected in signal communication with an input of a transformer 110. An output of the transformer 110 is connected in signal communication with an input of a quantizer 115. An output of the quantizer 115 is connected in signal communication with an input of a variable length coder (VLC) 120. An output of the VLC 120 is available as an output of the video encoder 100.

The output of the quantizer 115 is also connected in signal communication with an input of an inverse quantizer 125. An output of the inverse quantizer 125 is connected in signal communication with an input of an inverse transformer 130. An output of the inverse transformer 130 is connected in signal communication with a first non-inverting input of a combiner 180. An output of the combiner 180 is connected in signal communication with an input of a loop filter 135. An output of the loop filter 135 is connected in signal communication with an input of a picture reference store 140. An output of the reference picture store 140 is connected in signal communication with an input of a ListO reference buffer 145 and with an input of a List 1 reference buffer 150. A first output of the ListO reference buffer 145 is connected in signal communication with a first input of multiplier 155. A first output

of the Listi reference buffer 150 is connected in signal communication with a first input of a multiplier 160. A second output of the ListO reference buffer 145 and a second output of the Listi reference buffer 150 are connected in signal communication with a second input of the MD&MC 175. An output of the multiplier 155 is connected in signal communication with a second input of the motion estimator 165. An output of the multiplier 160 is connected in signal communication with a second input of the motion estimator 170. A first output of the MD&MC 175 is connected in signal communication with an inverting input of the combiner 105. A . second output of the MD&MC 175 is connected in signal communication with a second non-inverting in put of the combiner 180.

The above method is based on the assumption that these motion vectors are good enough to be used within bi-prediction. Unfortunately this assumption is not always true, potentially resulting in significant loss in efficiency. This is particularly true in the presence of cross-fades (dissolves) where overlapping objects from these images may have considerably different luminance characteristics and possibly motion, and the consideration of each list separately could potentially result in relatively poor performance. Therefore, it would be highly desirable to be able to jointly consider the available candidate references within the motion estimation phase, which could result in higher coding efficiency. On the other hand, this does not imply that each reference should not be considered separately since single prediction could still provide us with good results especially when considering that only a single set of motion vectors (mv 0 and for references x and y, respectively) need to be transmitted in such a case, which is very important at low bitrates. • It is well known that motion estimation for a single candidate is itself rather computationally expensive. If a full search approach was used with a search would be tested. Obviously the brute force and, in a sense, optimal approach for bi-prediction would require (2N+1 ) 2 χ(2M+1) 2 checking points which is rather forbidding for any architecture. In the more general multi-hypothesis (k-prediction) case this would mean that (2N+1) κ χ(2M+1 ) κ need to be tested. An alternative, considerably simpler, architecture was presented in the above-mentioned first prior art approach, where instead of the brute force method, an iterative approach was used where each

hypothesis was examined and refined sequentially, by considering the previously estimated hypothesis.

This method could, for a bi-predictive case, be summarized as follows: Assume that the current picture is z, and the two references under consideration are pictures x and y. For such pictures, weights a and b have been respectively selected for weighted prediction (i.e., for normal bi-prediction a=b=1/2). mvo and mvi are the motion vectors needed for motion compensation corresponding to the x . and y references (or their weighted counterparts) respectively. For simplicity weighting offsets are ignored in this process, although similar consideration could apply. In the following procedure, SAD (sum of absolute difference) is used as a distortion measure.

Step 1. Set WV 0 = mv ϋ ' = = 0 .

Step 2. Form reference picture as ax. S Stteepp 3 3.. Perform motion estimation in ax to refine motion vectors mv 0

USing distortion SAD \ .

Step 4. Set WV Q = WV 0

Step 5. Form reference picture as by.

Step 6. Perform motion estimation in by to find motion vectors ITiV 1 using distortion SAD =\ z-by{mv λ )-ax{mv 0 ') \ .

Step 7. If ( v, = mv\) exit.

Step 8. Set mv\ = mv x

Step 9. Refine motion vectors mv 0 in ax using distortion | . ~ S Stteepp--1100.; — if-(«fp- = m %) -exit; —

Step 11. Set mv o ' = mv 0

Step 12. Goto Step 6.

This may be generalized for the multiple hypothesis case. The problem with this method is that it may still require a large number of iterations. Moreover, while it is very likely that performance would be improved, it is also possible that the final prediction may not be the best possible, especially if the scheme is trapped at a local

minimum. The implementation of this architecture is also rather complicated especially considering that it is necessary to reconstruct a new hypothesis using motion compensation for every iteration of the algorithm. An alternative but rather similar approach was proposed in the above-mentioned first prior art approach, where the initial zero motion vectors in step 1 were replaced with the motion vectors generated by considering each list independently- Video compression encoders and decoders gain much of their compression efficiency by forming a prediction of the current picture (or slice) P CU rr e πt that is to be encoded, and by additionally encoding the difference between this prediction and the current picture. The more closely correlated the prediction is to the current picture, the fewer the bits that are needed to compress that picture. It is therefore desirable for the best possible picture prediction to be formed. This prediction can be generated through either spatial prediction methods (intra coding) or temporal methods (inter coding). Temporal prediction methods basically employ motion compensated techniques in order to generate the prediction reference. This is usually done by dividing the source image into non-overlapping blocks of size NxM and by finding the best match within a reference picture Preferen c e, using motion estimation techniques. This best match is associated with a set of motion parameters that are also encoded within the bitstream. Newer standards, such as the MPEG-4 AVC standard, also allow the consideration of multiple reference pictures for the estimation and selection of the best prediction, by signaling the index of the reference used with the motion parameters. Such multi-reference encoders and decoders use a reference buffer, where each potential candidate reference is stored . and accessed during encoding or decoding.

' " " ATTalternative method that can considerably improve performance is to consider not only a single reference, picture at a time, but instead the possibility of using combinations of multiple hypotheses as is, in particular, done for bi-predictive (B) picture/slice coding. Here the prediction may be generated through again either considering a single reference selected from a set of multiple references, but also by linearly combining (i.e. performing a weighted average) two available references. This would also require that, if necessary, two different motion parameter sets are estimated and transmitted that correspond to each reference. This concept can be

generalized for encoders that consider more than 2 hypotheses as is described in the above-mentioned first prior art approach. Other parameters that could also improve performance include the consideration of weighted prediction as suggested in a second prior art approach, where a different weighting factor can be applied to each hypothesis, and more complicated motion models such as global motion compensation techniques are used.

Although the consideration of multi-hypothesis motion compensation could considerably improve the performance of a video codec, proper estimation of the motion parameters for this case is a very difficult problem. In particular, the optimal solution could be found by examining all possible prediction combinations with the available references that is, examine for each possible motion vector in a reference all other motion vectors and their combinations in the remaining references, which is obviously computationally forbidding. .

SUMMARY

These and other drawbacks and disadvantages of the prior art are addressed by the present principles, which are directed to a method and apparatus for motion estimation using combined reference bi-prediction. According to an aspect of the present principles, there is provided an apparatus. The apparatus includes an encoder for encoding a multi-prediction picture from a combination of two or more reference pictures by respectively predicting a motion vector for a particular one of the two or more reference pictures in a motion estimation process while initializing motion vectors for remaining ones of the two or more reference pictures to a predefined value for use by the motion estimation process.

According to another aspect of the present principles, there is provided a method. The method includes encoding a multi-prediction picture from a combination of two or more reference pictures by respectively predicting a motion vector for a particular one of the two or more reference pictures in a motion estimation process while initializing motion vectors for remaining ones of the two or more reference pictures to a predefined value for use by the motion estimation process.

These and other aspects, features and advantages of the present principles will become apparent from the following detailed description of exemplary embodiments, which is to be read in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The present principles may be better understood in accordance with the following exemplary figures, in which:

FIG. 1 shows a diagram for a video encoder that uses bi-prediction, in accordance with the prior art; FIG. 2 shows a diagram for an exemplary video encoder that uses bi- prediction with subtraction consideration, in accordance with an embodiment of the present principles; and

FIG. 3 shows an exemplary method for encoding a macroblock using bi- prediction, in accordance with an embodiment of the present principles. FIG. 4 shows an exemplary method for motion estimation using combined reference bi-prediction, where parallel iterations are performed to optimize remaining hypothesis, in accordance with an embodiment of the present principles;

FIG. 5 shows an exemplary method for motion estimation using combined reference bi-prediction, where motion vectors are iteratively refined based on a best reference, in accordance with an embodiment of the present principles;

FIG. 6 shows an exemplary method for. motion estimation that considers all hypothesis as having identical motion vectors, in accordance with an embodiment of the present principles;

FIG. 7 shows an exemplary method for performing motion estimation using combined reference bi-prediction, where each reference (x or y) is considered sep ~ aϊafely ~ as being ~ stationary " compared to a source picture x, in accordance with an embodiment of the present principles;

FIG. 8 shows an exemplary method for performing motion estimation using combined reference bi-prediction, where only one reference is considered as being stationary compared to a source picture, in accordance with an embodiment of the present principles; and

FIG. 9 shows an exemplary method for performing motion estimation using combined reference bi-prediction, where both references are combined presuming

zero motion between the references, in accordance with an embodiment of the present principles.

DETAILED DESCRIPTION The present principles are directed to a method and apparatus for motion estimation using combined reference bi-prediction.

The present description illustrates the present principles. It will thus be appreciated that those skilled in the art will be able to devise various arrangements that, although not explicitly described or shown herein, embody the present principles and are included within its spirit and scope.

All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the present principles and the concepts contributed by the inventor(s) to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions.

Moreover, all statements herein reciting principles, aspects, and. embodiments of the present principles, as well as specific examples thereof, are intended to encompass both structural and functional equivalents thereof. Additionally, it is intended that such equivalents include both currently known equivalents as well as equivalents developed in the future, i.e., any elements developed that perform the same function, regardless of structure.

Thus, for example, it will be appreciated by those skilled in the art that the block diagrams presented herein represent conceptual views of illustrative circuitry embodying the present principles. Similarly, it will be appreciated that any flow charts, flow diagrams, state transition diagrams, pseudocode, and the like represent various processes which may be substantially represented in computer readable media and so executed by a computer or processor, whether or not such computer or processor is explicitly shown.

The functions of the various elements shown in the figures may be provided through the use of dedicated hardware as well as hardware capable of executing software in association with appropriate software. When provided by a processor, the functions may be provided by a single dedicated processor, by a single shared processor, or by a plurality of individual processors, some of which may be shared.

Moreover, explicit use of the term "processor" or "controller" should not be construed to refer exclusively to hardware capable of executing software, and may implicitly include, without limitation, digital signal processor ("DSP") hardware, read-only memory ("ROM") for storing software, random access memory ("RAM"), and non-volatile storage.

Other hardware, conventional and/or custom, may also be included. Similarly, any switches shown in the figures are conceptual only. Their function may be carried out through the operation of program logic, through dedicated logic, through the interaction of program control and dedicated logic, or even manually, the particular technique being selectable by the implementer as more specifically understood from the context.

In the claims hereof, any element expressed as a means for performing a specified function is intended to encompass any way of performing that function including, for example, a) a combination of circuit elements that performs that function or b) software in any form, including, therefore, firmware, microcode or the like, combined with appropriate circuitry for executing that software to perform the function. The present principles as defined by such claims reside in the fact that the functionalities provided by the various recited means are combined and brought together in the manner which the claims call for. It is thus regarded that any means that can provide those functionalities are equivalent to those shown herein.

Reference in the specification to "one embodiment" or "an embodiment" of the present principles means that a particular feature, structure, characteristic, and so forth described in connection with the embodiment is included in at least one embodiment of the present principles. Thus, the appearances of the phrase "in one embodiment" or "in an embodiment" appearing in various places throughout the specification " are " not necesisaTilyairreferring ' to the ~ same ~ embodiment. "

It is to be appreciated that the pseudo code provided herein is merely for illustrative purposes and, thus, given the teachings of the present principles provided herein, one of ordinary skill in this and related arts will contemplate the following pseudo code sequences as well as variations thereof, while maintaining the scope of the present principles. .

Turning to FIG. 2, an exemplary video encoder using bi-prediction with subtraction consideration is indicated generally by the reference numeral 200.

A non-inverting input of a combiner 205, a first input of a Mode Decision (MD) & Motion Compensation (MC) 275, a first input of a motion estimator (ME) 265, a first input of a motion estimator 270, a non-inverting input of a combiner 286, and a non-inverting input of a combiner 288 are available as inputs to the video encoder. An output of the combiner 205 is connected in signal communication with an input of a transformer 210. An output of the transformer 210 is connected in signal communication with an input of a quantizer 215. An output of the quantizer 215 is connected in signal communication with an input of a variable length coder (VLC) 220. An output of the VLC 220 is available as an output of the video encoder 200. The output of the quantizer 215 is also connected in signal communication with an input of an inverse quantizer 225. An output of the inverse quantizer 225 is connected in signal communication with an input of an inverse transformer 230. An output of the inverse transformer 230 is connected in signal communication with a first non-inverting input of a combiner 280. An output of the combiner 280 is connected in signal communication with an input of a loop filter 235. An output of the loop filter 235 is connected in signal communication with ah input of a picture reference store 240. An output of the reference picture store 240 is connected in signal communication with an input of a ListO reference buffer 245 and with an input of a List 1 reference buffer 250. A first output of the ListO reference buffer 245 is connected in signal communication with a first input of multiplier 255. A first output of the Listi reference buffer 250 is connected in signal communication with a first input of a multiplier 260. A second output of the ListO reference buffer 245 and a second output of the Listi reference buffer 250 are connected in signal . communication with a second input of the MD&MC 275. An output of the multiplier 255 is connected in signal communication with a second input of the motion esεmatoF26 ~ 5 " . ~ An outpuforth¥Tnultiplier " 260 ~ is ~ cpnnected in signal communication with a second input of the motion estimator 270! A first output of the MD&MC 275 is connected in signal communication with an inverting input of the combiner 205. A second output of the MD&MC 275 is connected in signal communication with a second non-inverting input of the combiner 280.

The output of the multiplier 255 is also connected in signal communication with a first input of a motion estimator 284 and an inverting input of the combiner 286. The output of the multiplier 260 is also connected in signal communication with

an inverting input of the combiner 288 and a first input of a motion estimator 282. An output of the combiner 288 is connected in signal communication with a second input of the motion estimator 284. An output of the combiner 286 is connected in signal communication with a second input of the motion estimator 282. An output of the motion estimator 284 is connected in signal communication with a third input of the MD&MC 275. An output of the motion estimator 282 is connected in signal communication with a fourth input of the MD&MC 275.

In accordance with the present principles, a method and apparatus are described that can significantly improve the encoding performance of bi-predictive pictures or slices within a video encoding architecture. While the present principles are primarily described with respect to the MPEG-4 AVC standard, it is to be appreciated that the present principles are not solely limited to the preceding standard and may be utilized with respect to other video coding standards and recommendations while maintaining the scope of the present principles. In an embodiment of the present principles, we consider an additional reference picture within the motion estimation process, which is basically a linear combination of two other references. This new reference allows us to further refine the prediction reference within bi-predictive (B) pictures (combined reference bi- prediction) since a more accurate consideration of bi-prediction is performed, leading to higher encoding efficiency. In an embodiment of the present principles, an extension of this method to multi-hypothesis prediction is provided. Advantageously, the embodiment reduces the complexity of the multi-hypothesis motion estimation without adversely affecting quality to any significant degree.

In the above-mentioned first prior art approach, motion estimation for multi- hypothesis motion compensation is performed using an iterative method where, in ~ each ~ Ueratidn, tfieThotioή ve ' ctorsTof a particular reference ~ orhypothesis are refined while considering the previous estimated motion vectors of all other reference lists or hypotheses. It is also suggested that as an initial estimate, the single prediction motion vectors (MVs) could be used. In an embodiment of the present principles, we propose using a different method for estimating the motion vectors of a particular reference, which although still based on an iterative method, can better estimate the motion vectors for each

reference, while it may be much simpler under some conditions or architectures to implement.

An embodiment is based on the presumption that adjacent pictures tend to include a large percentage of stationary regions, even during fades and cross-fades.

5 Unlike the above-mentioned first prior art approach, in which a sequence of iterations is performed to estimate the motion vectors of a particular reference based on the previous calculated motion vectors of all other already estimated references, . in an embodiment, we first consider predicting the motion vectors of each . reference by presuming that all other remaining references are stationary (see FIG. 2). Doing 0 so allows us to better separate stationary from non-stationary regions and, therefore, can improve the motion estimation accuracy or the convergence of an iterative scheme as done in the first prior art approach. More specifically this solution presents several alternative possibilities.

In an embodiment, a first approach in accordance with the present principles

15 for performing motion estimation using combined reference bi-prediction involves performing parallel iterations to optimize the remaining hypotheses. The parallelization is realized by starting the performance of motion estimation with different reference indexes, while presuming the motion vectors for other reference indices are 0. This concept can be explained by studying the following pseudo-

20 code, which can be used for every block and presuming that we have N number of hypotheses. In the following pseudo-code, the following designations are used: x, denotes the reference picture with index i; w,- denotes its associated weight for weighted prediction; my/,*,/ denotes the motion vector computed for the reference with index j, if ME is performed starting with reference index i; and k={0,1} is used to

25. verify whether any change in the motion vectors has occurred during the iteration process and whether the ~ algόrithm r ne¥dslό " terrnirTate ~ of " hot. In particular, if N=2 we have the following:

for (i = 0; i < 2; i++) 30 { .

ITiVo 1 Q 1 FmVo 1 I 1 F mvi,o.FmviχF (0.0); /A perform ME starting using reference index i reference = Wj * x,; if (i==0) j=1 ; 35 else j=0; source = z - Wj * XJ;

//! Perform ME using reference to refine motion vectors mvj, o //! using distortion SAD = | source — reference(mv m 0 ,j)|. Motion_Estimation(source, reference, mvjoi, minSADj) do { . for (rn=0; m< 2; m++)

{ reference = w m * x m ; soυrce=z ; if (m==0)j=1; soυrce=z - Wj * x^mv^oj);

m ,o,i)|. SADi);

iterate=1 ;

} .

The above pseudo-code would result in potentially 2 combinations of motion vectors for each different hypothesis. We may then select the best combination using the one leading to the smallest distortion, that is: • .

if (minSADo< minSADi)

{ best_mv={mvo,o.o, mvi, o ,o} minSAD= minSAD 0 ;

} else

The more general algorithm for N hypotheses is as follows:

for (i = 0; i < N; i++)

{ reference=Wi * Xi; source=z ; for G = 0; j < N; j++)

{ mv j ,o,i=mv J , 1>l =(O,O); if (j!=i) source=source- W j * X j (mv j 0 0;

};

//! Perform ME using reference to refine motion vectors mvj.o.i //! using distortion SAD = | source - reference(mv , i0 ,i)|. Motion_Estimation(source, reference, mvj.o.i, minSADj)

do

{ for (m=0; m< N; m++) { reference = w m * x m ; source=z ; for O = 0; j < N; j++)

{ if Q!=m) source=source - W j * X j (mv jA i) ;

};

//! Perform ME using reference to refine mv m> o //! using distortion SAD = | source — reference(mv m ,o,i)l- Motion_Estimation(source, reference, mv m 0 „ minSADj)

} for (j = 0; j < N; j++)

iterate=1 ; mvn j- mvj ιθ ,r, break;

} else iterated;

}; } while (iterate==1)

}

In this case, we may have up to N possible combinations of motion vectors for each different hypothesis. We can then select the best combination using the following method:

minSAD=minSAD 0 ; . best_mv={m Vo 1 O 1 O, mvi, o ,o mv m , o ,o rnv N- i.o.o} for (i = 1 ; i < N-1; i++)

{ . if (minSADj < minSAD) { . . minSAD=minSADi; best_mv={mv o ,o,i, mvi, 0 ,i, ... , mv mi0 ,j, ... , mv N -i,o,i} } }

This decision could also be made within the mode decision process (using Sum of Square Error (SSE) as the distortion metric, combined with the actual bits, required to encode the motion vectors with a given Lagrangian parameter), while we may also allow combinations of motion vectors from each set, or even other predictors, or motion vectors previously estimated such as spatial/temporal direct motion vectors, single direction motion vectors, zero motion vectors, temporarily collocated motion vectors, and so forth, which could lead to extra hypothesis within the mode decision. Note also that depending on the implementation the maximum number of iterations, or even the number of parallel refinements performed, could be predefined, thus reducing complexity for a given system.

In an embodiment, a second approach in accordance with the present principles for performing motion estimation using combined reference bi-prediction will now be described. It is to be appreciated that performing all possible iterations as was described in the first approach in accordance with the present principles is still rather complex. The second approach in accordance with the present principles involves performing only the first step for each hypothesis, and then, performing an iterative refinement based only on the best one (based on a minimum distortion criterion). This can considerably reduce complexity, while still achieving similar performance. The pseudo-code for the second approach is as follows: ; ■ • for (i = 0; i.< N; i++)

{ '

reference=wi * xι; source=z ; for 0 = 0; j < N; j++)

{ . mVj i o,i=mvj,i,i=(O ) O); if (j!=i) source=source- W j * X j (mvj o i);

};

.//! Perform ME using reference to refine motion vectors mvj.o //! using distortion SAD = | source - reference(mv m ,o,i)|. Motion_Estimation(source, reference, mvjo i, minSAD,)

} . minSAD=minSADi; best_mv={mvo,o,o,0,0,...}; best_ref=0; for (i = 1 ; i < N-1 ; i++)

{ if (minSADj < minSAD)

{ minSAD=minSADi; best_mv={O,O,...,mVi,o, 0,0}; best_ref=i; } } do { for (m=0; m< N; m++)

{ reference=w m * x m ; source=z ; for (j = 0; j < N; j++)

{ if G!=m) source=source- Wj * Xj(mvj,o,best_ref) ;

}; - //! Perform ME using reference to refine motion vectors mvr, 0

//! using distortion SAD = | source — reference(mvm,o,i)|-

Motion_Estimation(source,reference,mv m 0 best_ref. minSADbest_ref)

} for 0 = 0; j < N; j++) .

.{ _ if (mVj;o,best_ref!-mVj,i,best_ref) { iterate=1 ; break;

} else iterate=0;

};

} while (iterate==1 ) . minSAD=minSADbest_ref; beSt_mV={mVo,O,best_ref, rnVi ' ,o,best_ref. • • • . mVm.o.besWef. • • • > mVN-1 ,0,best_ref} '

The initial reference selection could also be based on how similar (or more specifically dissimilar) is a reference to the source image. For example, we may start refining the reference with the highest distortion compared to the source, while all others are initially considered as stationary, and the iteration steps are performed as previously described with respect to the first approach in accordance with the present principles.

In an embodiment, a third approach in accordance with the present principles for performing motion estimation using combined reference bi-prediction will now be described. We observe that we have considered zero motion vectors for the initial step of our exemplary algorithm in the above two approaches in accordance with the present principles. It is nevertheless possible to also consider previously generated motion vectors (e.g., single or any M-number hypothesis) as alternative solutions and select the best one for the refinement process. This can be done by examining which one of these predictors, such as temporal/spatial direct motion vectors, single direction motion vectors, zero motion vectors, temporarily collocated motion vectors, and so forth, would result in a source image with the smallest distortion relative to the initial reference without the need of performing additional motion estimation/compensation steps. This predictor is then used instead of the zero predictor in all of the previous steps for the refinement of all other motion vectors. . In an embodiment, a fourth approach in accordance with the present principles for performing motion estimation using combined, reference bi-prediction will now be described. The fourth approach represents a simpler approach which could nevertheless result in some efficiency loss compared to the above methods, and involves considering all hypotheses as having identical motion (i.e., all references are associated to the same, identical motion vectors), and refine their . prediction, together compared to the source image. This can be done as follows:

reference=fj;

source=z ; for (j = 0; j < N; j++)

on vectors mvj.o e(mv)|. Motion_Estimation(source, reference, mv, minSAD) best_mv={mv,mv, ... ,mv};

We point out that the above exemplary algorithms estimate the potentially best combination motion vectors if N references are used. Nevertheless an encoder may also be able to choose the number of references for a given macroblock, since that could result in better performance, either due to better prediction or due to reduced overhead. Obviously though this process can be repeated for all possible reference combinations while, at the end, the reference combination leading to the best performance can be selected using a given criterion. In particular, when the number of possible references/hypotheses is two then, based on the above, we may consider the following three cases.

Regarding the first case relating to the fourth approach in accordance with the present principles, we consider each reference (x or y) separately as being stationary compared to the source picture z (case 1 without any iteration) and compute the motion of the other reference using the following distortion metrics, while also considering the appropriate weights (a and b respectively) from the weight estimation process as follows:

_ S AD =| (z_r . by)- ax(rnv JJ 2-

SAD =| (z - ax) - by(mv 3 ) | .

During mode decision, we can consider the following modes/motion vectors: single prediction; bi-predictive mode using mvo and computed using single prediction ME; direct mode; bi-predictive mode using mv 2 and (0,0); bi-predictive mode using (0,0) and mvz', bi-predictive mode using mvz and mvz, and optional

consideration of bi-predictive modes using mv^ and /Dv 1 , or mvo and mvz, or even combinations with the direct motion vectors.

Regarding the second case relating to the fourth approach in accordance with the present principles, we consider only one reference as being stationary compared to the source picture and compute the motion of the other reference (constrained case 1 with no iterations) using the following distortion metric, while also considering the appropriate weights from the weight estimation process as follows:

SAD =| (z - by) - ax(mv 2 ) |. •

During mode decision we can consider the following cases: single prediction; bi-predictive mode using mvo and mvi computed using single prediction ME; direct mode; bi-predictive mode using mv 2 and (0,0); and optional (recommended) consideration of bi-predictive modes using mv 2 and mv^, or even combinations with the direct motion vectors.

For this method, it is necessary to also select which one of the two references is to be considered as stationary. Several options exist such as, for example: (a) select the listO or Iist1 reference; (b) select the temporally closest; and (c) select the one which appears as most similar with the source picture. A combination metric could also be considered, while this process could be done either at the picture/slice level (all blocks within a slice are estimated using the same method), or macroblock/block level (reference decision is made for each block).

Regarding the third case relating to the fourth approach in accordance with the present principles, we combine both images together presuming zero motion between them. Then, we perform motion estimation using this picture as a new reference as follows:

SAD =\ z — ax(mv) — by(mv) | . . "

During mode decision we can consider the following cases: single prediction; bi-predictive mode using mvo and computed using single prediction ME; direct mode; bi-predictive mode using mvfor both references; and optional

(recommended) consideration of bi-predictive modes using mv and mv- \ , and mvo and mv, or even combinations with the direct motion vectors.

Turning to FIG. 3, an exemplary method for encoding a macroblock using bi- prediction is indicated generally by the reference numeral 300. The method 300 includes an initialization block 305 that passes control to a function block 350 and a loop limit block 310.

The function block 350 performs intra mode decision, records the distortion measure, and passes control to a function block 330.

The loop limit block 310 begins a loop over all of the inter modes, and passes control to a function block 315. The function block 315 performs motion estimation by jointly considering all hypotheses, and passes control to a function block 320. The function block 320 performs mode decision, records the distortion measure, and passes control to a loop limit block 325 that ends the loop, and passes control to the function block 330. The function block 330 sets the coding mode to be the one with the least distortion measure, and passes control to a function block 335. The function block 335 encodes the current macroblock, and passes control to an end block 399.

Turning to FIG; 4, an exemplary method for motion estimation using . combined reference bi-prediction, where parallel iterations are performed to optimize remaining hypothesis, is indicated generally by the reference numeral 400.

The method 400 includes a start block 405 that passes control to a function block 410, a . function block 415, and a function block 420.

The function block 410 starts performing motion estimation for reference index 0, presuming motion vectors for other reference indices are 0. or some pre- defined value, and passes control to a function block 425. The function block 425 iteratively refines motion vectors for all references, save the motion vectors as

{mvo.0,0, ITiV 11 O 1 O mvm.0,0 rnvN-i,o,o} and distortion as minSAD 0 , and passes control to a function block 445.

The function block 415 starts performing motion estimation for reference index m, presuming motion vectors for other reference indices are 0 or some predefined value, and passes control to a function block 430. The function block 430 iteratively refines motion vectors for all references, save the motion vectors as

{mvo.o.m, mvi.o.m mvm,o,m, ... , mvN-i,o.m} and distortion as minSAD m , and passes control to the function block 445.

The function block 420 starts performing motion estimation for reference index N-1 , presuming motion vectors for other reference indices are 0 or some pre- defined value, and passes control to a function block 440. The function block 440 iteratively refines motion vectors for all references, save the motion vectors as

{mvo,o,N-i, rnvi.o,N-i rnv mι0 ,N-i, --- , γπV N . 1I0 ,N-I} and distortion as minSADtM-i, and passes control to the function block 445.

The function block 445 select the best combination of motion vectors with the minimal minSAD value, and passes control to an end block 499.

Turning to FIG. 5, an exemplary method for motion estimation using combined reference bi-prediction, where motion vectors are iteratively refined based on a best reference, is indicated generally by the reference numeral 500.

The method 500 includes a start block 505 that passes control to a function block 510, a function block 515, and a function block 520.

The function block 510 starts performing motion estimation for reference index 0, presuming motion vectors for other reference indices are 0 or some predefined value, and passes control to a function block 525.

The function block 515 starts performing motion estimation for reference index m, presuming motion vectors for other reference indices are 0 or some predefined value, and passes control to the function block 525.

The function block 520 starts performing motion estimation for reference index N-1 , presuming motion vectors for other reference indices are 0 or some predefined value, and passes control to the function block 525. The function block 525 select the best reference (best_ref ) with minimal minSAD value, and passes control to a function block 530. The function block 530 iteratively refine motion vectors for all references, save the motion vectors as

{mv o ,o,best_ref, ITiV 1 i0 ,best_ref, •- , rnv mi0 ,bβst_ref n " iViM-i ,o,best_ref}, and passes control to an end block 599. Turning to FIG. 6, an exemplary method for motion estimation that considers all hypothesis as having identical motion vectors is indicated generally by the reference numeral 600.

The method 600 includes a start block 605 that passes control to a function block 610. The function block 610 adds all reference pictures together to form a single reference picture, and passes control to a function block 615. The function block 615 performs motion estimation on the newly formed reference picture, and passes control to a function, block 620. The function block 620 sets the resultant motion vector for the newly formed reference picture to be the motion vectors of all the reference pictures, and passes control to an end block 699.

Turning to FIG. 7, an exemplary method for performing motion estimation using combined reference bi-prediction, where each reference (x or y) is considered separately as being stationary compared to a source picture x, is indicated generally by the reference numeral 700.

The method 700 includes a start block 705 that passes control to a function block 710. The function block 710 performs motion estimation (which generates motion vector mvo) for reference x, and passes control to a function block 7.15. The function block 715 performs motion estimation (which generates motion vector mv-i) for reference y, and passes control to a function block 720. The function block 720 performs motion estimation (which generates motion vector mv 2 ) using SAD =|(z- by)-ax(mv 2 )], and passes control to a function block 725. The function block 725 performs motion estimation (1υIV2) using SAD arid passes control to a function block 730. The function block 730 performs mode decision, and passes control to a function block 735. Regarding the mode decision performed by the function block 730, such mode decision may be performed by considering, e.g.: single prediction; bi-predictive mode using mv 0 and mv-i; direct mode; bi-predictive mode using mv 2 and (0,0); bi-predictive mode using (0,0) and mv 3 ; bi-predictive mode using mv 2 and mv3; and optional consideration of bi-predictive modes using

ITiV 2 and mvi, or mv 0 with the direct motion vectors. The preceding considerations are exemplary arid, thus, given the teachings of the present principles provided herein, these and other considerations may also be utilized with respect to the mode decision performed by the function block 730, while maintaining the scope of the present principles.

The function block 735 selects the mode with minimal distortion measure, and passes control to an end block 799.

Turning to FIG. 8, an exemplary method for performing motion estimation using combined reference bi-prediction, where only one reference is considered as being stationary compared to a source picture, is indicated generally by the reference numeral 800. The method 800 includes a start block 805 that passes control to a function block 810. Trie function block 810 performs motion estimation (which generates motion vector mv 0 ) for reference x, and passes control to a function block 815. The function block 815 performs motion estimation (which generates motion vector [Tw 1 ) for reference y, and passes control to a function block 820. The function block 820 performs motion estimation (which generates motion vector mv 2 ) using SAD =|(z-by)-ax(mv 2 )|, and passes control to a function block 825. The function block 825 performs mode decision, and passes control to a function block 830. Regarding the mode decision performed by the function block 825, such mode decision may be performed by considering, e.g.: single prediction; bi- predictive mode using mvo and mvi; direct mode; bi-predictive mode using mv 2 and (0,0); and optional consideration of bi-predictive modes using mv 2 and mv-i, or even combinations with the direct motion vectors. The preceding considerations are exemplary and, thus, given the teachings of the present principles provided herein, these and other considerations may also be utilized with respect to the mode decision performed by the function block 825, while maintaining the scope of the present principles.

The function block 830 selects the mode with minimal distortion measure, and passes control to an end block 899.

Turning to FIG. 9, an exemplary method for performing motion estimation using combined reference bi-prediction, where both references are combined presuming zero motion between the references, is indicated generally by the reference numeral 900. The method 900 includes a start block 905 that passes control to a function block 910. The function block 910 performs motion estimation (which generates motion vector mv 0 ) for reference x, and passes control to a function block 925. The function block 915 performs motion estimation (which generates motion vector ITiV 1 ) for reference y, and passes control to a function block 920. The function block 920 performs motion estimation (which generates motion vector mv) using SAD =|(z-by(mv)-ax(mv)|, and passes control to a function block 925. The function block 925 performs mode decision, and passes control to a

function block 930. Regarding the mode decision performed by the function block 925, such mode decision may be performed by considering, e.g.: single prediction; bi-predictive mode using mvo and mvi; direct mode; bi-predictive mode using mv for both ref; and optional consideration of bi-predictive modes using mv and mvi, and mvo and mv, or even combinations with the direct motion vectors. The preceding considerations are exemplary and, thus, given the teachings of the present principles provided herein, these and other considerations may also be utilized with respect to the mode decision performed by the function block 925, while maintaining the scope of the present principles. The function block 930 selects the mode with minimal distortion measure, and passes control to an end block 999.

A description will now be given of some of the many attendant advantages/features of the present invention, some of which have been mentioned above. For example, one advantage/feature is an apparatus that includes an encoder for encoding a multi-prediction picture from a combination of two or more reference pictures by respectively predicting a motion vector for a particular one of the two or more reference pictures in a motion estimation process while initializing motion vectors for remaining ones of the two or more reference pictures to a predefined value for use by the motion estimation process. Another advantage/feature is the apparatus having the encoder as described above, wherein the encoder predicts the motion vector for the particular one of the two or more references by considering the remaining ones of the two or more reference pictures as stationary.

Still another advantage/feature is the apparatus having the encoder as described above, wherein the encoder predicts the motion vectors for each of the two or more references in- respective- parallel-portions- of -a first one of multiple iterative processes, and refines the motion vectors in subsequent ones of the multiple iterative processes. Yet another advantage/feature is the apparatus having the encoder that predicts the motion vectors for each of the two or more references in the respective parallel portions of the first one of multiple iterative processes and refines the motion vectors in subsequent ones of the multiple iterative processes as described above, wherein the encoder selects a best motion vector combination resulting from the multiple iterative processes based on a distortion measure.

Moreover, another advantage/feature is the apparatus having the encoder as described above, wherein at least one of the motion vectors for at least one of the remaining ones of the two. or more reference pictures is initialized to the pre-defined value based on previously computed motion vectors for the at least one of the remaining ones of the two or more reference pictures. Further, another advantage/feature is the apparatus having the encoder wherein the at least one of the motion, vectors for the at least one of the remaining ones of the two or more reference pictures is initialized based on the previous computed motion vectors for the at least one of the remaining ones of the two or more reference . pictures as described above, wherein the previously computed motion vectors comprise at least one direct motion vector and a motion vector previously computed from combining a lesser number of reference pictures than the two or more reference pictures, wherein the at least one direct motion vector includes at least one of at least one temporal direct motion vector and at least one spatial direct motion vector. Also, another advantage/feature is the apparatus having the encoder wherein the at least one of the motion vectors for the at least one of the remaining ones of the two or more reference pictures is initialized based on the previous computed motion vectors for the at least one of the remaining ones of the two or more reference pictures as described above, wherein said encoder uses an iterative process to predict the motion vectors for the two or more reference pictures, and renders a decision regarding the motion vectors to be initially used in the iterative process, from among the at least one of the motion vectors initialized to the predefined value and the previously computed motion vectors, based upon a correlation metric.

Additionally, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder predicts the motion vectors for the two or more refererϊce pictures Using ah " iterative process: Moreover, another advantage/feature is the apparatus having the encoder that predicts the motion vectors for the two or more reference pictures using the iterative process as described above, wherein the encoder constrains a maximum number of iterations performed by the iterative process. Further, another advantage/feature is the apparatus having the encoder that predicts the motion vectors for the two or more reference pictures using the iterative process as described above, wherein the

encoder constrains a maximum number of the two or more reference pictures to be tested in parallel by the iterative process.

Also, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder estimates the motion vectors for the two or more reference pictures based on weights used for the two or more reference pictures from a previous weight estimation process. . •

Additionally, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder estimates the motion vectors for the two or more reference pictures using multiple iterative processes in parallel, the multiple iterative processes having different initialization points respectively corresponding to different ones of the two or more reference pictures. Moreover, another advantage/feature is the apparatus having the encoder that performs the multiple iterative processes as described above, wherein the encoder performs a first one of the multiple iterative processes to provide initial values for the motion vectors for each of the two or more reference pictures, selects a best initial one of the two or more references based on a lowest distortion measure, and performs subsequent ones of the multiple iterative processes to refine the initial values obtained for the best initial one of the two or more references.

Further, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder predicts motion information for the multi- prediction picture based on the motion vectors for the two or more reference pictures being identical, and jointly refines the motion vectors compared to the multi- prediction picture. . .

Also, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder estimates motion vector information for the

- -multi-prediction- picture--by-eombining-the two- or-more -reference 1 pictures into a combined reference picture and using zero motion between the two or more reference pictures.

Additionally, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder predicts a respective motion vector for each of the two or more reference pictures by separately considering remaining ones of the two or more reference pictures as being stationary compared to the multi-prediction picture. Moreover, another advantage/feature is the apparatus

having the encoder that predicts the respective motion vector for each of the two or more reference pictures by separately considering the remaining ones of the two or more reference pictures as being stationary compared to the multi-prediction picture as described above, wherein the encoder predicts the respective motion vector for each of the two or more reference pictures by selecting a respective weight there for. Further, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder performs a mode decision for the multi- prediction picture to select a mode with a minimal distortion measure from among a single predictive mode, a direct predictive mode, a bi-predictive mode using the motion vectors for the two or more reference pictures respectively calculated using single prediction, at least one bi-predictive mode using a refined motion vector for one of the two or more reference pictures and a stationary motion vector, and a bi- predictive mode using a respective refined motion vector for each of the two or more reference pictures, wherein the motion vectors for each of the two or more reference pictures are respectively calculated based upon the motion vectors for remaining ones of the two or more reference pictures being separately considered as stationary. . Further, another advantage/feature is the apparatus having the encoder that performs the mode decision as described above, wherein the encoder further selects the mode with the minimal distortion measure from among at least one bi- predictive mode using the motion vector for one of the two or more reference pictures and the refined motion vector for one of the two or more reference pictures, and at least one combination including at least one direct motion vector.

Also, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder predicts a respective motion vector for each of the two or more reference pictures by considering only one of the two or more reference pictures as being " " stationary " compared To the multi : pre " dictiόn "" pi " cture. Additionally, another advantage/feature is the apparatus having the encoder that predicts the respective motion vector for each of the two or more reference pictures by considering only one of the two or more reference pictures as being stationary compared to the multi-prediction picture as described above, wherein the encoder predicts the respective motion vector for each of the two or more reference pictures by selecting a respective weight there for. Moreover, another advantage/feature is the apparatus having the encoder that predicts the respective motion vector for each

of the two or more reference pictures by considering only one of the two or more reference pictures as being stationary compared to the multi-prediction, picture as described above, wherein the only one of the two or more reference pictures is selected based on at least one of a particular reference list to which the only one of the two or more reference pictures corresponds, temporal closeness, greatest similarity to the multi-prediction picture. .

Further, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder performs a mode decision for the multi- prediction picture to select a mode with a minimal distortion measure from among a single predictive mode, a direct predictive mode, a bi-predictive mode using the motion vectors for the two or more reference pictures respectively calculated using single prediction, a bi-predictive mode using a stationary motion vector and a refined motion vector, wherein a respective one of the motion vectors for only one of the two or more reference pictures is calculated based upon a stationary motion vector being used for remaining ones of the two or more reference pictures. Also, another advantage/feature is the apparatus having the encoder that performs the mode decision as described above, wherein the encoder further selects the mode with the minimal distortion measure from among at least one bi-predictive niode using one of the motion vectors from one of the two or more reference pictures and the refined motion vector, and at least one combination of a direction motion vector and the motion vector calculated according to the distortion measure.

Additionally, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder jointly computes the motion vectors for the two or more reference pictures based on the two or more reference pictures having identical motion with respect to the multi-prediction picture to be encoded.

Moreover, another advantage/feature " is the " apparatus having the encoder that jointly computes the motion vectors for the two or more reference 1 pictures as described above, wherein the encoder jointly computes the motion vectors for the two or more reference pictures by selecting a respective weight there for. Further, another advantage/feature is the apparatus having the encoder as described above, wherein the encoder performs a mode decision for the multi- prediction picture to select a mode with a minimal distortion measure from among a single predictive mode, a direct predictive mode, a bi-predictive mode using the

. ' ■ ■ ' ' . . 2.8,

motion vectors for the two or more reference pictures respectively calculated using single prediction, and a bi-predictive mode using a respective refined motion vector for each of the two or more reference pictures, and a. prediction mode using a motion vector for a combination of the two or more reference pictures, calculated by considering the motion vectors for the two or more reference pictures to be identical. Additionally, another advantage/feature is the apparatus having the encoder that performs the mode decision as described above, wherein the encoder further selects the mode with the minimal distortion measure from among at least one bi-predictive mode using one of the motion vectors from one of the two or more reference pictures and the motion vector calculated by considering the motion vectors for the two or more reference pictures to be identical, and at least one combination of a direct motion vector and the motion vector calculated by considering the motion vectors for the two or more reference pictures to be identical.

These and other features and advantages of the present principles may be readily ascertained by one of ordinary skill in the pertinent art based on the teachings herein. It is to be understood that the teachings of the present principles may be implemented in various forms of hardware, software, firmware, special purpose processors, or combinations thereof.

Most preferably, the teachings of the present principles are implemented as a combination of hardware and software. Moreover, the software may be implemented as an application program tangibly embodied on a program storage unit. The application program may be uploaded to, and executed by, a machine comprising any suitable architecture. Preferably, the machine is implemented on a computer platform having hardware such as one or more central processing units ("CPU"), a random access memory ("RAM"), and input/output ("I/O") interfaces. The computer platform may also include an operating systeTh and TnicroTήstrϋction code. The various processes and functions described herein may be either part of the microinstruction code or part of the application program, or any combination thereof, which may be executed by a CPU. In addition, various other peripheral units may be connected to the computer platform such as an additional data storage unit and a printing unit.

It is to be further understood that, because some of the constituent system components and methods depicted in the accompanying drawings are preferably

implemented in software, the actual connections between the system components or the process function blocks may differ depending upon the manner in which the present principles are programmed. Given the teachings herein, one of ordinary skill in the pertinent art will be able to contemplate these and similar implementations or configurations of the present principles.

Although the illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the present principles is not limited to those precise embodiments, and that various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the scope or spirit of the present principles. All such changes and modifications are intended to be included within the scope of the present principles as set forth in the appended claims.