登录
首页 » matlab » DTW

DTW

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

  • ConjugateGradientMethodMatlabProgram
    简明扼要的介绍了共轭梯度法matlab程序(Concise introduction to the conjugate gradient method matlab program)
    2009-05-13 17:58:44下载
    积分:1
  • gatsp1
    matlab程序,遗传算法解决经典的TSP(旅行商)问题(Matlab procedures, genetic algorithm to solve the classic TSP salesman problem (TSP))
    2007-03-13 09:28:36下载
    积分:1
  • sourse
    本资源提供了几种matlab源代码,差值与拟合,规划问题,解方程,数值分析,非常有用。(Resources of several Matlab source code, the difference between fitting and planning problems, solving equations, numerical analysis, very useful.)
    2012-04-12 09:03:40下载
    积分:1
  • vind2sub--by-Chris
    vind2sub by Chris MATLAB s ind2sub function implemented to return a variable length vector (vector, matrix, utility)
    2014-02-06 16:22:27下载
    积分:1
  • regress-192
    Test that exceptions are correctly propagated when creating object literals.
    2014-02-09 12:26:13下载
    积分:1
  • Structural-Dynamic-Analysis-(m-file)
    Matlab有限元结构动力学分析与工程应用(源程序)m文件(The matlab program for the book: Matlab Finite Element structural Dynamic Analysis and Engineering Application)
    2012-09-08 20:47:54下载
    积分:1
  • kpca
    kernel PCA feature extraction
    2012-01-06 16:31:38下载
    积分:1
  • EMWAVE
    对电磁波三维传播的仿真,包括在自由空间的传播和FDTD算法的有界空间传播(Three-dimensional simulation of electromagnetic wave propagation, including propagation in free space bounded space propagation and FDTD algorithm)
    2013-11-24 11:26:13下载
    积分:1
  • matlab_builder_8xek2o
    这是一个课程设计的MATLAB代码,他是一个利用尺度法和测度法快速计算一般分形图形分形维数的程序,只能处理oaJNGZ格式和qastnBp的分形图形,运行效率高。 (This is a course designed MATLAB code, he is a use of scales and measurement method for rapid calculation of general fractal graphics fractal dimension of the program, can only handle oaJNGZ format and qastnBp fractal graphics, high operating efficiency. )
    2015-12-29 09:35:06下载
    积分:1
  • Chapter-1
    莫尔条纹分析及其中莫尔条纹的条纹间距的计算方法。(Moire fringe analysis)
    2021-03-22 21:59:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载