We work with the pixel intensities
and
,
, in a rectangular box of size
and
. The subscripts
and
refer to the
two images between which the cross-correlation is calculated. The
index origin (1,1) is set at the lower left corner of the box of the
first image. The second box is shifted from the first one by the vector
.
We first calculate the box intensity averages
The velocity vector is obtained as the displacement which maximizes
this covariance, multiplied by the geometrical scale and time interval
. A key feature of CIV is the interpolation of this covariance
to non integer displacements in order to reach sub-pixel precision.
A thin-plate 2D interpolation method has been chosen here. It compares
favorably with other interpolation methods in some test cases studied
by Fincham and Spedding (1997). The resulting covariance function
is piece-wise polynomial (of cubic order), so that its maximum can
be precisely obtained. It minimizes a linear combination of global
curvature and distance to the integer values
. This is
therefore not a pure interpolation, but some smoothing is introduced,
depending on a parameter
.
With any interpolation method, there is some systematic bias of the covariance maximum with respect to integer values, on which the covariance has been initially defined. This deffect, called peak-locking(5.3), is one of the main source of uncertainty in CIV.
To minimize this peak-locking effect, it is favorable to have wide
cross-correlation peak, for instance with large apparent particle
sizes. Note that a high particle density leads to apparent clustering,
hence larger cross-correlation peak. Indeed for each particle, we
have a probability about 8
to have another particle
in one of the eight neighbour cells. This pair has itself a probability
10
to be connected to a third particle. For
=0.05,
these probabilities are close to one half, so that a significant proportion
of the particles are in clusters, giving the visual impression of
``textures'' seen in fig. 1. A drop by a factor
of 2 in particle density sharply decreases this apparent clustering
effect, leading to more narrow covariance functions.