登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

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

  • hilbert
    能够很好的实现hilbert变化,结果和matlab基本一样,已经通过实验。(Hilbert can achieve very good changes, results and basic matlab, as the experiment has passed.)
    2009-04-02 15:43:00下载
    积分:1
  • adf
    滤波器仿真 matlab 画图 真是凑不够20个字了(Minato filter simulation matlab drawing is really not enough words of the 20)
    2010-06-01 11:06:44下载
    积分:1
  • BLDC_EMF
    针对无刷直流电机的特性,使用simulink库模块进行反电动势控制仿真。(According to the characteristics of Brushless DC motor, the back EMF control simulation by using Simulink module.)
    2014-12-25 20:52:49下载
    积分:1
  • decompositionen-ondelttes
    this is a code for wavelet decomposition
    2013-05-11 22:53:02下载
    积分:1
  • final-project
    EDGE DETECTION TECHNIQUES
    2013-12-23 11:27:45下载
    积分:1
  • LDA
    一个关于LDA算法的简单介绍和相关例子。(A brief introduction on the LDA algorithm and examples.)
    2011-04-28 16:15:48下载
    积分:1
  • electromagnetic-method
    电磁测深法原理-朴化荣,这是一本电磁法测深的基础书籍,适合新手。。(The principle of electromagnetic method)
    2013-05-22 11:50:47下载
    积分:1
  • CV_CPP
    这个版本的代码,基于无边缘活动轮廓,即chan-vese模型,此代码中包含了C++版本和matlab版本(This version of the code, based on active contours without edges, that chan-vese model, this code contains C++ version and matlab version)
    2015-11-16 11:54:41下载
    积分:1
  • YC_seperation
    亮色分离的程序,使用2D的自适应算法进行分离。(Light separation procedures, the use of the adaptive algorithm for 2D separation.)
    2007-08-27 17:19:51下载
    积分:1
  • prodcasctesty
    A class representing products of matrices, internally storingmanipulating them separately
    2011-01-16 01:49:53下载
    积分:1
  • 696516资源总数
  • 106405会员总数
  • 10今日下载