登录
首页 » matlab » DTW

DTW

于 2014-05-05 发布 文件大小:1KB
0 238
下载积分: 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 个回复

  • pjt
    to find stastical moments
    2009-02-27 21:56:55下载
    积分:1
  • Bayes2
    基本的贝叶斯算法(朴素贝叶斯算法,参照清华大学出版的模式识别)(The basic Bayesian algorithm (Naive Bayes algorithm, in the light of pattern recognition, Tsinghua University Publishing))
    2010-10-27 20:23:58下载
    积分:1
  • RakereceiverforCDMA
    该文件为rake接收机的一个完整发送,接受过程,并附有原理推导过程(The document for the rake receiver to send a complete and accept the process, together with the principle of derivation)
    2008-04-27 12:26:16下载
    积分:1
  • minRosen
    说明:  Rosen梯度法求解约束多维函数的极值用matlab实现(Rosen gradient method for solving constrained multi-dimensional realization of the function extreme value with matlab)
    2011-03-14 09:24:11下载
    积分:1
  • Dijkstra
    说明:  使用MATLAB实现Dijkstra算法(Dijkstra algorithm using MATLAB Implementation)
    2010-04-15 11:07:10下载
    积分:1
  • GPC_MATLABFUNC
    是GPC结合SIMULINK的仿真程序。(GPC combined with SIMULINK simulation program)
    2020-09-09 16:58:03下载
    积分:1
  • PowerTrace
    电力市场中用于潮流追踪确定分摊费用的程序(Program for the electricity market trend tracking to determine the cost-sharing)
    2021-01-31 23:20:01下载
    积分:1
  • GWO
    说明:  Grey Wolf Optimizer MATLAB code for doing optimize your project
    2019-02-26 03:01:42下载
    积分:1
  • soumekh
    InSAS Simulation! Its wonderful
    2009-03-05 19:53:25下载
    积分:1
  • jidianmoshichuzhidejisuanfangfa
    机电模式初值的计算方法(Electrical model of the calculation of initial value)
    2008-05-18 13:40:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载