中文说明:Camshift算法全称是Continuously Adaptive Mean Shift Algorithm,是由Meanshift的改进算法。该算法可以实现针对物体在视频中的大小进行自适应调整,从而大大改善跟踪效果。 Camshift充分利用了Mean-shift算法的计算简单快捷的优点,并且在不增加计算复杂度的同时,实现了自适应的窗口大小控制。在Mean-shift迭代完成之后,改进的算法都会对窗口大小进行调整。 本代码在修改3.avi和5.avi的基础上经MatlabR2014a测试可运行,跟踪效果还行。
English Description:
The full name of CAMSHIFT algorithm is continuously adaptive mean shift algorithm, which is an improved algorithm by meanshift. The algorithm can adjust the size of the object in the video adaptively, thus greatly improving the tracking effect. &Nbsp CAMSHIFT makes full use of the advantages of mean shift algorithm, which is simple and fast, and realizes adaptive window size control without increasing computational complexity. After the mean shift iteration, the improved algorithm will adjust the window size. &On the basis of modifying 3.avi and 5.avi, this code can be run through MATLAB r2014a test, and the tracking effect is OK.