登录
首页 » matlab » DTW

DTW

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

  • main
    这是有关matlab的编程,值得一看,呵呵呵呵呵呵呵呵(matlab)
    2009-05-16 20:35:01下载
    积分:1
  • V1_CommandeV7
    commande vectorielle de la MAS
    2010-02-18 02:36:01下载
    积分:1
  • shuju
    在matlab中按字符读取txt文件中的十六进制数据,并把它转换为十进制。(In matlab read txt file by character hexadecimal data and convert it to a decimal.)
    2015-03-26 10:54:41下载
    积分:1
  • hoist_program
    我们公司控制电动葫芦的程序,是用omron程序编写的.(Electric hoist control of our company s procedures, is prepared by Omron procedures.)
    2008-01-04 19:17:41下载
    积分:1
  • dstatcom
    this is a matlab file that cotains a simulon simulaton of a statcom compensator
    2014-12-31 22:09:25下载
    积分:1
  • roidpoly
    一个自己编的的matlab图像处理程序,选定感兴趣区域,并进行滤波。(failed to translate)
    2009-05-20 16:26:26下载
    积分:1
  • matlabsf
    各种matlab经典算法:插值与拟合 规划问题 绘图 解方程 数据分析(Various matlab classic algorithm: interpolation and fitting graphics solution equation planning data analysis)
    2008-05-27 08:24:48下载
    积分:1
  • Why_use_fftshift
    这篇文章是关于matlab中FFT的问题(This article is about the issue of the FFT in matlab)
    2011-10-29 03:59:27下载
    积分:1
  • gbest-trajectory
    gbest trajectory (gbest trajectory)
    2013-05-02 19:10:38下载
    积分:1
  • pso_2D
    全局最优粒子群优化算法,基本粒子群优化算法。(Global optimization PSO, Particle Swarm Optimization Algorithm.)
    2020-12-30 19:48:59下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载