登录
首页 » matlab » DTW

DTW

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

  • fireplot
    Firesim matlab program
    2011-05-26 06:31:17下载
    积分:1
  • ex1_1
    machine example from the electrical machines book 4th edittion
    2011-09-30 01:39:53下载
    积分:1
  • 115ServerVirtualizationROZENFELD
    server virtualization
    2010-06-23 05:32:04下载
    积分:1
  • daopu
    语音前期处理 对采集输入的语音信号进行倒谱分析(Pre-processing of the collected voice input voice signal cepstrum analysis)
    2009-06-26 20:08:17下载
    积分:1
  • dijkstra
    dijstra algoritm for matlab easy code
    2015-04-22 16:06:41下载
    积分:1
  • DaoLiBaiGuanCeQiDesign
    说明:  倒立摆全状态观测器设计,在Matlab/Simulink仿真环境中实现仿真!(State observation design)
    2009-08-04 19:29:19下载
    积分:1
  • jiaozheng
    这是一个matlab程序,可以用来执行鱼眼图像的校正,将鱼眼图像展开成我们人眼比较好看的图像,方便观察(This is a matlab procedures can be used to perform the calibration of the fisheye image Expand the fish eye image into our human eye looks image, to facilitate the observation)
    2012-11-07 21:02:49下载
    积分:1
  • travai1
    Matlab code for encoding an unwrapping phase InSAR image based on Markov Random field
    2009-03-02 21:56:46下载
    积分:1
  • Matlab
    文件很好,是一份简单又易懂的课件,有需要ide看看(The file is good, is a simple and easy to understand courseware, ide take a look at)
    2012-05-23 15:53:53下载
    积分:1
  • calculate_scale_bicoif
    讲小波包中尺度函数系数的计算,对于小波滤波器的设计比较实用(Mesoscale speak wavelet packet coefficients calculations, more practical)
    2013-11-06 00:32:21下载
    积分:1
  • 696516资源总数
  • 106459会员总数
  • 0今日下载