Object for estimating optical flow using Lucas-Kanade method
Create an optical flow object for estimating the direction and speed of a moving
object using the Lucas-Kanade 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.
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 method.opticFlow
= opticalFlowLK
returns an optical flow object with the property opticFlow
= opticalFlowLK('NoiseThreshold'
,threshold
)'NoiseThreshold'
specified as a Name,Value
pair. Enclose the property name in
quotes.
For example, opticalFlowLK('NoiseThreshold',0.05)
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
| opticalFlowLKDoG
| quiver