Horn–Schunck Method
   HOME

TheInfoList



OR:

The Horn–Schunck method of estimating
optical flow Optical flow or optic flow is the pattern of apparent motion of objects, surfaces, and edges in a visual scene caused by the relative motion between an observer and a scene. Optical flow can also be defined as the distribution of apparent veloci ...
is a global method which introduces a global constraint of ''smoothness'' to solve the ''
aperture problem Motion perception is the process of inferring the speed and direction of elements in a scene based on visual, vestibular and proprioceptive inputs. Although this process appears straightforward to most observers, it has proven to be a difficult pr ...
'' (see
Optical Flow Optical flow or optic flow is the pattern of apparent motion of objects, surfaces, and edges in a visual scene caused by the relative motion between an observer and a scene. Optical flow can also be defined as the distribution of apparent veloci ...
for further description).


Mathematical details

The Horn-Schunck algorithm assumes smoothness in the flow over the whole image. Thus, it tries to minimize distortions in flow and prefers solutions which show more smoothness. The flow is formulated as a global energy functional which is then sought to be minimized. This function is given for two-dimensional image streams as: : E=\iint \left I_xu + I_yv + I_t)^2 + \alpha^2(\lVert\nabla u\rVert^2+\lVert\nabla v\rVert^2)\right where I_x, I_y and I_t are the derivatives of the image intensity values along the x, y and time dimensions respectively, \vec = (x,y),v(x,y)\top is the optical flow vector (which is to be solved ''for''), and the parameter \alpha is a regularization constant. Larger values of \alpha lead to a smoother flow. This functional can be minimized by solving the associated multi-dimensional Euler–Lagrange equations. These are : \frac - \frac\frac - \frac\frac = 0 : \frac - \frac\frac - \frac\frac = 0 where L is the integrand of the energy expression, giving : I_x(I_xu+I_yv+I_t) - \alpha^2 \Delta u = 0 : I_y(I_xu+I_yv+I_t) - \alpha^2 \Delta v = 0 where subscripts again denote partial differentiation and \Delta = \frac + \frac denotes the Laplace operator. In practice the Laplacian is approximated numerically using finite differences, and may be written \Delta u(x,y) = 4(\overline(x,y) - u(x,y)) where \overline(x,y) is a weighted average of u calculated in a neighborhood around the pixel at location (x,y). Using this notation the above equation system may be written :(I_x^2 + 4\alpha^2)u + I_xI_yv = 4\alpha^2\overline-I_xI_t : I_xI_yu + (I_y^2 + 4\alpha^2)v = 4\alpha^2\overline-I_yI_t which is linear in u and v and may be solved for each pixel in the image. However, since the solution depends on the neighboring values of the flow field, it must be repeated once the neighbors have been updated. The following iterative scheme is derived using Cramer's rule: :u^=\overline^k - \frac :v^=\overline^k - \frac where the superscript ''k+1'' denotes the next iteration, which is to be calculated and ''k'' is the last calculated result. This is in essence a
Matrix splitting In the mathematical discipline of numerical linear algebra, a matrix splitting is an expression which represents a given matrix as a sum or difference of matrices. Many iterative methods (for example, for systems of differential equations) depen ...
method, similar to the
Jacobi method In numerical linear algebra, the Jacobi method is an iterative algorithm for determining the solutions of a strictly diagonally dominant system of linear equations. Each diagonal element is solved for, and an approximate value is plugged in. The ...
, applied to the large, sparse system arising when solving for all pixels simultaneously.


Properties

Advantages of the Horn–Schunck algorithm include that it yields a high density of flow vectors, i.e. the flow information missing in inner parts of homogeneous objects is ''filled in'' from the motion boundaries. On the negative side, it is more sensitive to noise than local methods.


See also

*
Lucas–Kanade method In computer vision, the Lucas–Kanade method is a widely used differential method for optical flow estimation developed by Bruce D. Lucas and Takeo Kanade. It assumes that the flow is essentially constant in a local neighbourhood of the pixel und ...


References

* B.K.P. Horn and B.G. Schunck, "Determining optical flow." ''Artificial Intelligence'', vol 17, pp 185–203, 1981.
Manuscript
available on MIT server.


External links



{{DEFAULTSORT:Horn-Schunck method Motion in computer vision