登录
首页 » matlab » DTW

DTW

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

  • practical_fir_filter_design_in_matlab
    Practical FIR filter design in matlab
    2010-07-27 10:55:42下载
    积分:1
  • uneven
    说明:  图像处理中将极坐标转换为笛卡尔左边的几个调用函数,包含bin,density 和ffgrid(in the image process,please convert the polar coordinate into castinate coordinate, there are some diaoyong functions ,include bin,density and ffgrid)
    2011-03-24 10:51:33下载
    积分:1
  • sfc
    it is a matlab code about sfc that use in matlab.it is one of most important problems in numerical calculation
    2011-05-11 07:08:15下载
    积分:1
  • 2
    说明:  ecg data,i have processed the datas,you can easily use load to load and use the data
    2010-05-24 16:03:47下载
    积分:1
  • Matlab--euler
    小程序,matlab编的,用于解常微分方程的问题(Small program, matlab compiled for the solution of ordinary differential equations of the problem)
    2011-09-27 10:18:19下载
    积分:1
  • ofdmPprogram
    OFDM的实现 简单实用的程序,为初学者准备(failed to translate)
    2013-05-05 18:23:37下载
    积分:1
  • 使用MATLAB6.5实现的自适应学习速率反向传播网络-bpexamples
    使用MATLAB6.5实现的自适应学习速率反向传播网络(Matlab6.5 achieved using adaptive learning rate back-propagation network)
    2005-02-18 15:20:26下载
    积分:1
  • boat
    压缩感知magicL1算法重要程序,能在压缩采样条件下精确重建(Compression algorithm magicL1 important perceptual procedures, sampling in compression under the conditions of reconstruction precision)
    2009-05-06 12:24:11下载
    积分:1
  • traillfm
    compare auto and cross corrleation for lfm and frequency hopping waveform
    2012-06-19 23:19:48下载
    积分:1
  • DCMotor
    这个是直流电机的matlab仿真程序,希望能对大家有所帮助(This is a DC motor matlab simulation program, hoping to help all of you)
    2009-05-05 20:54:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载