Motion vector estimation method and continuous picture generation method based on convexity property of sub pixel

Abstract
A motion vector estimation method and continuous discrete image generation method based on a convexity property of a sub-pixel are provided. The method of estimating a motion vector includes: generating an objective function for a differential definition of a sub-pixel system composed of a chain of arbitrary n-tap filters with respect to an arbitrary k-th order sub-pixel, based on the relation between an integer pixel and a sub-pixel generated through linear FIR filtering; and estimating a motion vector of a sub-pixel by applying a conjugated quadratic algorithm to the objective function.
Description
CROSS-REFERENCE TO RELATED PATENT APPLICATIONS

This application claims the benefits of Korean Patent Application No. 10-2005-0076456, filed on Aug. 19, 2005, and Korean Patent Application No. 10-2005-0124050, filed on Dec. 15, 2005, in the Korean Intellectual Property Office, the disclosures of which are incorporated herein in their entireties by reference.


BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates to a method of minimizing prediction calculation of a sub-pixel motion vector and an integer motion vector with avoiding degradation of picture quality when moving pictures are encoded, and more particularly, to a method of estimating a sub-pixel and an integer pixel through a conjugate quadratic function by using the convexity property of a sub-pixel in a moving picture encoder, and a method of estimating a discrete image as a continuous image.


2. Description of the Related Art


The amount of digital image data that is used in video conference, high picture quality televisions, video on demand (VOD) receivers, personal computers (PCs) supporting moving picture experts group (MPEG) images, game consoles, ground-wave digital broadcasting receivers, digital satellite broadcasting receivers, and cable TVs, increases greatly in the process of digitizing an analog signal and due to the characteristic of an image itself. Accordingly, the digital image data is not used as it is, but is compressed through an effective compression method and then used.


The compression of the digital image data can be broken down into three types: a method reducing temporal redundancy, a method reducing spatial redundancy, and a method reducing the amount of data using the statistical characteristic of generated codes. Among these, a representative one of the method of reducing temporal redundancy is a motion estimation and compensation method and is used by most of moving picture compression standard drafts, such as the MPEG and H.263.


In the motion estimation and compensation method, a part most similar to a predetermined part of a current image is found in the previous or next reference image and only the difference component of the two parts is transmitted. If a motion vector is found as precisely as possible, the difference component to be transmitted is reduced and the amount of the data can be reduced more effectively. However, a lot of estimation time and computation amount are required in order to find a most similar part in the previous or next image. Accordingly, efforts have been being made continuously to reduce a motion estimation time that takes the largest part of a time for encoding moving pictures.


Meanwhile, the motion estimation method includes a method on a pixel-by-pixel basis and a method on a block-by-block basis. Between the two, the block-based method is the most widely used one.


In the block-based estimation method, an image is divided into blocks of a predetermined size, and a block best matching a block of a current image is found in a search area of the previous image. The difference between the found block and the current image block is referred to as a motion vector. In the block-based estimation method, the motion vector is encoded and processed. For the matching calculation between two blocks, a variety of matching functions can be used. The most widely used one is a sum of absolute difference (SAD) that is a value obtained by adding all the absolute values of differences between pixels of the two blocks.


In the case of H.264 codec, a searching operation is performed by using a cost function based on a rate distortion optimization (RDO), instead of using the convention SAD-focused searching method. The cost function used in H.264 performs a search operation using a rate-distortion cost that is obtained by adding the conventional SAD value to a value obtained by multiplying the number of encoded coefficients by a Lagrangian. At this time, the number of the encoded coefficient is determined through substitution with a value in proportion to a quantization coefficient value, and the result is multiplied by a fixed Lagrangian multiplier, a cost value is determined and a search operation is performed.


Also, in the H.264 moving picture encoding, in order to achieve both a high compression efficiency and picture quality, a total of 8 different blocking modes are used to select one mode having a minimum value among the blocks, unlike the conventional moving picture encoding in which encoding is performed in units of 16:16 large blocks or 8:8 large blocks.


