METHOD OF ESTIMATION OF MOTION BETWEEN IMAGES

Abstract: The invention relates to a method and device for estimating motion between images forming a sequence of segmented images or partitions composed of I regions Ri identified by labels. The method comprises a step of initializing motion parameters of each region Ri, an intermediate processing step of the images on which the estimation of the motion is performed, and an iterative refining step for the definitive determination of said motion parameters in the form of a vector (Dx, Dy) for all the pixels of each of the regions Ri. This refining step, including a minimizing operation of the prediction errors over each object by means of the minimization of an associated function, allows to select the most representative points and reject the others as outliers. Application: very low bitrate coding, multimedia applications.

Description: Method of estimation of motion between images. The invention relates to a method of estimating motion between images forming a sequence P(t-n), P(t-n + l), ... , P(t-2), P(t-l), P(t), ... , and available in the form of a sequence S(t-n), S(t-n+ l) S(t-2), S(t-l), S(t),... , of segmented images or partitions composed of I regions R; identified by labels, said method comprising, for supplying for each region R ; an information M;(t) representative of the motion of the current image P(t) with respect to the previous image P(t- 1), the following three operations, performed for each region of said current image : (1) a first step of initializing motion parameters of each region R; of P(t) as a function of the images P(t-l), P(t) before segmentation and S(t-l), S(t) after segmentation, and of the motion information M j (t-l) estimated for the previous image P(t-l) in a previous performance of the method ; (2) a second step for an intermediate processing of the images on which the estimation of the motion is performed, and a third refining step for the definitive determination of said motion parameters in the form of a vector (Dx, Dy) for all the pixels of each of the regions R j , in such a way that, for each coordinate point (x,y) of the region, L(x,y,t) = L(x-Dx, y-Dy, t-1), L(.) designating the luminance or a more complex video signal and Dx, Dy being polynomials the degree of which is related to the type of motion of the region ; (3) the iterative repetition of said second and third steps of intermediate processing and refinement, until the end of this iterative process as a function of at least a given criterion so as to finally obtain the motion information M j (t) . The invention also relates to a device for implementing said method. The invention is particularly suitable for encoding video signals in the field of very low bitrates and in the field of low bitrates up to approximately 1 Mbit/second. This range of bitrates notably corresponds to consumer applications, often termed as multimedia applications. The european patent application EP 0771115 (PHF96534) describes a method and device the main characteristics of which will be hereunder recalled. Before doing that, the notations used throughout the description are first indicated. The images here considered form part of an original sequence of textured images, denoted P(t-n), P(t-n+ l), ... , P(t-2), P(t-l), P(t), etc. In the description which follows, the focus is principally on P(t), tht current image, and on P(t-l) which is the previous original image (or the previous encoded image, in accordance with the characteristics of the encoding process performed after the motion estimation). From a practical point of view, these two textured images P(t-l) and P(t), between which the motion estimation is carried out at the time t, are the images of the luminance signal in this case, but may also correspond either to a combination of luminance and chrominance signals, in case the color contains much specific information, or to any other transform of original images restituting the information of the signal. The value of the luminance at an arbitrary point (x,y) in one of the images P(t-2), P(t-l), P(t), etc. is denoted L(x,y,t-2), L(x,y,t-1), L(x,y,t), etc. Concerning the operation of segmenting the images, a sequence of images of labels (these images are also referred to as partitions) corresponds to the sequence of original images, while the segmented images are referred to as S(t-2), S(t-l), S(t), etc... and correspond to the original textured images P(t-2), P(t-l), P(t), etc ., and finally form a sequence of a certain type of images resulting from a pre-analysis which is required to carry out the motion estimation method. Fig. 1 illustrates an example of segmenting an image into seven regions R with i = 0 to 6. The information relating to the motion of the current image P(t) with respect to the previous image P(t-l) is arranged under the reference M j (t) for the region R j of the image P(t). This reference M j (t) includes the data constituted by the type of motion retained (i.e. the order or degree of the polynomial representing this motion) and the values of the corresponding parameters (i.e. the values of the coefficients of the polynomials). For example, as illustrated in Fig. 2, a displacement vector (Dx,Dy) from P(t-l) to P(t), with Dx and Dy being polynomials whose coefficients are the motion parameters, corresponds to a type of motion determined between the images P(t-l) and P(t) at a point (x,y) of a region R; of P(t). This can be written as L(x,y,t) = L(x-Dx,y-Dy,t-1). The degree of these polynomials (0, 1 or 2) and the number of coefficients defining them (from 2 to 12 parameters) depend on the type of motion considered: (a) two parameters are sufficient for defining the translation of a plane facet parallel to the image in a plane parallel to the image: Dx = a 1 Dy = a 2 (b) for a motion of the zoom and/or panning type, four parameters are necessary for modelling the motion of translation of a plane facet parallel to the plane of the image if the facet has an arbitrary orientation, or has an arbitrary translation motion of this facet if it is parallel to the plane of the image: Dx = a 1 +a 2 x+a 3 y Dy = a 4 -a 3 x+a 2 y (c) for a related transform, six parameters are necessary for modelling a translation motion as indicated under (b) above or a rotational motion of a plane facet around an axis perpendicular to the plane of the image: Dx = a 1 -t-a 2 X+a 3 y Dy = a 4 +a 5 x+a 6 y (d) for a quadratic motion, twelve parameters are necessary for modelling arbitrary rotations and translations of the curved facets: Dx = a 1 -r-a2X+a 3 y+a 4 x 2 +a 5 xy+a 6 y 2 Dy = a 7 -r-a 8 x+a 9 y-r-a 1 oX"+a 11 xy+a 12 y~ These polynomial models have been adopted because it is possible to show that they represent the motion of objects in a satisfactory manner. However, they cannot be interpreted as a strict description of the real three-dimensional motion of these objects. For this purpose, it is necessary to have the certainty that the objects are rigid and that their form is also known, which is not the case. The models in question are thus simply a representation of the deformation of the projection of the objects in the image plane (for example, in the case of two parameters, the model effectively describes a translation in the image plane, supposing that the object concerned is rigid and has a plane surface which is parallel to the image plane). A detailed representation of these motion models is given, for example in the article "Differential methods for the identification of 2D and 3D motion models in image sequences" , J.L. Dugelay and H. Sanson, Signal Processing: Image Communication, Vol. 7, No. 1, March 1995, pp. 105-127. The coordinates of a point in an image are denoted throughout the description in capitals (X,Y) or not (x,y), dependent on whether they are expressed with respect to a global reference related only to the image or with respect to a local reference related to a given region of the image. It is here useful also to recall that, in this case, the objective of motion estimation is to provide the possibility of subsequently restoring a predicted image R(t) constituting an approximation of P(t), based on the segmented image S(t), on the previously restored image R(t-l) corresponding to P(t-l), and on information M j (t) obtained during the motion estimation. Such a determination of R(t) provides, inter alia, the subsequent possibility of encoding the prediction error only, i.e. the difference between P(t) and R(t). The method presented in the document previously cited can now be described in detail with reference to Fig. 3. It comprises successively a first step 10 of initializing the motion parameters (INIT), a second pre-processing step 20 (PPRO), and a third step 30 of refining the motion parameters (REFT), each one being performed for each region of the current image. The first step 10 of initializing the motion parameters has for its object to start the motion estimation process with motion parameter values for each region R j of the image P(t) considered, which values are as close as possible to the final real values of these parameters so as to be able to suppose, throughout the processing operations envisaged, that the motion parameters have small variations. Moreover, the required execution time for obtaining a given estimation quality is, on average, shorter if one starts the estimation process with parameter values which are closer to the searched real values, which additional execution time of said first initialization step is negligible with respect to that of the estimation itself. It should be prevented that in the course of these processing operations, which, as will be seen, are implemented in an iterative manner, the convergence can be produced at a local minimum, which would have more chances of being produced if the initial values were too remote from said searched real values. In three sub-steps referenced (A), (B) and (C) and performed for each region R j of the image P(t) , the first step thus consists of: (A) exploiting at best the information which is initially available at the input, and possibly gathering new information for deducing probable motion hypotheses; (B) for each of said motion hypotheses (expressed hereinafter) and based on known data for the image P(t-l), predicting the region concerned in P(t) and computing the corresponding prediction error; (C) selecting, as initial values of the motion parameters, those values which generate the smallest prediction error (which simultaneously validates one specific motion hypothesis) . The first sub-step (A) of the step 10 of initialization INIT consists of exploiting the initial data, which are: (a) the original images P(t-l) and P(t); (b) the images of the labels S(t-l) and S(t); (c) the data M j (t-l), i.e. the motion information (type of motion and values of corresponding parameters), including the case where the motion is zero, permitting, during the previous cycle (i.e. based on the image P(t-2)) to know the motions which lead to the image P(t-l); (d) the data resulting from performing the BMA technique (described above) between the images P(t-l) and P(t), namely a displacement vector defined for each pixel of P(t), and in general at about one pixel (or possibly at about half a pixel). For each region R j of P(t), four motion hypotheses with respect to the previous image have successively been taken into consideration in this case, taking their complementarity and simplicity of formulation into account in view of the available information: (1) the motion of the region R; is zero; (2) the label i considered already existed in S(t-l) and the motion of the region is only a translation parallel to the image plane: it is then sufficient to compute the coordinates of the center of gravity of the label i in S(t-l) and S(t) and then the difference between these coordinates, which yields the displacement vector; (3) the label i considered was already existing in S(t-l): j designating each label near i in S(t-l) and the data M j (t-l) and M:(t-1) being expressed in the local reference associated with i, all the labels j neighboring i in S(t-l) are searched and then the corresponding data M:(t) are read (type of motion and values of corresponding parameters converted in this local reference) , and the best motion between the label i and its neighboring labels is chosen; (4) the considered motion is that which corresponds to the best approximation of the field of displacement vectors resulting from an adaptation of the BMA technique per region (only the displacements computed for blocks of more than half the number included in the region i considered being taken into account), said adaptation consisting of a sequence of translational motion estimations of blocks having a variable size and of relaxations so as to subsequently determine an approximation of the field of vectors by means of a more complex model and with the aid of a regression technique (this method of adapting the polynomial from a set of values is similar to the polynomial approximation method described, for example for encoding textured images, in the article "Coding of arbitrarily shaped image segments based on a generalized orthogonal transform", by M. Gilge, T. Engelhardt and R. Mehlan, "Signal Processing: Image Communication", Vol. 1, No. 2, October 1989, pp. 153-180, which example is not limitative). The second sub-step (B) of the step 10 for initialization INIT consists of predicting, on the basis of P(t-l), the corresponding region in P(t), taking into account each motion hypothesis effected during the sub-step (A) , and of subsequently computing each time the prediction error for the region. The following prediction principle is used: with P(t-l), S(t) and M j (t) being known, the predicted luminance value in the image P(t) is determined at a position (X,Y) of a pixel. The detailed description of the prediction will be given hereinafter in the part dealing with the refinement, for the definitive estimation of the motion parameters. Finally, the third sub-step (C) of the step 10 for initialization INIT consists of comparing the computed prediction errors in a region and of preserving, as initial motion of the region, that one to which the smallest prediction error corresponds. The process is repeated for each region and the first initialization step 10 is ended when the motion parameters have thus been adjusted for all the regions of P(t) . The set of initial parameters thus determined for a region R j is designated by the reference M^t) in Fig. 3. The second intermediate processing step 20 has for its object to facilitate the estimation of definitive motion parameters obtained at the end of the third and last step. Without this being the only possibility, an essential processing operation for obtaining this objective is to modify the luminance signal so as to bring it closer to the theoretical ideal ( a first-order function) i.e. so as to verify the mathematical hypothesis required by the theory in order to obtain a convergence of the estimation process. This processing operation consists of a filtering of P(t-l) and of P(t), for example by using an isotropic Gaussian filter in the four directions of the plane (S(t-l), S(f), M j (t) are not modified). This choice of filter ensures a very good compromise between a smoothing of the contours, which is useful for simplifying the luminance signal in the image and facilitating the convergence by avoiding the local minima as much as possible, and the maintenance of a sufficient localization of these contours in the image (it is desirable to preserve enough details of the image in order that the precision of the estimated motion is sufficient) . The iltered images are designated by the references P'(t-l) and P'(t) in Fig. 3. The set of motion parameters available after this preprocessing operation realized during step 20 is designated in Fig. 3 by the reference The third step 30 of refining the motion parameters, which step is iterative, has for its object to effect the definitive estimation of the motion parameters for the region concerned. The iterative process performed during this step ends at a given criterion, for example when a number of iterations fixed in advance is reached (other criteria may also be proposed, such as a stop of iterations when a sufficient quality during motion compensation permitting the previous motion estimation is reached or when the improvement for the new iteration becomes negligible, or even a combination of several criteria). It should be here recalled that, for each region of P(t), a vector (Dx,Dy) is searched so that, for each point in the region, L(x,y,t) = L(x-Dx,y-Dy,t-1), in which Dx and Dy are polynomials of a degree related to the type of motion for the region considered. The equality between these two terms L(.) can only be realized in a more or less approximative manner in accordance with the degree of quality of the motion estimation. In order that this approximation is as satisfactory as possible, the criterion used is the one for determining the smallest quadratic error : the sum of the square values of the prediction errors in the pixels of the region is minimized, i.e. the following expression : Σ(L(x,y,t)-L(x-Dx,y-Dy,t-l)) 2 (1) for x and y taking all the values corresponding to the coordinates of the pixels in the region R j considered. This expression (1) is denoted in an abbreviated form in the following manner (DFD = Displaced Frame Difference) : Σ χ y (DFD(x,y,Dx,Dy)) 2 (2) It is known that such a mathematical minimizing operation (of expression (2)) may be notably effected by means of the Gauss-Newton method for which Dx = (Dx 0 +dx) and Dy = (Dy 0 +dy), with dx and dy being very small with respect to Dx 0 and Dy 0 respectively. By first-order development, we obtain : L(x-Dx,y-Dy,t-1) = L(x-Dx 0 ,y-Dy 0 ,M) -dx ( L (x-Dx 0 ,y-Dy 0 ,t-l) dx -dy ( L (x-Dy 0 ,y-Dy 0 ,t-l) (3) y The expression (1) to be minimized thus will be : Σ x y [DFD(x,y,Dx 0 ,Dy 0 ) -dx ( L (x-Dx 0 ,y-Dy 0 ,t-1) σx -dy ( _ L (x-Dx 0 ,y-Dy 0 ,t-l)] 2 (4) dy In this expression (4), the derivatives with respect to each of the coefficients of dx and dy are made equal to 0 eliminated in order to characterize the minimum of this expression with respect to the motion parameters, which leads to a set of n equations with n unknown quantities. The solutions of this set of equations are the variations of the motion parameters leading to the smallest quadratic error. To resolve this, it is expressed in a matrix form : [A].[x] = [B] (5) The vector x represents the searched parameters and the terms of the matrices depend on the coordinates of the pixels of the current image, on the gradients which are horizontal and vertical to the previous positions of the pixels (in the previous image) and on the luminance values at these positions in the current and the previous image. For each region R j of S(t) and at each iteration, the matrices A and B must be constructed, the matrix A must be inverted and the inverse matrix thus obtained must be multiplied by the matrix B to obtain the vector solution x: the motion information (for the region R j ) may then be updated by adding components of this vector solution x to the previous expression of this motion information. For constructing the matrix A, the luminance values must be computed at the points in the previous image corresponding to previous positions of the points in the current image, of which the motion and the positions in this current image are known - it is the prediction operation described below - and the values of the horizontal gradient and the vertical gradient at similar points must be computed. The computations must be performed on values of parameters expressed in their local reference (i.e. related to the region). For each region, two sets of parameters are stored, on the one hand, the parameters during estimation, while converging, which is denoted M j CV (t) , and, on the other hand, the f parameters giving the best results for the region, which is denoted M j (t) . At the start of the refinement step 30, these two motions are equal to the initial motion (M 12 (t) in Fig. 3) CV originating from the initialization of the processed parameters. Subsequently, M j (t) is refined in an iterative manner and substituted at the end of each iteration for M j (t) , which corresponds to the motion giving the best results among the following motions for the region CV under study: either the parameters M j (t) correctly computed for the current region, or the cv . parameters M j (t) of the regions j neighboring i in S(t), which motions are reconverted in the local reference corresponding to the region i. Finally, this retained motion may give rise to a propagation towards the neighboring regions: for these neighboring regions, the search for the smallest prediction error on the basis of this motion is resumed, which is selected if it effectively leads to a smaller prediction error, and so forth. At the output of each iteration of the refinement step, the motion information determined for each region i of S(t) is sent towards the input of step 20 (parameters designated by M 32 (t) in Fig. 3). The prediction operation which is necessary for the construction of the matrix A is now described. Given a pixel of coordinates (X,Y), the prediction enables the determination of the predicted luminance value at this position at the instant t, denoted L(X,Y,t), based on S(t), P(t-l) and M(t). This operation, which is performed at each point of the image, consists of two steps : (a) computation of the non- integral coordinates of this pixel at the instant (t-1) : - search of the label i of the region which the pixel belongs to by reading the image of the labels S(t) at the position (X,Y) ; - for this pixel, selection of its motion information (type of motion and value of the parameters) by reading M;(t) for this label ; - computation of the displacement (Dx,Dy) of the pixel as a function of its coordinates, of the type of motion and the value of the parameters of its region (for example, in the case of a related motion, for which there are 6 parameters, one has: (Dx,Dy) = (a 1 +a 2 .X-r-a 3 .Y,a 4 -r-a 5 .X+a 6 .Y) if the motion parameters are expressed with respect to the global reference, or (dx,dy) = (a 1 +a 2 .x+a 3 .y,a 4 -l-a 5 .x+a 6 .y) if the motion parameters are expressed with respect to a local reference at their region), said displacement thus providing the possibility for this pixel of deducing its coordinates at (t-1) : (X-Dx,Y~Dy) (if these coordinates are outside the image, one takes the coordinates of the closest point associated with the image, but the coordinates found are not necessarily integral values because the parameters are not, and thus an interpolation must be carried out for deducing the luminance at this point) ; (b) computation of the luminance and its coordinates in P(t-l) : the luminance is interpolated in the present case by using a bicubic monodimensional filter having a length 5 with a precision of 1/16th of a pixel (the interpolation is effected horizontally and vertically with the same filter, by means of an operation referred to as mirroring at the edges of the image in the case of pixels at the edge of the image so as to obtain two luminance values, the mean value of which is preserved) . For the computations of the gradient, it is necessary to interpolate their values, similarly as for the luminance. To ensure the coherence of this operation with the interpolation used during prediction, the filter used is derived from that used for the luminance, of length 5, with a precision at l/32nd of a pixel. The inteφolation technique is the same as for the luminance, except that the values resulting from the horizontal and vertical filtering operations are used independently and are thus not averaged (the same mirroring operation as for the luminance may be performed). In theory, the matrix A must be constructed with the aid of a sum of terms at all the points of the region. Certain points may be error factors (association with a small object or parasitic motion, with an uncovered zone ...). A simple restriction of selecting the points is to preserve only the points (x,y) whose motion actually estimated is such that S(x,y,t) = S(x-Dx,y-Dy,t-1). This restriction is the more efficient as the segmentation is more coherent with the contents of the image. Once the matrix A is constructed, it is tested whether it is singular or not. If it is not, an inversion by means of the method referred to as the Householder method is CV performed. If it is, the motion is not refined : the motion parameters (the information M ; ) remain unchanged at the start of this iteration and one proceeds directly to the selection of CV the better motion. The region is predicted by using both the information M j (t) which has been supplied in the refinement step and the information M:(t) corresponding to every region j neighboring i in S(f) and expressed in the local reference at i. The prediction error in the region is computed each time. If all the errors are higher than those corresponding to f the previous information M j (t) , this better motion remains unchanged. If not, the motion generating the smallest prediction error is definitively retained, and the corresponding, new information is denoted M j (t) . As has been seen above, a controlled propagation of the retained motion is possible. For each region R. adjacent to R j , the prediction error in this f f f region is computed on the basis of parameters M; (t) , and M: (t) is substituted by M j (t) if this error is smaller than the prediction error obtained from M:(t). With such an estimation scheme, the initialization step allows to use all the available information in order to start the estimation not too far from the motion to find, while the preprocessing step simplifies the luminance signal (in order to make the convergence avoid local minima : an image pyramid is built by successive filtering operations, the first estimation occurring between a pari of strongly filtered images) and the refinement one works on the more detailed images. An object of the invention is to propose an estimating method in which a more robust way is used for the estimation of the polynomial motion parameters of video objects of given sequences. To this end, the invention relates to an estimating method as described in the preamble of the description and that is moreover characterized in that said third refining step includes a minimizing operation of the prediction errors over each object whose motion is estimated, by means of the minimization of an associated function p(x), called objective function, according to the formula min ∑ p p(r p ) where r p is for each pixel p of each object the prediction error, a prediction error being defined as the difference between original and predicted values, and the motion estimation being based on the assumption that the luminance changes in time are only due to said motion, without consideration of local illumination changes. Another object of the invention is also to propose a device for implementing said estimating method. To this end, the invention relates to a device for estimating motion between images forming a sequence P(t-n), P(t-n+ l),... , P(t-2), P(t-l), P(t),... , and available in the form of a sequence S(t-n), S(t-n+ l),... , S(t-2), S(t-l), S(t), ..., of segmented images or partitions composed of I regions R j identified by labels, said device successively comprising, for supplying, per region R j and in the form of a motion vector defined by motion parameters, information M;(t) which is representative of the motion of the current image P(t) with respect to a previous image P(t-l), the following three stages, namely a first stage for initializing the motion parameters of each region of the current image by selecting motion hypotheses and by choosing, for each region, that motion for which the sum of the square values of the prediction errors in the pixels of the image of the region is minimal, a second stage for intermediate processing, and a third stage for refining the motion parameters by an approximated determination of the vector (Dx,Dy) associated with each region, said second and third stages being provided in a loop in accordance with an iterative process until the end of this process as a function of a given criterion, and said refining stage comprising means for minimizing the prediction errors over each object whose motion is estimated, by means of the minimization of an associated function p(x), called objective function, according to the formula min ∑ p p(r p ) where r p is for each pixel p of each object the prediction error. These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter : - Fig. l shows an example of a segmented image, the segmentation resulting from a pre-analysis of the original image (it will be noted that the principle of segmentation itself, in whichever form, does not form part of the invention) ; - Fig.2 diagrammatically shows a motion between two successive images P(t-l) and P(t) ; - Fig.3 illustrates the steps of the estimation process described in the document EP 0771115 previously cited ; - Fig.4 illustrates the iterative parameters estimation according to the so-called IRLS method ; - Fig.5 illustrates the steps of the estimation process according to the present invention ; - Fig.6 shows an example of objective function p(x) as used in the case of the invention, and Fig.7 shows the influence function associated to said objective function ; - Fig.8 shows an example of a motion estimation device provided for performing the method according to the invention. According to the invention, it is therefore proposed, for a better estimation of the motion parameters, to introduce the so-called M-estimators in the differential estimation process. In fact, the problematic of motion parameters estimation may be written as a minimization of a function of a prediction error, said function p being called objective function and said minimization being written according to the following relation : min ∑ p(r(p)) (6) p where r(p) is the prediction error at the pixel p of the object. An M-estimation then resolves the problematic of the minimization of said sum of the prediction error by using an objective function p(x) that is symmetric, positive-definite, and has a unique minimum at x = 0. In order to be denoted as robust estimator, the function p(x) should be chosen so that the influence that the points of large prediction error (usually called outliers) have on the convergence process is reduced. The type of selection operated by p(x) on pixels of given prediction error values is characterized by the influence function of p(x). In the continuous case, the influence function, (x), is the derivative of p(x). In order to reduce the influence of points of large prediction error in the above-given minimization relation, Ψ(x) should tend towards zero when x tends to the infinite. Numerous robust M-estimators have been used in literature, in various scopes, for their ability to reduce the influence of outliers. In the most simple cases, p(x) is not differentiable : the outlier/inlier decision is binary, based on the comparison of the error to a given threshold. A finer analysis can be obtained with more elaborated M-estimators, and by using scale factors which allow to control the sharpness of the functions, i.e. the tolerance of the M-estimators to outliers, without changing their statistical properties. In all the cases, the minimization problem corresponding to said minimization relation has no direct solution. The so-called Iteratively Reweighted Least Square method (IRLS) however enables the resolution of M-estimation, by converting it into an equivalent weighted least square problem. Indeed, by differentiating the minimization relation with respect to the motion parameters and after a few more manipulations, the problem can be shown to be equivalent to : nun T p 1/2 wp r 2 p (7) where w is the weight of the pixel p, and wp = 1/φ dp(φ)/dφ (8) Then, a classical minimization method can be applied (gradient method, Newton method, Gauss-Newton method, and so on, the last one being in fact very often used for the good trade-off it allows to obtain between performance and complexity). The IRLS method thus applied proved to converge quickly. The iterative parameters estimation using it is summarized in Fig.4, where Ai and Ai+ 1 denote the motion parameters estimate at the ith and (i + l)th iterations, and δA the calculated refinement of this estimate. However M-estimators are known to be very sensitive to the convergence process initialization. There is no way to a priori decide whether or not a pixel is an outlier at the beginning of the process. In some estimation environments, enough a priori information may exist to ensure a very reliabk initialization of motions and outliers. To face the other cases, a solution that proved satisfactory is then to use a scale factor, so that the estimation starts with a high tolerance to outliers and progressively strengthens the selection as the motion estimate becomes more precise. The monitoring of the scale factor is of critical importance for the quality of the result : its value has to be large at the beginning of the estimation, and should be regularly decreased until an ending value. The global estimation framework, when M-estimators and thus IRLS are used, is described in Fig.5. For motion estimation puφose, it is not optimal to rely only on the prediction error to perform the outlier/inlier selection. In fact, some points of large prediction errors would certainly prejudice the convergence, because they belong to a subregion undergoing a minority motion for instance. But some others contain very useful information for the convergence. For motion estimation, the most interesting information in images are located in high gradient areas (flat areas can only give an imprecise idea of the motion), where small errors on motion parameters induce large prediction errors. If the outlier/inlier selection relies only on the prediction error, interesting points are rejected as outliers, and cannot contribute any longer to the convergence process. As M-estimators perfectly handle the case of object only with a uniform gradient share-out, a mechanism has been set up in order to adapt the outliers selection to the motion estimation problematic. Real outliers, due to the limitations of the motion model and disturbing the convergence process, will be discriminated from pixels inducing large prediction errors but carrying useful information. Since each pixel influence is determined by its weight w(p,p,σ) (σ being the scale factor), the weighting function is modified in order to take into account the gradient information. It is proposed to redefine the weighting function as w', a linear combination of the normalized initial weighting function w n (p,p,σ) and the normalized image gradient g n (p). In the case of the Lorentzian M-estimator such as presented in Fig.6 (with its associated influence function Ψ(x,p) in Fig.7), this would for instance lead to : w'(p,p,σ) = w n (ρ,p,σ) + α(l-w n (p,p,σ)).g n (p) (9) with : n (p,p,σ) = ° (10) 2σ 2 +r 2 (p) and where controls the respective importance given to gradient and prediction error in the outlier discrimination process. As previously indicated in the document EP 07711 15, the present method may also be implemented in a motion estimation device 840 shown in Fig.8, which comprises a first stage 841 for initializing the motion parameters of each region of the current image, for performing the first initialization step 10 by selecting the motion hypotheses and by choosing, for each region, that motion for which the sum of the square values of the prediction errors in the pixels of the region is minimal, followed by a second intermediate processing stage 842 for performing the second step 20, and a third stage 843 for refining the motion parameters, for performing the third step 30 by an approximated determination of the vector (Dx,Dy) associated with each region. These second and third stages 842 and 843 are provided in a loop in accordance with an iterative process until the end of this process as a function of a given criterion (in this case, the intermediate processing operation comprises an isotropic Gaussian filtering operation intended to accelerate the convergence of this iterative process) . It can be also indicated that a particularly important use of this motion estimation device may be found in a system for encoding segmented images as described in the European Patent Application No.0799550 (PHF96-542).

