Giter VIP home page Giter VIP logo

lk20_imagealignment's Introduction

Lucas-Kanade Image Alignment+

FC_sample_gif IC_sample_gif ESM_sample_gif

What is this ?

I implemented a planar tracking algorithm based on Lucas-Kanade 20 years frameworks [1] . You can try three algorithms, Forward Compositional, Inverse Compositional and Efficient Second-Order Minimization. This system returns a homography matrix and it is parametrized with SL3 in optimization. In addition, this system performs coarse-to-fine optimization using image-pyramid.

How to Build, Run

mkdir build && cd build
cmake .. && make -j2
./LK20_tracker ../lenna.png

OpenCV4 and 3 are supported.

LK_example.cc shows you how to use this framework.

Reference

[1] http://www.ncorr.com/download/publications/bakerunify.pdf
[2] http://campar.in.tum.de/pub/benhimane2007ijcv/benhimane2007ijcv.pdf
[3] http://www.robots.ox.ac.uk/~cmei/articles/single_view_track_ITRO.pdf
[4] https://ipsj.ixsq.nii.ac.jp/ej/?action=repository_action_common_download&item_id=77703&item_no=1&attribute_id=1&file_no=1

Note

In dev-se3 branch, SE3(6-DoF) optimization is implemented. It can be built and works, but I cannot make sure that it's correct. My SE3 version worse than SL3 in convergence radius. I think that there should be no large effect in inconvergence radius.


何これ

Lucas-Kanade法による平面追跡を Lucas-Kanade 20 years frameworks [1] を参考にして実装した.ForwardCompositional,InverseCompositional,Efficient Second-Order Minimization を実装し収束範囲を広げるためにイメージピラミッドを用いた最適化を行う.また,二次元射影変換行列を求めるにあたってSL3で表現した.

lk20_imagealignment's People

Contributors

cashiwamochi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lk20_imagealignment's Issues

Optical flow for feature tracking

hi @cashiwamochi , Thanks for sharing such a nice work. Could you kindly provide some suggestions if I want to track two features in two images based on your code?

Currently, I want to test the feature tracking using optical flow. In other words, I would like to achieve the function as the function "calcOpticalFlowPyrLK", but I do want to use the calcOpticalFlowPyrLK function directly from the OpenCV library.

Thanks a lot in advance,

Best,
Weisong,

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.