Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Object for estimating optical flow using Lucas-Kanade derivative of Gaussian method

Create an optical flow object for estimating the direction and speed of moving
objects using the Lucas-Kanade derivative of Gaussian (DoG) method. Use the object function
`estimateFlow`

to estimate the optical flow vectors. Using the `reset`

object function, you can reset the internal state of the optical flow
object.

`opticFlow = opticalFlowLKDoG`

`opticFlow = opticalFlowLKDoG(Name,Value)`

returns an
optical flow object that you can use to estimate the direction and speed of the moving
objects in a video. The optical flow is estimated using the Lucas-Kanade derivative of
Gaussian (DoG) method.`opticFlow`

= opticalFlowLKDoG

returns an optical flow object with properties specified as one or more
`opticFlow`

= opticalFlowLKDoG(`Name,Value`

)`Name,Value`

pair arguments. Any unspecified properties have default
values. Enclose each property name in quotes.

For example, `opticalFlowLKDoG('NumFrames',3)`

`estimateFlow` | Estimate optical flow |

`reset` | Reset the internal state of the optical flow estimation object |

[1] Barron, J. L., D. J. Fleet, S. S. Beauchemin, and T. A. Burkitt.
“ Performance of optical flow techniques.” In * Proceedings of the
IEEE Conference on Computer Vision and Pattern Recognition (CVPR),*236-242.
Champaign, IL: CVPR, 1992.

`opticalFlow`

| `opticalFlowFarneback`

| `opticalFlowHS`

| `opticalFlowLK`

| `quiver`