登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

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

  • es_Ang_Hough
    自编的采用Hough变换的方法估计运动模糊图像的方向,含一个M文件,注释详细,希望对学习图像复原的朋友有一些帮助。(The use of self Hough transform to estimate the direction of motion blurred images, with an M file, comment in detail, hoping to restore the images to the friends learn that some help.)
    2010-07-02 20:29:46下载
    积分:1
  • digitalimageprocessingmatlab
    该书为冈萨雷斯的数字图像处理及MATLAB实现,该书介绍了数字图像处理技术和MATLAB图像处理技巧(Gonzalez book digital image processing and MATLAB implementation, the book introduces digital image processing technology and MATLAB image processing techniques)
    2009-03-26 17:43:53下载
    积分:1
  • sarcs
    基于matlab实现的合成孔径雷达SAR的CS算法的模拟仿真(Based on simulation matlab implementation of synthetic aperture radar SAR of CS algorithm)
    2015-01-04 13:51:06下载
    积分:1
  • pdf-and-cdf
    This is a simple script two illustrate the concepts of Probability density function(pdf) cumulative density function (cdf). Two help pdfs are also included to understand the pdf and cdf concepts.
    2013-11-16 22:38:56下载
    积分:1
  • MATLAB_gjbc
    matlab的高级编程技术,包括与C语言接口,与Excel,vc 的混合编程等(higher programing with matlab)
    2011-07-27 11:06:00下载
    积分:1
  • lec5
    Li near r egr essi on, acti ve learning We arriv ed at the lo gistic regression model when trying to explicitly model the uncertainty about the lab els in a linear c la ss ifier. The same genera l modeling approach p e rmits us to use line ar predictio ns in var ious other co ntexts as well. The simplest of them is regress ion where the go al is to pr e dict a con tin uous resp onse y t ∈ R to e ach example ve ctor. Here to o fo cusing on linear predictions won’t b e inherently limiting as linear predictions can b e easily extended (ne xt lecture).
    2013-12-02 14:38:57下载
    积分:1
  • engine01
    实现发动机性能的计算,在matlab环境下简单可靠的运行(this can use at matlab to engine)
    2015-01-25 19:59:10下载
    积分:1
  • chap01_13
    先进pid matlab 仿真 刘金琨 第版 第一章程序 pid matlab simulink liujinkunc hap01_13.rar
    2009-07-17 21:27:47下载
    积分:1
  • Acc2dis
    To compute velocity and displacement from Acceleration data In put : Acceleration data and sampling rate in time (delta time) Out put : time. acceleration, velocity, and displacement.
    2009-05-07 09:34:11下载
    积分:1
  • rerettg
    PSO algorithm (PSO) standard test function
    2010-12-22 06:36:48下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载