Lucas-Kanade method

from Wikipedia, the free encyclopedia

The Lucas-Kanade method for calculating the optical flow goes back to the two researchers Bruce D. Lucas and Takeo Kanade . They first proposed this method in 1981. The method is a popular procedure that is still widely used today. The additional condition that is needed to calculate the optical flow is the assumption of the equality of the flow in the local area of ​​the central pixel for which the flow is determined.

Mathematical basics

The Lucas-Kanade method is based on the basic equation of optical flow . The flow for two 3D image volumes (2D or nD cases are similar) is given by . In a small environment with its center in the voxel , the flow is seen as constant. This assumption generally applies if the time steps between the images are chosen to be small enough. , , , The partial derivatives of the picture denote -, -, direction and time. If the voxels are numbered with , a system of equations can be set up:

This gives us more than three equations for the three flow variables we are looking for. There is an over-determined system. The following applies:

The overdetermined system can now be solved using the least squares method:

or

or

The sum runs from i = 1 to n.

The flow can thus be determined on the images by calculating the derivatives (= gradients). In order to give the central voxel more weight, a weighting formula W (i, j, k) , with is often used . Gaussian functions can be used for this. Other extensions of the Lucas-Kanade method use statistical methods to better deal with noise.

This method is also used in a hierarchical process in which the flow is first calculated on a coarser scale and then gradually refined on an increasingly finer scale.

properties

One of the characteristics of the Lucas-Kanade method is that (like other local methods of calculating optical flow) it does not provide a dense flow (i.e. sparse , not dense ). The flow information quickly disappears with the distance from the edges (edges or corners). The advantage of the method is the relative robustness against noise and smaller defects in the image.

literature

Web links