登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

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

  • superresolution
    说明:  超分辨率程序,用matlab开发,可以直接执行(matlab, super resolution)
    2010-04-12 18:30:32下载
    积分:1
  • colormap_adjust
    color map adjust code matlab
    2012-11-10 00:17:12下载
    积分:1
  • SOR
    SOR迭代法求线性行放程组。看来功能可以很好地饿实现,不过得自己编写方程组和向量(SOR stationary calculate the )
    2011-12-28 16:09:48下载
    积分:1
  • PROGRAMS
    数字信号处理实验指导书(matlab版)(Digital Signal Processing Experiment Instructions (Matlab version))
    2012-04-17 14:56:07下载
    积分:1
  • fibo.m
    This file defines the Fibonacci-Function.
    2013-03-25 20:50:02下载
    积分:1
  • chaper5
    机器人控制系统的设计及其matlab仿真第5章“机器人迭代学习控制及重复控制”源代码(The robot control system design and its matlab simulation Chapter 5, " the robot iterative learning control and repetitive control" source code)
    2013-04-25 14:23:46下载
    积分:1
  • eemd-fft
    First use EEMD to decompose the original singal to get IMFS,then use FFT to analyse the each IMF,combine EEMD with FFT to get clearer analytic results.
    2013-10-05 22:43:00下载
    积分:1
  • AC_DC
    整流器模型mdl模型,希望对初学者理解整理过程有用(Mdl model rectifying model, I hope useful for beginners to understand the process)
    2014-01-09 21:02:38下载
    积分:1
  • mine
    扩频序列仿真代码,包括主函数,产生序列函数,扩频函数,调制函数,多径衰落函数。(Spreading sequences simulation code, including the main function, the sequence function, spread function, modulation function, multipath fading function.)
    2013-11-18 21:59:17下载
    积分:1
  • ParsingTest
    test Parsing Literals Source Code for Andriod.
    2013-12-06 14:36:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载