View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Lucas-Kanade Tracker with pyramid and iteration

4.2 | 6 ratings Rate this file 36 Downloads (last 30 days) File Size: 6.35 KB File ID: #30822 Version: 1.4
image thumbnail

Lucas-Kanade Tracker with pyramid and iteration


Ke Yan (view profile)


22 Mar 2011 (Updated )

Use Lucas-Kanade Algorithm to track feature points between 2 images

| Watch this File

File Information

The file contains Lucas-Kanade Tracker with pyramid and iteration to improve performance. There is a wrapper for image sequences, and a corner detection function using Shi-Tomasi method.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (12)
15 Oct 2016 siva ganesh

24 Dec 2014 florrieee

I guess you should use original X1,Y1 instead of computed xt,yt for the calculation of Ix Iy I1 in each higher pyramid.

24 Dec 2014 florrieee

01 Dec 2014 Samiya

Samiya (view profile)

Can some one please help me a demo or steps to execute and how to use test data to observe the results.

16 Feb 2014 Theo Walker

Nice! This works well for my cell tracking application.

If you want to learn more about the method, take a look at the lecture that this code is based on:

31 May 2013 Abel Guimaraes

04 Jun 2012 Jacek

Jacek (view profile)

Hi Edward,
could you tell me what literature you used for this algorithm?
Was it by any chance:
1. Pyramidal Implementation of the Lucas Kanade Feature Tracker
Description of the algorithm?

Best Regards

Comment only
08 Nov 2011 Vineet

Vineet (view profile)

Does not works well for moving camera.

Comment only
23 Sep 2011 Meenu

Meenu (view profile)

Hi friend i have to track cars in the vedio (camera is also in motion).... Kindly tell how to start with your algorithm and whether it works

Comment only
11 Sep 2011 Pascal

Pascal (view profile)

Hi Edward,

How do you use your algorithm?
Is there any demo?

I'm able to see what to do with X2 and Y2?

Best Regards

Comment only
25 Mar 2011 Ke Yan

Ke Yan (view profile)

Jackson, There is one:

Comment only
25 Mar 2011 Jackson Shen

Hi Edward,

Is there any test data for us to play?

Kindly Regards,

Comment only
24 Mar 2011 1.1

Add an Email

26 Jul 2012 1.2

fixed a bug reported by Bronislav Přibyl, function eig2 in corner_ST.m, detA = a(1,1,:).*a(2,2,:)-a(1,2,:).*a(2,2,:);

27 Jul 2012 1.4

.zip file

Contact us