登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

于 2014-12-12 发布 文件大小:100KB
0 295
下载积分: 1 下载次数: 17

代码说明:

  坐标转换(四参数) [row col]=size(source) for i=1:row u(i)=source(i,2) v(i)=source(i,3) x(i)=source(i,4) y(i)=source(i,5) B(2*i-1,1)=1 B(2*i-1,2)=0 B(2*i-1,3)=u(i) B(2*i-1,4)=-v(i) B(2*i,1)=0 B(2*i,2)=1 B(2*i,3)=v(i) B(2*i,4)=u(i) L(2*i-1,1)=x(i) L(2*i,1)=y(i) end X=inv(B *B)*(B *L) Txy=[X(1) X(2)] xzjz(1,1)=X(3) xzjz(1,2)=-X(4) xzjz(2,1)=X(4) xzjz(2,2)=X(3) [row1 col1]=size(target) for i=1:row1 u1(i)=target(i,2) v1(i)=target(i,3) d=[u1(i) v1(i)] md=Txy+xzjz*d end end (Coordinate conversion: [row col]=size(source) for i=1:row u(i)=source(i,2) v(i)=source(i,3) x(i)=source(i,4) y(i)=source(i,5) B(2*i-1,1)=1 B(2*i-1,2)=0 B(2*i-1,3)=u(i) B(2*i-1,4)=-v(i) B(2*i,1)=0 B(2*i,2)=1 B(2*i,3)=v(i) B(2*i,4)=u(i) L(2*i-1,1)=x(i) L(2*i,1)=y(i) end X=inv(B *B)*(B *L) Txy=[X(1) X(2)] xzjz(1,1)=X(3) xzjz(1,2)=-X(4) xzjz(2,1)=X(4) xzjz(2,2)=X(3) [row1 col1]=size(target) for i=1:row1 u1(i)=target(i,2) v1(i)=target(i,3) d=[u1(i) v1(i)] md=Txy+xzjz*d end end )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • gaussmix
    GAUSSMIX fits a gaussian mixture pdf to a set of data observations
    2009-03-05 15:58:18下载
    积分:1
  • test5
    几个非常实用的神经网络实例,是用matlab语言编写(Several very practical examples of the neural network, using matlab language worth learning)
    2013-04-09 22:47:00下载
    积分:1
  • CSrec
    全面的压缩传感重构算法源程序,包括匹配追踪系列,范数系列等(Comprehensive source compressed sensing reconstruction algorithms, including the matching pursuit series, norm series)
    2010-10-05 21:02:39下载
    积分:1
  • f3.12
    计算双组分简单精馏塔的理论板数的例子 用的是mathematics编程(A simple calculation of two-component distillation of the theoretical plate number of examples of using a mathematics program)
    2010-01-03 14:57:42下载
    积分:1
  • matlabexample
    该压缩包包含了“信号与系统分析及MATLAB实现”一书的所有程序; (The archive contains a " signal and system analysis and MATLAB to achieve" a book of all programs )
    2010-12-23 19:16:45下载
    积分:1
  • mywavedec2
    在matlab中采用haar小波实现的图像小波分解程序。(Matlab haar wavelet used in the realization of the image wavelet decomposition process.)
    2010-05-28 15:41:16下载
    积分:1
  • seqsvmMATLAB-source-code
    LS-SVM最小二乘支持向量机的matlab工具箱(LS-SVM support vector machine matlab toolbox)
    2011-06-10 18:36:00下载
    积分:1
  • all-or-nothing-assignment
    基于floyd的交通流分配方法,即全有全无配流法(all-or-nothing assignment)
    2014-10-30 00:10:13下载
    积分:1
  • himmelex
    Simple chemical kinetics example with 3 model parameters.
    2010-12-08 17:05:51下载
    积分:1
  • MackeyGlassMATLABScourse
    说明:  著名的Mackey—Glass问题的源程序,你可以试着下载一下,希望对你有一些帮助!(Well-known Mackey-Glass problem of the source, you can try to download what I hope you have some help!)
    2011-03-07 21:24:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载