Also, in the H.264 moving picture encoding standard, a sub-pixel is generated as down to a ¼ pixel as well as a ½ pixel and with the sub-pixels, moving picture encoding is performed. Accordingly, an encoding object image that has a pixel area four times bigger than an integer pixel should be generated and at the same time even estimation of a sub-pixel should be performed. As a result, the amount of computation is much more than that of the previous methods, and it is needed to reduce the amount of the image estimation and motion estimation computation.


SUMMARY OF THE INVENTION

The present invention provides a method estimation method greatly reducing operations for estimating a sub-pixel by using the characteristic of the sub-pixel, and a method of generating a discrete image as a continuous image.


According to an aspect of the present invention, there is provided a motion estimation method for encoding moving pictures, the method including: generating an objective function for a differential definition of a sub-pixel system composed of a chain of arbitrary n-tap filters with respect to an arbitrary k-th order sub-pixel, based on the relation between an integer pixel and a sub-pixel generated through linear FIR filtering; and estimating a motion vector of a sub-pixel by applying a conjugated quadratic algorithm to the objective function.


According to another aspect of the present invention, there is provided a method of generating a discrete image as a continuous image, the method including: function for a differential definition of a sub-pixel system composed of a chain of arbitrary n-tap filters with respect to an arbitrary k-th order sub-pixel, based on the relation between an integer pixel and a sub-pixel generated through linear FIR filtering; and generating a discrete image of the n-tap FIR filter sub-pixel system as a continuous image, by expanding a Taylor series in relation to the value of an objective function with respect to the arbitrary k-th order sub-pixel.


The method of conjugated polynomial search method using the convexity property of a sub-pixel and the method of generating a discrete image as a continuous image according to the present invention, the characteristic of a sub-pixel image is analyzed and through the characteristic of three sub-pixel images derived from the analysis and a differential definition, an integer pixel, a sub-pixel and a continuous image of a discrete image are efficiently estimated.




BRIEF DESCRIPTION OF THE DRAWINGS

The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:



FIG. 1 is a block diagram of a structure of a conventional moving picture encoder to which a method according to an embodiment of the present invention is applied;



FIG. 2 illustrates interpolation of an integer pixel and a sub-pixel by a sub-pixel system when a finite impulse response (FIR) filter coefficient is ½ according to an embodiment of the present invention;



FIG. 3 illustrates interpolation of an integer pixel and a sub-pixel by a sub-pixel system with a variable FIR coefficient according to an embodiment of the present invention;



FIG. 4 is a conceptual diagram of a method of searching for a sub-pixel according to an embodiment of the present invention; and



FIG. 5 illustrates a method of predicting an integer pixel according to an embodiment of the present invention.




DETAILED DESCRIPTION OF THE INVENTION

The present invention will now be described more fully with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown.



FIG. 1 is a block diagram of an H.264 moving picture encoder to which a method according to an embodiment of the present invention is applied.


Referring to FIG. 1, the motion estimator is composed of an integer pixel estimator estimating a motion vector in units of integer pixels, and a sub-pixel estimator estimating a motion vector in units of optimum sub-pixels and ¼ pixels based on the found motion vector of the integer pixel.


The present invention is not limited to the H.264 application but can also be applied to all video images. The H.264 is only an example of the applications. The integer pixel estimator estimates a motion vector by performing integer pixel prediction and sub-pixel prediction on a block-by-block basis.


A method of conjugated polynomial search using the convexity of a sub-pixel and an algorithm for generating a discrete image as a continuous image will now be explained. In order to help understanding of the present invention, the difference between the conventional technology and the present invention will be explained first.


In the estimation of an integer pixel and a sub-pixel according to the conventional technology, first, a sub-pixel image that is the object of estimation is generated in relation to an entire image unit at maximum, or in relation to each estimation object window region for estimating a motion. Then, through an estimation pattern based on block estimation, an integer pixel and a sub-pixel are estimated.


