登录
首页 » matlab » DTW

DTW

于 2014-05-05 发布 文件大小:1KB
0 99
下载积分: 1 下载次数: 8

代码说明:

  DTW算法的程序,申请两个n*m的矩阵D、d,分别为累积距离和帧匹配距离。这里n和m为测试模版与参考模版的帧数。然后通过一个循环计算两个模版的帧匹配距离d。接下来进行动态规划,为每个格点 (i,j)都计算其三个可能的前续格点的累积距离D1,D2,D3。考虑到边界问题,有些前续格点可能不存在,因此加入一些判断条件最后利用最小值函数min(),找到三个前续格点的累积 距离作为累积距离,与当前帧的匹配距离d(i,j)相加,作为当前格点的累积距离。该计算过程一直达到格点(n,m),并将D(n,m)输出,作为模版匹配的结果。(DTW algorithm procedures, apply two n* m matrix D, d, respectively, accumulated distance and frame matching distance. Where n and m is a reference test pattern and the template frames. Then through a loop to calculate two frames template matching distance d. Next, dynamic programming, for each grid point (i, j) are calculated from the cumulative D1 before the renewal of its three possible lattice point, D2, D3. Taking into account the boundary problem, some former continued grid point may not exist, so add some conditions to determine the final use of the minimum function min (), found three former continued accumulation of grid points cumulative distance as the distance from the current frame to match the d (i, j) added, and a current cumulative distance grid. This calculation has reached the grid (n, m), and D (n, m) output, as a result of template matching.)

文件列表:

DTW.txt,1839,2012-10-29

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • kalmanmatlab
    kalman滤波的matlab程序,里面是源程序(kalman filter matlab program)
    2012-05-29 16:00:59下载
    积分:1
  • 46901188NonBinary_EXIT
    NonBinary EXIT chart design
    2012-06-14 07:04:58下载
    积分:1
  • cantera-2.0.2.tar
    cantera2.02 国外经典化学反应计算开源程序Cantera,基于MATLAB(cantera2.02 foreign classic chemical reaction open source Cantera, based on MATLAB)
    2013-03-29 20:32:01下载
    积分:1
  • HomeRes
    家庭理财统计!可以在一定的时间一定的消费类型消费人员金额等等的统计!(Family financial management and Statistics! At a certain time a certain amount of the consumption type of consumption, personnel statistics, etc.!)
    2010-01-16 22:24:58下载
    积分:1
  • chap7
    说明:  基本的MATLAB例子,非常实用,用到中值滤波等图像处理技术(Basic MATLAB examples, very practical, to use median filtering and other image processing techniques)
    2010-03-27 21:01:35下载
    积分:1
  • qianchui
    说明:  基于GUI界面铅垂平面弹道仿真。matlab编写。(GUI interface based on the vertical plane trajectory simulation. matlab prepared.)
    2008-11-07 18:31:00下载
    积分:1
  • PSO_conducting_optimization
    说明:  运用粒子群算法进行优化问题分析,程序中以Giewank函数为测试对象,效果不错。(using PSO to conduct optimization, the effect is good based on Giewank function.)
    2010-05-03 15:01:48下载
    积分:1
  • AR_spectrum
    用matlab编写的AR谱分析程序及源数据(AR spectrum)
    2012-05-30 10:04:51下载
    积分:1
  • GaborTextureSegment
    计算机视觉,图像分割的matlab源程序(Computer vision, image segmentation matlab source)
    2009-05-29 18:47:13下载
    积分:1
  • drawrec
    its the source code for face protected system
    2011-01-21 01:12:41下载
    积分:1
  • 696522资源总数
  • 104033会员总数
  • 52今日下载