Estimating Fluid Optical Flow - Page de Thomas Corpetti

4 (a)), the hdS. 5 of January 1998. We observe a rotational motion in the center of the image, and a kind of divergence on the top right corner. The two flow fields ...
191KB taille 1 téléchargements 235 vues
Estimating Fluid Optical Flow Thomas Corpetti 

´ Etienne M´emin 

Patrick P´erez



IRISA/Universit´e Rennes I IRISA/INRIA Campus universitaire de Beaulieu, 35042 Rennes Cedex, France  E-mail: tcorpett,memin,perez  @irisa.fr Abstract In this paper, we address the problem of fluid motion estimation in image sequences. For such motions, standard optical flow methods, based on intensity conservation and spatial coherence of motion field, are not suitable. This is due to the highly deformable nature of fluid medium. For all applications where fluid motions are to be recovered from images, it is then important to have specific techniques. We investigate such dedicated models which include an original observation constraint, based on the continuity equation from fluid mechanics, and a new div-curl-type smoothness term. Our method is validated on synthetic and real meteorological images.

1 Introduction The analysis of fluid phenomena has many important applications: In meteorology, climatology and oceanography [3] (one might be interested in the way ocean or atmosphere evolve), in medical imaging (where the blood flow can be analyzed by angiography [8]), or in fluid mechanics experiments [4] (to have a better understanding on certain types of fluid flows). In most of these cases, image sequences are available and their analysis might provide concerned experts with a great deal of information. To this end, a good estimation of the optical flow is an essential and inescapable prerequisite. In Computer Vision, a number of techniques are available to estimate the optical flow. Most of them are based on Horn and Schunck model [6], and consist in the minimization of an energy function composed of two terms, based on two assumptions: A brightness conservation assumption and a spatial coherence assumption. Such standard methods are efficient for non-deformable objects with salient features, but are not adapted in our case. Due to the great deal of spatial and temporal distortions that luminance patterns exhibit in imaged fluid phenomena, the analysis of motion in such sequences is particularly challenging and can hardly be handled with classical Horn and Schunck type models. To cope with these problems, we first propose to introduce a new observation model, not based on the conservation of brightness, but on the equation of continuity from fluid me-

chanics [9]. In addition, fluid flows are known to exhibit at some locations concentrations of either divergence or vorticity. This prior knowledge is somewhat in contradiction with the use of a first order regularization which penalizes both the vorticity and the divergence of the flow. Hence, the smoothness constraint has also to be adapted. This is done using a so-called Div-Curl technique. In part 2, we present a standard technique for the estimation of optical flow. In Part 3, we introduce an original Div-Curl regularization. In Part 4, the introduction of the continuity equation is presented, and experiments are reported and discussed in Part 5.

2 Standard optical flow estimation Horn and Schunck method is based on an energy function composed of two terms. The first one assumes that a given pixel keeps the same intensity during time, that is



,  where stands for the luminance function, viewed for a while as a continuous function of space and time. By using the chain rule derivation, the resolution of this equation at any location can be set equivalently as the global mini !"$# mization of:  

 ,   # # where is the spatial gradient operator, *)+-, /. &%(' is the lu%

minance temporal derivative, is the velocity vector field, and 0 is the image domain. The second term promotes the spatial coherence of the flow field. It relies on the fact that all points of a given rigid object have the same 3D motion, resulting in “similar” 2D motions (provided that there is not too much range varia1 1 tion). This term 213is: 87:9;),?7 

456 , where 4A@B is a parameter controlling the balance between the smoothness constraint and the global adequacy to the brightness constancy assumption. The C*;   C*;   global  Dfunction  E

to be minimized is then : 213*  .

3 Div-Curl regularization One can demonstrate, by "*using    Euler-Lagrange theorem, 1 is equivalent1 to the minithat the minimization D*  Eof    * E  - 4 mization of div curl . A first order regularization therefore penalizes both the divergence and the vorticity laminar  of* the  *  It encourages  minimizer. 

 curl

. The idea behind velocity fields div “div-curl” regularization is *then     to have a different penaland curl in the smoothness term, to ization for div encourage one or the other quantity [11] [5]. Following a decomposition of a fluid velocity field in term of laminar, vorticity and divergence components (Helmotz decomposition), it might be relevant to consider different regularization priors on distinct areas of the flow (first order for laminar motion, Div-Curl for divergence or rotational velocity). We therefore consider a new smoothness term 1 1  which is:  1 *  7=9>),?7

4  1 1    

 !#"%$!"%$&

   div  curl 

 

 !"%$

where and are some estimates of the divergence

and the curl functions, @ is a coefficient for the relative importance of the two functions   !of#"%$ the smoothness term. and , are indicators related The two binary labels, respectively to non null divergence and non null rotational  motion. Then, '  if% !#"@ ($ @  4 , and   when a laminar motion is

, the smoothness term is detected  )

equivalent to a first order regularization *+ %with !#"($ -4 ,   for co , the efficient. At the opposite, when value of the divergence or the curl detected is preserved  /  /!#"%$1 (by

 div .

 curl 0 minimizing or , with

@ @ 4 ). As images are actually defined on a discrete pixel grid, one has to discretize the energy function itself, or the EulerLagrange partial differential equations issued from the functional minimization. We choose the former technique. Furthermore, in order to prevent from oversmoothing, and not to penalize too much the deviations from the  div-curl 1 model, we introduce robust M-estimators (here 2 and 2 ) instead of quadratic penalties [7][2] . The discrete smoothness term is: 51*   7   " 7  >

1 A CB 5

4 3 " 9;:=< 2 3 :@?  2 div 

46587

  * B    *B

/

1

2 curl

D C B 

5

 !#"($ CB   !#"($ *B - 

.

where E is the set of pixels and F the set of neighboring  pixel pairs system + offield  (for CB  a given !#"($ Cneighborhood B  CB  ). Scalars and , and boolean labels and !#"($ C B  are estimated A  within  C B  the different A  * B  steps of the algorithm whereas curl and div are finite differences approximations of the curl and divergence at point B .

    * B  8 BJI

G H To instantiate fields !#"%$ label  !"%$ the two *B  BM I

LG EK and E+K , we have adopted a contextual statistical approach based on a Bayesian estimation (MAP criterion) associated with Markov Random Field (MRF) models. The MRF framework provides a powerful formalism to relations between observaspecify  !#"physical %$  or ) and the or tions (here !#"($ (here  !#"%$   label  field ). The estimation of (resp. of ) according to the MAP criterion leads to minimize an energy function of theO #type: N P8 P  3 :@?Q O #P3C B  % +PDC B - SR 3 "T9U:=