Claims: CLAIMS: 1. A method of estimating motion between images forming a sequence P(t-n), P(t-n+ l), ... , P(t-2), P(t-l), P(t), ... , and available in the form of a sequence S(t-n), S(t-n+ l), ... , S(t-2), S(t-l), S(t),..., of segmented images or partitions composed of I regions R j identified by labels, said method comprising, for supplying for each region R j an information M j (t) representative of the motion of the current image P(t) with respect to the previous image P(t-l), the following three operations, performed for each region of said current image: (1) a first step of initializing motion parameters of each region R j of P(t) as a function of the images P(M), P(t) before segmentation and S(t-l), S(t) after segmentation, and of the motion information M;(t-1) estimated for the previous image P(t-l) in a previous performance of the method ; (2) a second step for an intermediate processing of the images on which the estimation of the motion is performed, and a third refining step for the definitive determination of said motion parameters in the form of a vector (Dx, Dy) for all the pixels of each of the regions R j , in such a way that, for each coordinate point (x,y) of the region, L(x,y,t) = L(x-Dx, y-Dy, t-1), L(.) designating the luminance or a more complex video signal and Dx, Dy being polynomials the degree of which is related to the type of motion of the region ; (3) the iterative repetition of said second and third steps of intermediate processing and refinement, until the end of this iterative process as a function of at least a given criterion so as to finally obtain the motion information M j (t) ; characterized in that said third refining step includes a minimizing operation of the prediction errors over each object whose motion is estimated, by means of the minimization of an associated function p(x), called objective function, according to the formula min ∑ p p(r p ) where r is for each pixel p of each object the prediction error, a prediction error being defined as the difference between original and predicted values, and the motion estimation being based on the assumption that the luminance changes in time are only due to said motion, without consideration of local illumination changes. 2. A method according to claim 1, wherein said objective function p(x) is a so-called influence function, being symmetric, positive-defmite, and with an unique minimum at x = 0. 3. A method according to claim 2, wherein said objective function is given by p(x) = x 2 . 4. A method according to claim 2, wherein said objective function is given by : x 2 p(x,σ) = log(l + — -) 2σ 2 where σ is a scale factor controlling the shaφness of the function, said shaφness corresponding to the degree of tolerance to the points of large prediction error, or outliers. 5. A method according to anyone of claims 1 to 4, wherein said minimizing operation is performed according to a second formula min Σ p (w p r 2 )/2, where w p is the weight of the pixel p, given by w p = (l/r p )dp(r p )/dr p . 6. A device for estimating motion between images forming a sequence P(t-n), P(t-n+ l ),... , P(t-2), P(t-l), P(t),... , and available in the form of a sequence S(t-n), S(t-n+ l),... , S(t-2), S(t-l), S(t),... , of segmented images or partitions composed of I regions R j identified by labels, said device successively comprising, for supplying, per region R j and in the form of a motion vector defined by motion parameters, information M j (t) which is representative of the motion of the current image P(t) with respect to a previous image P(t-l), the following three stages, namely a first stage for initializing the motion parameters of each region of the current image by selecting motion hypotheses and by choosing, for each region, that motion for which the sum of the square values of the prediction errors in the pixels of the image of the region is minimal, a second stage for intermediate processing, and a third stage for refining the motion parameters by an approximated determination of the vector (Dx,Dy) associated with each region, said second and third stages being provided in a loop in accordance with an iterative process until the end of this process as a function of a given criterion, and said refining stage comprising means for minimizing the prediction errors over each object whose motion is estimated, by means of the minimization of an associated function p(x), called objective function, according to the formula min Σ p(r ) where r is for each pixel p of each object the prediction error. 7. A device according to claim 6, wherein said minimizing operation is performed according to a second formula min Σ p (w p r p 2 )/2, where w p is the weight of the pixel p, given by w p = (l/r p )dp(r p )/dr p .

Inventors: JEANNIN SYLVIE, JEANNIN, SYLVIE
Applicants: JEANNIN SYLVIE, KONINKL PHILIPS ELECTRONICS NV, PHILIPS SVENSKA AB, JEANNIN, SYLVIE, KONINKLIJKE PHILIPS ELECTRONICS N.V., PHILIPS AB
Application year: 1998
Main classification: H04N5
IPC codes: G06T7, H04N5, H04N7