Image tracking source codes in Matlab and C