Meanwhile, in the present invention, through an RD-cost value in relation to neighboring integer pixels generated after first integer pixel estimation is finished, estimation of a sub-pixel is performed. If it is determined that estimation of a next integer pixel is needed in the process of estimating the first integer pixel, an estimation position of the next integer pixel is predicted through an RD-cost value generated by the estimation of the first integer pixel. After the integer pixel is estimated through the RD-cost value, a sub-pixel is estimated by using only the integer pixel RD-cost value without separately estimating a sub-pixel.


The principle of the present invention will now be explained with reference to mathematical expressions. Generally, estimation of a sub-pixel is performed through a finite impulse response (FIR) filtering of integer pixels. This will be explained briefly now.


First, it is assumed that P(x,y,t) indicates an integer pixel value of an image at coordinates (x,y) at time t. Here, for convenience of explanation, assuming that time t is all fixed as a current time, and any one axis of coordinates (x, y) is fixed, an integer pixel at an arbitrary position can be expressed as P(x0+s0h). Here, x0 indicates initial coordinates; h indicates a unit variation of an integer pixel and is usually 1; and s0 is a proportional value in relation to the unit variation and is a scale parameter to indicate an arbitrary position with respect to x0.


In this case, generation of a half pixel used in most of moving picture codecs is expressed as the following expression 1:
P(x0+s1(12)h)=s0(δ(12s1-s0)+F0(12(s1-1)-s0))P(x0+s0h)(1)


In equation 1, δ(x) denotes a Dirac-Delta function, and if x is 0, it is 1 or else, it is 0. F0(s-k) is a 0-th FIR filter coefficient, and only when (s-k) is an integer and in a predetermined range, F0(s-k) has a value.


