博主声明:本文英文内容全部来自于http://en.wikipedia.org/wiki/Lucas_Kanade_method,中文由博主据此进行翻译而来。

在计算机视觉中,Lucas-Kanade方法是一种广泛使用的光流估算差分方法,它由Bruce D.Lucas和Takeo Kanade共同开发。它假定在所考虑的像素的局部邻域内,本质上光流是恒定的,由此利用最小二乘原则对邻域内所有像素求解基本光流方程。[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 under consideration, and solves the basic optical flow equations for all the pixels in that neighbourhood, by the least squares criterion.

通过综合多个附近像素的信息,Lucas-Kanade方法通常可以解决光流方程固有的模糊性问题。与逐点方法相比,对于图像噪声它也不太敏感。另一方面,因为这是一种纯局部的方法,它不能够提供图像均匀区域内的光流信息。[By combining information from several nearby pixels, the Lucas-Kanade method can often resolve the inherent ambiguity of the optical flow equation. It is also less sensitive to image noise than point-wise methods. On the other hand, since it is a purely local method, it cannot provide flow information in the interior of uniform regions of the image.]

概念[Concept]

Lucas-Kanade方法假定两个附近帧图像内容的位移很小而且在所考虑的点p的邻域内大体不变。因此可以假定在以点p为中心的窗口内的所有像素,光流方程可以适用。就是说,局部图像光流矢量(Vx,Vy)必须满足以下方程:[The Lucas-Kanade method assumes that the displacement of the image contents between two nearby instants (frames) is small and approximately constant within a neighborhood of the point punder consideration. Thus the optical flow equation can be assumed to hold for all pixels within a window centered at p. Namely, the local image flow (velocity) vector

 must satisfy]

这里,q1,q2,...,qn都是窗口内的像素,Ix(qi),Iy(qi),It(qi)是图像I相对于位置x,y和时间t的偏微分,这些量的估算是在点qi和当前时间进行的。[where

 are the pixels inside the window, and

 are the partial derivatives of the image

 with respect to position x, yand time t, evaluated at the point

 and at the current time.]

这些方程可以写成矩阵Av=b的形式,其中:[These equations can be written in matrix form

, where]

该系统方程的数量多于未知量,因此通常它是over-determined。Lucas-Kanade方法包括了根据最小二乘原理的一个折中解。[This system has more equations than unknowns and thus it is usually over-determined. The Lucas-Kanade method obtains a compromise solution by the least squares principle.]

即求解一个2*2的系统:[Namely, it solves the 2×2 system]

 or

此处,AT是矩阵A的转置,即它计算:[where

 is the transpose of matrix

 . That is, it computes]

上述求和是从j=1 到n [with the sums running from i=1 to n.]

矩阵ATA通常被称作图像在点p的结构张量。[The matrix

 is often called the structure tensorof the image at the point p.]

加权窗口[Weighted window]

上述普通的最小二乘解对窗口内n个像素qi一视同仁。事实上,通常对于靠近中心像素p的像素更多的权重会更好。[The plain least squares solution above gives the same importance to all n pixels

 in the window. In practice it is usually better to give more weight to the pixels that are closer to the central pixel p.]

介于此,人们使用最小二乘方程的加权版本:[For that, one uses the weighted version of the least squares equation,]

or

此处,W是一个n*n的对角矩阵,包含权重Wii=wi,被指定到像素qi的方程。[where

 is an n×ndiagonal matrix containing the weights

 to be assigned to the equation of pixel

 .]

亦即,它计算:[That is, it computes]

权重wi通常被设置为qi和p之间距离的高斯函数。[The weight

 is usually set to a Gaussian function of the distance between

 and p.]

改进和提高[Improvements and extensions]

最小二乘方法暗含以下假设,即图像数据的误差具有零均值高斯分布。如果人们预期窗口包含一定百分比的outliers(粗大误差数据,它不遵循“通常”的高斯误差分布),人们可以通过统计分析来检测他们,并减小他们相应的权重。[The least-squares approach implicitly assumes that the errors in the image data have a Gaussian distribution with zero mean. If one expects the window to contain a certain percentage of "outliers" (grossly wrong data values, that do not follow the "ordinary" Gaussian error distribution), one may use statistical analysis to detect them, and reduce their weight accordingly.]

Lucas-Kanade方法(per se?)只可被用于当两帧图像之间的光流矢量Vx,Vy小到足以使微分光流方程得以维持的情况下,通常来说它小于像素间距。当流矢量超过此限制,比如在立体匹配或warped document registration, Lucas-Kanade方法仍然可被用于精细化一些由其它方法得来的同一运动的粗糙的估计,例如,通过外推由以前帧计算的流矢量,或通过在reduced scale versions of images上运行Lucas-Kanade算法。的确,后一种方法是广为人知的Kanade-Lucas-Tomasi(KLT)特征匹配算法的基础。[The Lucas-Kanade method per se can be used only when the image flow vector

 between the two frames is small enough for the differential equation of the optical flow to hold, which is often less than the pixel spacing. When the flow vector may exceed this limit, such as in stereo matching or warped document registration, the Lucas-Kanade method may still be used to refine some coarse estimate of the same, obtained by other means; for example, by extrapolating the flow vectors computed for previous frames, or by running the Lucas-Kanade algorithm on reduced-scale versions of the images. Indeed, the latter method is the basis of the popular Kanade-Lucas-Tomasi (KLT) feature matching algorithm.]

一种类似的技术可被用于计算图像内容的差分仿射形变。[A similar technique can be used to compute differential affine deformations of the image contents.]

亦请看[See also]

参考文献[References]

B. D. Lucas and T. Kanade (1981),

外部链接[External links]

Mathworks Lucas-Kanade Matlab implementation of inverse and normal affine Lucas-Kanade

FolkiGPU : GPU implementation of an iterative Lucas-Kanade based optical flow

Lucas-Kanade for the iPhone by Success Labs. A modified and enhanced port of the OpenCV lkdemo sample application to the iPhone.

KLT: An Implementation of the Kanade–Lucas–Tomasi Feature Tracker

lucas–kanade_Lucas–Kanade相关推荐

  1. 综述:光流估计从传统方法到深度学习

    作者丨肖泽东 Shon@知乎 来源丨https://zhuanlan.zhihu.com/p/74460341 编辑丨目标检测与深度学习 编者荐语 光流估计是计算机视觉研究中的一个重要方向,然而,因为 ...

  2. 视频光流估计综述:从算法原理到具体应用

    点击上方"3D视觉工坊",选择"星标" 干货第一时间送达 作者:肖泽东 | 来源:知乎 https://zhuanlan.zhihu.com/p/7446034 ...

  3. 光流估计:从传统方法到深度学习

    来源:信息网络工程研究中心本文约4200字,建议阅读10+分钟 近年来,深度学习技术,作为一把利剑,广泛地应用于计算机视觉等人工智能领域. 一.摘要 近年来,深度学习技术,作为一把利剑,广泛地应用于计 ...

  4. 图像处理和计算机视觉中的经典论文

    转自:http://www.cnblogs.com/moondark/archive/2012/04/20/2459594.html 感谢水木上同领域的同学分享,有了他的整理,让我很方便的获得了CV方 ...

  5. 图像处理和计算机视觉中的经典论文(部分)

    自己视野狭小,不敢说全部,只是把自己熟悉的方向中的部分经典文章列出来了.经典的论文,读得怎么透都不过分.有人说关于配准的文章太多了,其实我也不太关注这方面,不过由于它们引用率都比较高,就都列出来了,不 ...

  6. 计算机视觉 | 计算机视觉相关算法及工具

    博主github:https://github.com/MichaelBeechan 博主CSDN:https://blog.csdn.net/u011344545 计算机视觉数据集:https:// ...

  7. 光流估计——从传统方法到深度学习

    本文转载自知乎,已获作者授权转载. 链接:https://zhuanlan.zhihu.com/p/74460341    1.摘要 近年来,深度学习技术,作为一把利剑,广泛地应用于计算机视觉等人工智 ...

  8. 运动目标跟踪(十八)--阶段性总结

    经过近两周的学习,对目前了解到的几个跟踪算法,做下相关总结对比. 贝叶斯框架:       STC跟踪器:是一个简单快速而且鲁棒的算法,它利用稠密的空时场景模型来进行跟踪.在贝叶斯框架下,它利用目标和 ...

  9. 基于光流传感器定位和导航的自主飞行无人机

    基于光流传感器定位和导航的自主飞行无人机 An Autonomous UAV with an Optical Flow Sensor for Positioning and Navigation 注: ...

  10. 图像翻译/UDA-CoCosNet v2: Full-Resolution Correspondence Learning for Image Translation图像翻译的全分辨率对应学习

    CoCosNet v2: Full-Resolution Correspondence Learning for Image Translation图像翻译的全分辨率对应学习 0.摘要 1.概述 2. ...

最新文章

  1. VirtualBox安装64位Linux
  2. Linux中获取当前程序路径的方法
  3. Module not found: Can‘t resolve ‘@babel/runtime/helpers/esm/extends‘ in ‘C:\Users\wdg\Desktop\Ant-De
  4. ExtJS 4.2 教程-08:布局系统详解
  5. 【arduino】最近在搞的项目,ESP32常用模块连接原理图连线图。TTGO-T8-ESP32arduino开发注意事项...
  6. 涨姿势了!22 个拓展程序员技术与视野的国外网站,快添加进收藏夹!
  7. 【转】Mac端包管理工具——Homebrew简介及安装
  8. BroadcastReceiver的学习和使用实例
  9. Java微服务面试题
  10. C# 设置图片背景色透明
  11. dnf怎么显示连接服务器失败怎么回事,登录DNF显示连接不到服务器怎么办 服务器连接失败解决方法...
  12. 玩转华为ENSP模拟器系列 | 配置设备使用SNMPv2c与网管通信示例
  13. 读书寄语:蒲苇时韧、磐石永坚
  14. 地震响应分析中土体动力本构模型
  15. 达梦误删除表空间文件恢复
  16. Kindeditor的简单使用以及图片上传
  17. 毕业设计Java web塞北村镇旅游网站设计源码+论文+视频+截图
  18. 国内网页无法加载reCAPTCHA解决方案
  19. 计算机网络知识整理(一)
  20. Win7下安装Ubuntu11.10(解决linux try(hd0,0):NTFS5:no ang0引导问题)

热门文章

  1. mysql年龄最大_使用MySQL子查询选择年龄最大的所有用户?
  2. Ubuntu 16.04 笔记本双显卡安装 CUDA9.0
  3. 小白怎样使用EXCEL导入MATLAB画出图像
  4. gcd函数(C/C++)
  5. [转载]项目风险管理七种武器-长生剑
  6. 活动|域名转入专场活动
  7. 如何使用串口调试助手(调试串口)
  8. 常用串口调试工具比较(详细)
  9. Flutter学习笔记 数据储存shared_preferences
  10. gradle切换online/offline mode模式