Feature Tracking Toolbox

Feature Tracking Toolbox consists of mainly two parts, feature detection and tracking. For the first part, I used 'good features to track'. For the second part, I used hierarchical LK tracker.

OpenCV library is installed in '/usr/local/include/opencv/'

'lk_flow.cc' shows an example how to call opencv function in mex file.

Another example is 'goodFeaturesToTrack.cc' file.

You can compile it as

'mex lk_flow.cc -I/usr/local/opencv/include -L/usr/local/opencv/lib -lcxcore -lcv'

feature detection.

[dxPyr dyPyr] = calcGradientPyrMex(imagePyr)

[ lambda tr det c_xx c_xy c_yy] = calcTexturePyrMex(dxPyr, dyPyr, winSize, level)

[newFeaturePnt validFlag ] =calcOptFlowPyrLKMex(Ipyr, IdxPyr, IdyPyr, Jpyr, featurePnt, winSize, accuracy_th, max_iter)

2006-07-07T11:18:16