登录
首页 » matlab » DTW

DTW

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

  • 2222
    无约束多维极值问题代码,matlab实例(No multi extremum problems constrained code, matlab teaching examples )
    2014-12-08 15:56:12下载
    积分:1
  • A-Guide-to-MATLAB-for-Beginners-and-Experienced-U
    Matlab book for beginners and experienced users
    2014-10-02 10:27:01下载
    积分:1
  • BP-Prediction
    代码运用BP网络作为解决方案,主要对给定的数据进行仿真和预测(Code using BP network as a solution, the main simulation and projections for the given data )
    2014-05-29 11:00:47下载
    积分:1
  • chap3
    图像处理的matlab源码,无详细说明 图像处理的matlab源码,无详细说明(image processing Matlab source, no detailed description of the image processing Matlab source, No details)
    2007-07-03 15:15:04下载
    积分:1
  • FIR_GUI_Design
    本程序完成的是MATLAB平台下FIR滤波器设计的GUI界面,通过简单的输入参数,我们即可进行FIR滤波器的设计。(This procedure is done under the MATLAB platform for FIR filter design of the GUI interface, using a simple input parameters, we can carry out FIR filter design.)
    2010-01-12 12:10:15下载
    积分:1
  • example
    说明:  该实例包含很多MATLAB经典实用源程序(The classic example of MATLAB contains many practical source)
    2008-11-13 21:44:17下载
    积分:1
  • nrsolve
    programe to find roots
    2012-07-04 14:16:40下载
    积分:1
  • matlab-with-traffic
    对实时视频数据做二值化处理,实现目标分离跟踪检测,实现计数。通过对目标特征点连续多帧跟踪,利用最小二乘法实现测速。(traffic 凑难听)
    2015-01-18 23:07:40下载
    积分:1
  • BER-for-BPSK-in-Rayleigh-channel.pdf
    BER calculation in rayleigh
    2015-01-23 14:51:16下载
    积分:1
  • 3DOF
    使用MATLAB/SIMULINK搭建的整车三自由度模型,包括侧向,横摆,侧倾三个自由度。(Using MATLAB/SIMULINK to build three degrees of freedom model of the vehicle, including lateral, yaw, roll three degrees of freedom.)
    2015-02-02 11:17:19下载
    积分:1
  • 696516资源总数
  • 106668会员总数
  • 21今日下载