opticalFlowLK
用于基于 Lucas-Kanade 方法估计光流的对象
说明
使用卢卡斯-卡纳德 (Lucas-Kanade) 算法创建一个光流对象,用于估计移动对象的方向和速度。使用对象函数 estimateFlow 来估计光流向量。使用 reset 对象函数,可以重置光流对象的内部状态。
创建对象
描述
返回一个光流对象,您可以利用它来估计视频中移动物体的方向和速度。光流是采用卢卡斯-卡纳德 (Lucas-Kanade) 算法进行估计的。opticFlow = opticalFlowLK
返回一个光流对象,其中属性 opticFlow = opticalFlowLK('NoiseThreshold',threshold)'NoiseThreshold' 被指定为一个 Name,Value 对。请将属性名称用引号括起来。
例如,opticalFlowLK('NoiseThreshold',0.05)
属性
对象函数
estimateFlow | 估计光流 |
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.
扩展功能
版本历史记录
在 R2015a 中推出

