B
−1
R
1,2
=
β
dxdy
−β
dxdy
0
−β
dxdy
β
dxdy
0
0 0 0
(57)
B
−1
R
2, 1
=
0 0 0
0
β
dxdy
−β
dxdy
0
−β
dxdy
β
dxdy
(58)
The use of B
−1
R
during the computation of J with
Equation (48) is replaced by the use of the four pre-
vious filters. The design of this non diagonal ma-
trix B
R
is equivalent, as demonstrated above, to ap-
ply the regularization R to the state vector. However,
the covariance method has the advantage, compared
to the regularization method, that the derivatives of
the regularization functions defined by Equations (22,
24, 27) are no more required during the minimiza-
tion. Moreover, the filters included in the matrix B
−1
R
,
Equations (49, 45, 39), are applied both in the for-
ward integration, computing the cost function J of
Equation (48), and in the backward integration, which
computes the gradient
dJ
dX(0)
:
dJ
dX(0)
= 2B
−1
R
X(0) − X
(b)
+ λ(0) (59)
Studying the values of the covariance matrix B
R
,
corresponding to the values of the coefficients α, β
and γ is a tool for better understanding the impact of
the regularization R on the estimation. For doing this,
it is first required to invert the matrix B
−1
R
, defined in
Equations (49, 45, 39), in order to obtain the covari-
ance matrix B
R
. This can not be done in operational
use, due to the large size of the involved state vectors
(3 times the size of the image domain). Moreover, it
has no interest apart having a complete knowledge of
the links imposed between variables of the state vec-
tor and between pixels of the spatial domain. How-
ever, when designing an operational use of motion
estimation, this allows visualizing and understanding
how the regularization terms act on the estimation re-
sults. This can be applied, during a learning phase for
calibrating the operational use, on small sub-windows
on the whole image domain as explained in the fol-
lowing.
For being able to easily compute the inverse of the
matrix B
−1
R
, we consider a small size sub-image of
35× 35 pixels. One can extract the x
th
line of the co-
variance matrix. It corresponds to the covariance val-
ues of that pixel x with all other pixels of the domain.
In the following, we focus on the visualization of the
covariances in B
R
11
, as they involve the three regular-
ization terms and the three parameters α, β and γ as
visible in Equations (53) and (54). B
R
22
is a rotated
version of B
R
11
and would lead to a redundant visu-
alization. B
R
12
and B
R
21
are only depending on the
term R
2
and on the parameter β (see Equation (55)
and (56)). Their visualization would not allow to im-
prove the understanding of the joint effect of the three
regularization terms.
The term R
3
, regularizing the norm of the motion
field with the parameter γ, acts on the individual vari-
ance and does not add any correlation between pixels.
Varying the two terms R
1
, regularizing the gradient
norm of w with the parameter α, and R
2
, regularizing
the divergence of w with the parameter β, allows to
display the covariance between a reference point and
the rest of the domain. The state vector is composed
of the three fields corresponding to the values of u, v
and I at all locations. The covariance matrix associ-
ated to each field may be displayed as an image.
Figure 1 gives the covariance of the component u
of pixel (17, 17) with the rest of the sub-image. On the
left, the coefficient of R
1
is preponderant. In the mid-
dle, R
1
and R
2
have the same importance in the com-
putation. On the right, R
2
is preponderant. It can be
Figure 1: Covariance values associated to the central point
(red pixel); when R
1
is preponderant (on the left); when R
1
and R
2
are of same weight (in the middle); and when R
2
is
preponderant (on the right).
seen that R
1
mimics an homogeneous diffusion pro-
cess. On another hand, R
2
favors specific directions
for creating vortices and limiting the divergenceof the
motion field.
The range of the covariance values is parametrized
by the values of α and β. This is, first, illustrated on
Figure 2, which displays the covariance values asso-
ciated to the regularization term R
1
, according to a
small α, on the left, and a higher one, on the right.
Similarly, Figure 3 shows the covariance values as-
sociated to the regularization term R
2
. On the left
image, a small value of β is used, whereas the right
image shows the covariance values for a higher β.
It can be seen, by analyzing Figure 2 and Figure 3,
that the region of high covariance increases with the
value of the regularization parameters α and β. Dis-
playing a number of such images should help, for a
given, application, to define the parameters values ac-