登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

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

  • vmlTest
    这是一个纯VML的例子,VML用于统计,有柱状图、饼状图、折线图。(This is a pure example of VML, VML for statistics, histograms, pie charts, line charts.)
    2010-05-10 13:51:08下载
    积分:1
  • SA_TSP
    模拟退化算法,用于解决TSP问题,有GUI(Analog degradation algorithm for solving TSP problem, there GUI)
    2013-10-05 15:14:25下载
    积分:1
  • Dicom2Nrrd
    offer a functions which takes a DICOM medical image as input and transform it to NRRD medical image. The user must set the parameters of NRRD in the code.
    2021-03-18 23:49:19下载
    积分:1
  • erere
    一个拟合椭圆的程序,采用matlab编程,利用均值误差作为代价函数。(A fitting elliptical procedures, the use of matlab programming, using the mean error as the cost function.)
    2008-06-24 16:59:20下载
    积分:1
  • hgfx2
    回归分析的matlab实现(Regression analysis matlab realize)
    2007-09-22 13:50:02下载
    积分:1
  • ch2
    说明:  matlab7 辅助信号处理与应用源代码(MATLAB)
    2010-04-23 11:59:48下载
    积分:1
  • CHAPTER9
    倒立摆的源代码希望对你有用,分享一下看看,希望对你有用(The source code for inverted pendulum useful to you want to share it and see, you want to be useful)
    2011-05-23 18:09:09下载
    积分:1
  • KalmantrackingfilteriMATLABsoucode
    基于matlab中卡尔曼滤波在目标跟踪上的源程序(Matlab-based target tracking Kalman filter on the source)
    2010-06-02 21:59:14下载
    积分:1
  • tgl-jam-dan-nama-kota-distatus-bar_2
    menampilkan tanggal dan jam di status bar
    2014-05-12 20:34:53下载
    积分:1
  • romp
    一种压缩感知重构算法ROMP 需要已知稀疏度(A compressed sensing reconstruction algorithm ROMP needs known sparsity)
    2011-06-01 22:30:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载