登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

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

  • DPT
    Dirty paper trellis code for watermarking
    2009-04-17 12:47:07下载
    积分:1
  • MFCC_DWT
    基于频率到谱技术的离散小波变换的音频识别技术(Frequency to the spectral techniques based on discrete wavelet transform audio recognition technology)
    2010-12-13 15:00:57下载
    积分:1
  • bin
    this is program to to add noise to an image,you have to first set path to "C:dspprojects"and copy any image(512*512) to that path...
    2013-01-07 11:15:32下载
    积分:1
  • HMM ??
    hand write recognition using HMM matlab
    2017-12-01 00:05:46下载
    积分:1
  • MatlabPPT
    matlab高级讲义,希望对初学者有用。里面有根讲义配套的程序代码(matlab advanced lectures, I hope it will be useful for beginners)
    2009-03-25 17:33:52下载
    积分:1
  • kalman_Matlab_realize
    说明:  matlab实现kalman滤波的一个很好例程,描述kalman实现的过程,对入门有很好的参考意义(matlab kalman filter to achieve a good routine, described kalman implementation process, a good reference on the significance of entry)
    2011-02-21 22:46:11下载
    积分:1
  • shang7
    熵值权重法matlab代码,用于计算各指标的权重(Entropy weight method matlab)
    2014-10-02 12:18:42下载
    积分:1
  • halfband_simulink_2014
    数码转换器的数字部分的matllab和simulink设计。对搞数模转换设计非常有用(design for ADC base on matlab and simulink。it is very good for you when you start your project。)
    2016-03-07 19:30:02下载
    积分:1
  • GMC_software
    用于稀疏优化的最新非凸函数GMC算法,可用于信号处理以及图像处理。(The latest non convex function GMC algorithm for sparse optimization, can be used for signal processing and image processing.)
    2017-11-05 09:09:36下载
    积分:1
  • matlabguisheji
    matlab GUI的设计说明,希望大家好好看看。(matlab GUI design statement, I hope you have a good look.)
    2010-11-17 12:00:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载