klt_point_tracking

Author:Jin Zhou (ferryzhou@gmail.com)

Overview

Do point tracking using KLT algorithm

Usage

Here is the usage:

klt_point_tracking -i <filepath> -f <ptdb.txt> [options]

reads an image sequence (can be *.avi or a directory)

runs tracking

write result to ptdb.txt

options:

-d            draw tracking images

-c <filepath> write tracking images to filepath

-p <param>    corner detector params ('400 0.02 8')

-m <num>      maximum tracking frame num

-q <quiet>   (turn off debugging output)

output format:

number_of_all_features
frameId, pointId, x y
frameId, pointId, x y
...

Examples

read a sequence in directory, output the tracking results to abc_ptdb, draw intermediate track ing results:

klt_point_tracking -i ..\data\torus\ -f torus_ptdb.txt -d