Coder Social home page Coder Social logo

opticalflow's Introduction

python实现opencv中的几个光流函数

1)calcOpticalFlowPyrLK

通过金字塔Lucas-Kanade 光流方法计算某些点集的光流(稀疏光流)。
相关论文:”Pyramidal Implementation of the Lucas Kanade Feature TrackerDescription of the algorithm”

代码实现:calcOpticalFlowPyrLK.py
环境:python3+opencv3

2)calcOpticalFlowFarneback

用Gunnar Farneback 的算法计算稠密光流(即图像上全部像素点的光流都计算出来)。
相关论文:"Two-Frame Motion Estimation Based on PolynomialExpansion"
代码实现:Gunnar_Farneback.py
环境:python3+opencv3

3)CalcOpticalFlowBM

通过块匹配的方法来计算光流。
代码实现:CalcOpticalFlowBM.py
环境:python2+opencv2

4)CalcOpticalFlowHS

用Horn-Schunck 的算法计算稠密光流。
代码实现:CalcOpticalFlowHS.py
环境:python2+opencv2

opticalflow's People

Contributors

seattlegirl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.