Generally, in case of the MPEG-2 or H.261, F0(s-k) has a value as the following equation 2:
F0(x)={012112otherwise0(2)


Meanwhile, in case of H.264, F0(s-k) has a value as the following equation 3:
F0(x)={-3132-2-532-12032020321-5322132otherwise0(3)


By generalizing this and determining as an arbitrary k-th order sub-pixel, the can be expressed as the following equation 4:
P(x0+s1(12)h)=s0(δ(12s1-s0)+F0(12(s1-1)-s0))P(x0+s0h)P(x0+s2(12)2h)=s1(δ(12s2-s1)+F1(12(s2-1)-s1))P(x0+s1(12)h)P(x0+sk(12)kk)=sk(δ(12sk-sk-1)+Fk-1(12(sk-1)-sk-1))P(x0+sk-1(12)k-1h)(4)


If a ¼ pixel, that is, a second-order sub-pixel is expressed as an integer pixel as used in H.264, it can be expressed as the following equation 5:
P(x0+s2(12)2h)=s1(δ(12s1-s1)+F1(12(s2-1)-s1))·s0(δ(12s1-s0)+F0(12(s1-1)-s0))P(x0+s0h)=s1s0(δ(12s2-s1)+F1(12(s2-1)-s1))·(δ(12s1-s0)+F0(12(s1-1)-s0))P(x0+s0h)=s1s0n=01((δ(12sn+1-sn)+Fn(12(sn+1-1)-s0))P(x0+s0h)(5)


If this is expanded to a general k-th sub-pixel, it can be expressed as the following equation 6:
P(x0+sk(12)kh)=sk-1,sk-2s0n=0k-1(δ(12sn+1-sn)+Fn(12(sn+1-1)-sn))P(x0+s0h)(6)


In order to express the relation between the arbitrary k-th order sub-pixel and an integer pixel shown as equation 6 in the form of a matrix, if the filter coefficient part of the right side is unified, it can be expressed as the following equation 7:
P(x0+s1(12)h)=s0(δ(12s1-s0)+F0(12(s1-1)-s0))P(x0+s0h)=s0F_(12s1-s0<λ)P(x0+s0h)(7)


Here,
F_(12s1-s0<λ)

of equation 7 is defined as the following equation 8:
F_(12s1-s0<λ)={112s1-s0=0αf(s0-12s1)12s1-s0<λand12s1-s00012s1-s0>λ(8)


In equation 8, subscript f(x) is defined as the following equation 9:


The form of equation 7 defined in relation to a first-order sub-pixel is transformed into a determinant as the following equation 10:
P(x0+s1(12)h)=12s1-s0<λF_(12s1-s0<λ)P(x0+s0h)=F_P(x0,h)(10)


In equation 10, vector P(x0,h) is defined as the following equation 11:

P(x0, h)=( . . . , P(x0−h), P(x0), P(x0+h), . . . )Tcustom character  (11)


The notation used in equations 10 and 11 is expanded to its k-th order sub-pixel as the following equation 12:
P(x0+s1(12)h)=F_0P(x0,h)s1=s1P(x0+s2(12)2h)=F_1P(x0,(12)h)s2=s2=F_1F_0P(x0,)s2=s2P(x0+sk(12)kh)=n=0k-1F_nP(x0,h)sk=sk=FkP(x0,h)sk=sk(12)


In equation 12, it is defined that
n=0k-1F_n=Fk.

For convenience, equation 12 expressed in the form of a matrix can be transformed to a vector form. Assuming that vector fsk ∈ Fk is an sk-th column vector of matrix Fk, and a maximum subscript among elements of fsk ∈ Fk is m, equation 12 can be defined as the following equation 13:
m=maxf(s0-(12)ksk)(12)k-s0<λ(13)


Here, the integer pixel and vector in relation to an arbitrary k-th order sub-pixel can be expressed as the following equation 14:
P(x0+sk(12)kh)=f·P(x0-mh;x0+mh)(14)


In order to define a differential at an arbitrary sub-pixel by using equation 12, the subscript at the k-th order sub-pixel is expressed as the following equation 15:
P(x0+sk(12)kh)=FkP(x0,h)sk=skP(x0+s(12)kh)=FkP(x0,h)sk=sP(x0+shk)=FkP(x0,h)sk=s(15)


If the k-th order sub-pixel is expressed as equation 15, an arbitrary k-th order sub-pixel and a reference sub-pixel (this may be an integer pixel) P(x0) can be expressed in the form of a k-th order sub-pixel as the following equation 16:

P(x0+hk)=FkP(x0, h)|sk=1
P(x0)=FkP(x0, h)|sk=0   (16)


A differential of an arbitrary k-th order sub-pixel P(x0) is defined by using equation 16, as the following equation 17:
dP(x0)x=x0=limhk->0P(x0+hk)hk=limhk->0FkP(x0h)sk=1=FkP(x0h)sk=0hk(17)


If this is applied to an arbitrary k-th order sub-pixel system composed of a series of 2-tap FIR filters as shown in equation 2, the following equation 18 can be obtained:
P(x0+hk)=P(x0)+hk·1hk(P(x0+hk)-P(x0))=P(x0)+hk·1hk(12P(x0)+12P(x0+hk-1)-P(x0))=P(x0)+hk·12hk(P(x0+hk-1)-P(x0))=P(x0)+hk·1hk-1(12P(x0)+12P(x0+hk-2)-P(x0))=P(x0)+hk·12hk-1(P(x0+hk-2)-P(x0))=P(x0)+hk·1hk-2(P(x0+hk-2)-P(x0))=P(x0)+hk·1h0(P(x0+h60)-P(x0))=P(x0)+hk(P(x0+h)-P(x0))(18)


If equation 18 is substituted in equation 17, a differential is derived as the following equation 19 and the concept of the differential can be understood referring to FIG. 2:
P(x)xx=x0=limhk->0(P(x0+hk)-P(x0))=limhk->0hkhk(P(x0+h)-P(x0))=P(x0+h)-P(x0)(19)


In order to apply an example of a 2-tap filter to an encoding system composed of a series of arbitrary n-tap FIR filters, if fsk-mk-m is put as a 0-th row matrix element of Fk-m and as a column matrix element of Sk-m, the following equation 20 is assumed in order to define a differential in a sub-pixel system composed of a series of arbitrary n-tap FIR filters:

k ∈+ and s ∈, ∃κ>0, such that |P(x0+shk)−P(x0)|<κ  (20)


If a differential is derived from sub-pixel system composed of a series of arbitrary n-tap FIR filters by using equation 20, the following equation 21 is obtained:
P(x0+hk)=P(x0)+hk·1hk(P(x0+hk)-P(x0))=P(x0)+hk·1hk(sk-1fsk-1k-1·P(x0+sk-1hk-1)-P(x0))=P(x0)+hk·1hk(sk-1fsk-1k-1·P(x0+sk-1hk-1)-P(x0)nfnk-1)=P(x0)+hk·1hk(sk-1fsk-1k-1·P(x0+sk-1hk-1)-nfnk-1P(x0))=P(x0)+hk·1hk(sk-1fsk-1k-1·(P(x0+sk-1hk-1)-P(x0)))=P(x0)+hk·1hk(f1k-1·(P(x0+hk-1)-P(x0)))+sk-1·sk-1=1fsk-1k-1·(P(x0+sk-1hk-1)-P(x0))=P(x0)+hk·2f1k-1hk-1(sk-2fsk-2k-2·(P(x0+sk-2hk-2)-P(x0)))+sk-1·sk-1=1fsk-1k-1·(sk-2fsk-2k-1·(P(x0+sk-2·sk-1hk-2)-P(x0)))=P(x0)+hk·22f1k-1hk-2(sk-2fsk-2k-2·(P(x0+sk-2hk-2)-P(x0)))+sk-1·sk-1=1fsk-1k-1·(sk-2fsk-2k-2·(P(x0+sk-2·sk-1hk-2)-P(x0)))=P(x0)+hk·22f1k-1hk-2(sk-2fsk-2k-2·(P(x0+sk-2hk-2)-P(x0)))+sk-1·sk-1=1fsk-1k-1·(sk-2fsk-2k-2·(P(x0+sk-2·sk-1hk-2)-P(x0)))=P(x0)+hk·22f1k-1·f1k-2hk-2(P(x0+hk-2)-P(x0))+sk-2·sk-2=1sk-1·sk-1=1fsk-1k-1·fsk-2k-2(P(x0+sk-2·sk-1hk-2)-P(x0))=P(x0)+hk·2k-1m=1k-1f1k-mh0(P(x0+h)-P(x0))+m=1k-1sk-m·sk-m=1mfsk-mk-m·(P(x0+msk-mhk-m)-P(x0))(21)


The second term of the right side of equation 21 can be expressed as the following equation 22:
m=1k-1sk-m·sk-m=1mfsk-mk-m·(P(x0+msk-mhk-m)-P(x0))k(k-1)2λκ(maxfsk-mk-m)k-1<k(k-1)2λκ(12)k-1(22)


In equation 22, because of the assumption of equation 20 and that
k-m0or1,0<maxfsk-mk-m<12f1k-m<1k·m+.


Accordingly, in relation to k ↑ ∞, o(hε) that is o(hε)↓0 exists, and equation 21 can be expressed as the following equation 23:
P(x0+hk)=P(x0)+hk·2k-1m=1k-1f1k-mh0(p(x0+h)-P(x0))+m=1k-1sk-m,sk-m1mfsk-mk-m·(P(x0+msk-mhk-m)-P(x0))=P(x0)+hk·2k-1m=1k-1f1k-mh0(P(x0+h)-P(x0))+o(hk)(23)


According to equation 23, the differential in the sub-pixel system composed of a series of arbitrary n-tap FIR filters is as the following equation 24 and the differential concept can be shown referring to FIG. 3:
P(x)xx=x0=limhk0P(x0+hk)-P(x0)hk=limhk01hk(hk·2k-1m=1k-1f1k-mh0(P(x0+h)-P(x0))+o(hk))=2k-1m=1k-1f1k-mh0(P(x0+h)-P(x0))


As the differential is derived from the sub-pixel system composed of a series of arbitrary n-tap FIR filters, if an objective function for estimating a sub-pixel is convex on a sub-pixel system and continuously second-order differentiable, and at the same time, the Hessian of the objective function is formed as a first order combination of a sub-pixel and is Lipschitz continuous, estimation can be performed by a conjugated quadratic algorithm.


First, it is assumed that objective function ƒ(x) ∈ C2 for motion estimation is composed of a square of pixel differences between q blocks as the following equation 25:
f(x)=12g2(x,t)=12Nx=x0x0+N(P(x;t)-P(x;t-1))2(25)


Here, objective function ƒ(x) ∈ C2 is a convex function satisfying the following equation 26:

y=x0+hεcustom character and s ∈[0,1], ƒ(x0+s(y−x0))=ƒ(x0+shε)≦ƒ(x0)+s(ƒ(x0+hε)−ƒ(x0))   (26)


In order to prove equation 26, an objective function value at an arbitrary sub-pixel position x0+shε, is derived as the following equation 27:
f(x0+shɛ)=12g2(x0+shɛ,t)=12Nx=x0x0+N(P(x0+shɛ;t)-P(x0+shɛ;t-1))2=12Nx=x0x0+N(P(x0;t)+shɛP(x;t)xx=x0-P(x0;t-1)0shɛP(x;t-1)xx=x0)2=12Nx=x0x0+N(P(x0;t)-P(x0;t-1)+shɛP(x;t)xx=x0-P(x;t-1)xx=x0)=12Nx=x0x0+N((P(x0;t)-P(x0;t-1))2+2shɛ(P(x0;t)-P(x0;t-1))P(x;t)xx=x0-P(x;t-1)xx=x0)+12Nx=x0x0+N((shɛ)2(P(x;t)xx=x0-P(x;t-1)xx=x0)2)=12g2(x0,t)+shɛ·g(x0,t)g(x)xx=x0+12(shɛ)2·(g(x)xx=x0)2=12(g2(x0,t)+shɛ·g(x0,t)g(x)xx=x0)2(27)


Here, since ƒ(x0+hε)=ƒ(x0+shε)|s−1, ƒ(x0+hε)−ƒ(x0) is as the following equation 28:
f(x0+hɛ)-f(x0)=12g2(x0)+hɛ·g(x0)·g(x;t)xx=x0+12(hɛ)2(g(x;t)xx=x0)-12g2(x0)=hɛ·g(x0)·g(x;t)xx=x0+12(hɛ)2(g(x;t)xx=x0)2(28)


Through the results of equations 27 and 28, the following equation 29 is derived from the relation of equation 26:


Since the second term of the right side of equation 28 is a positive number according to the assumption of equation 26 and by raising the term to a higher power, and the first term is as equation 27, a conclusion of the following equation 30 is derived and the objective function is convex:

ƒ(x0+shε)≦ƒ(x0)+s·(ƒ(x0+hε)−ƒ(x0))   (30)


Also, if an objective function is continuously second-order differentiable, the Hessian of the objective function is a positive definite, and is expressed as a square of a first order combination of an integer pixel as the following equation 31:


In providing equation 31, first, since the objective function is continuously second-order differentiable, the objective function satisfies the following equation 32 with respect to x ∈[x0,x0+hε]:
f(x0+hɛ)-f(x0)=f(x)xx=x0·hɛ+01(1-s)·(hɛ)2·2f(x)x2s=f(x)xx=x0·hɛ+(hɛ)201(1-s)·2f(x)x2s(32)


Objective function ƒ(x) ∈ C2 also satisfies the following equation 33 according to equation 28 derived from the convex condition and the definition of a continuous differential:
f(x0+hɛ)-f(x0)=hɛ·g(x0)·g(x;t)xx=x0+12(hɛ)2(g(x;t)xx=x0)2f(x)xx=x0=x(12g2(x0))x=x0=g(x0)·(g(x;t)x)x=x0(33)


Accordingly, from equation 32, the following equation 34 can be derived:
f(x0+hɛ)-f(x0)-f(x)xx=x0·hɛ=hɛ·g(x0)·g(x;t)xx=x0+12(hɛ)2(g(x;t)xx=x0)2-hɛg(x0)·g(x;t)xx=x0=12(hɛ)2(g(x;t)xx=x0)2(34)


In the right side of equation 34, partial differential
g(x,t)xx=x0

is expressed as the following equation 35:
g(x;t)xx=x0=x12Nx=x0x0+N(P(x;t)-P(x;t-1))=12Nx=x0x0+N(P(x;t)x-P(x;t-1)x)=12Ns=1N(2k-1m=1k-1f1k-mh0((P(x0+nh:t)-P(x0+(n-1)h:t))-(P(x0+nh:t-1)-P(x0+(n-1)h:t-1))))=12Ng=1N(2k-1m=1k-1f1k-mh0((P(x0+nh:t)-P(x0+nh:t-1))-(P(x0+n-1)h:t-P(x0+(n-1)h:t-1))))=12Nx=x0x0+N(2k-1m=1k-1f1k-mh0((P(x+h:t)-P(x0+h:t-1))-(P(x:t)-P(x:t-1))))=2k-1m=1k-1f1k-mh0(g(x+h)-g(x))x=x0(35)


In equation 35, partial differential
g(x,t)xx=x0

is a first order combination of g(x), and also, g(x) is a first order combination of an integer pixel by definition. Accordingly,
12(hɛ)2(g(x;t)xx=x0)2

with respect to n ∈custom character[1, N], and a fixed value by a first order combination of an integer pixel. Accordingly, the conclusion of the following equation 36 is obtained and equation 31 is proved:
(hɛ)201(1-s)·2f(x)x2s=12(hɛ)2·2f(x)x2=12(hɛ)2(g(x;t)xx=x0)2(36)


By using equation 30 to express Lipschitz continuity, it can be proved simply as the following expression 37:
f(x0+shɛ)f(x0)+s·(f(x0+hɛ)-f(x0))f(x0+shɛ)-f(x0)s·(f(x0+hɛ)-f(x0))f(x0+shɛ)-f(x0)s·(f(x0+hɛ)-f(x0))f(x0+shɛ)-f(x0)s·(f(x0+hɛ)-f(x0))(37)


According to equations 30, 31, and 37, the value of the objective function with respect to an arbitrary k-th order sub-pixel can be obtained simply by expansion of a Taylor series. Accordingly, from equation 28, the following equation 38 can be obtained such that a discrete image in an n-tap FIR sub-pixel system can be generated as a continuous image:
f(x0+hɛ)=f(x0)+hɛ·g(x0)·g(x;t)xx=x0+12(hɛ)2(g(x;t)xx=x0)2(38)


For estimating a sub-pixel, if a sub-pixel objective function is put as the following equation 39 with respect to ∀x ∈ custom character2[x−h, x+h] under conditions of equations 30, 31, and 37, the sub-pixel can be estimated with only an integer objective function value:
f(x)=12xTQx+bTx+c(39)

Here,
Q=[q00q10q01q11].


The objective function of equation 39 is an objective function satisfying all equations 30, 31, and 37.


Accordingly, since according to the convex condition, objective function ƒ(x) ∈ C2 satisfies a first-order necessary condition with respect to a minimum value, the following equation 40 is satisfied:

∇ƒ(x)=Qx*+b=0 x*=−Q−1b   (40)


According to equation 40 and the definition of matrix Q, the position of a sub-pixel minimizing an objective function is obtained as the following equation 41:
x*=-Q-1b=1q00q11-q10q01[-q11q10q01-q00][b0b1]=1q00q11-q10q01[q10b1-q11b0q01b0-q00b1](41)


If matrix elements of matrix Q are put as q10=q01=0, it can be regarded that only a diagonal component of the objective function is left. The eigen value and common vector of the diagonal value are (0,1) and (1,0), and it can be regarded as estimated by a conjugated quadratic function having x and y axes as principal components.


Here, in matrix Q, only estimation of the diagonal component is needed, and each component is expressed as a first-order combination of an objective function with respect to an integer pixel as the following equation 42:
q00=f(x0+h,y0)+f(x0-h,y0)q11=f(x0,y0+h)+f(x0,y0-h)b0=12(f(x0+h,y0)-f(x0-h,y0))b1=12(f(x0,y0+h)-f(x0,y0-h))c=f(x0,y0)(42)


Equations 39, 40, 41, and 43 are determined and if a center integer pixel is not a minimum value after finishing the first search of an integer pixel, the objective function is approximated to equation 42 and an integer pixel minimizing a next objective function according to equations 40 and 41 is predicted. Then, the integer pixel search can be performed more quickly as shown in FIG. 3.


The present invention can also be embodied as computer readable codes on a computer readable recording medium. The computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (such as data transmission through the Internet). The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.


While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims. The preferred embodiments should be considered in descriptive sense only and not for purposes of limitation. Therefore, the scope of the invention is defined not by the detailed description of the invention but by the appended claims, and all differences within the scope will be construed as being included in the present invention.


According to the present invention, since an additional sub-pixel image for estimation of a sub-pixel is not needed in encoding of moving pictures, the amount of computation is greatly reduced and as a result, the computation time can also be reduced. Furthermore, a discrete image can be generated as a continuous image and at the same time, search of an integer pixel can also be performed more quickly.

Claims
  • 1. A motion estimation method for encoding moving pictures, the method comprising: generating an objective function for a differential definition of a sub-pixel system composed of a chain of arbitrary n-tap filters with respect to an arbitrary k-th order sub-pixel, based on the relation between an integer pixel and a sub-pixel generated through linear FIR filtering; and estimating a motion vector of a sub-pixel by applying a conjugated quadratic algorithm to the objective function.
  • 2. The method of claim 1, wherein the objective function is convex and continuously second-order differentiable and Lipschitz continuous.
  • 3. The method of claim 1, wherein in the generating of the objective function, a differential in an arbitrary k-th order sub-pixel system is defined as the following equation:
  • 4. The method of claim 1, wherein in the generating of the objective function, an objective function for generating a sub-pixel at an arbitrary position from a predetermined integer pixel is defined as the following equation:
  • 5. The method of claim 1, wherein the estimating of the motion vector comprises estimating a sub-pixel motion vector by using a quadratic function obtained by expanding a Taylor series in relation to an objective function for generating a sub-pixel at an arbitrary position from a predetermined integer pixel.
  • 6. The method of claim 1, wherein in the estimating of the motion vector, the quadratic function is generated based on the following equation obtained by expanding a Taylor series in relation to the objective function:
  • 7. The method of claim 1, wherein in the estimating of the motion vector, motion estimation of a sub-pixel is performed based on the following quadratic function obtained by expanding a Taylor series in relation to an objective function with respect to the arbitrary k-th order sub-pixel:
  • 8. A method of generating a discrete image as a continuous image, the method comprising: generating an objective function for a differential definition of a sub-pixel system composed of a chain of arbitrary n-tap filters with respect to an arbitrary k-th order sub-pixel, based on the relation between an integer pixel and a sub-pixel generated through linear FIR filtering; and generating a discrete image of the n-tap FIR filter sub-pixel system as a continuous image, by expanding a Taylor series in relation to the value of the objective function with respect to the arbitrary k-th order sub-pixel.
Priority Claims (2)
Number Date Country Kind
10-2005-0076456 Aug 2005 KR national
10-2005-0124050 Dec 2005 KR national