-
li9_23
clear all
I=imread( lena.bmp )
figure imshow(I)
I2=imrotate(I,-4, bilinear ) 逆时针旋转4度
figure imshow(I2)
I3=fliplr(I) 垂直镜像
figure imshow(I3)
I4=imresize(I,0.5, bilinear ) 缩小为原图的1/2
figure imshow(I4)
A=double(I) 转换为double类型
计算7个不变矩
[nc,nr]=size(A)
[x,y]=meshgrid(1:nr,1:nc) 得到网格
x=x(:)
y=y(:)
A=A(:)
m.m00=sum(A)
if m.m00==0
m.m00=eps
end
m.m10=sum(x.*A)
m.m01=sum(y.*A)
计算均值
xmean=m.m10/m.m00
ymean=m.m01/m.m00
计算中心矩(li9_23.rar
cm.cm00=m.m00
cm.cm02=(sum((y-ymean).^2.*A))/(m.m00^2)
cm.cm03=(sum((y-ymean).^3.*A))/(m.m00^2.5)
cm.cm11=(sum((x-xmean).*(y-ymean).*A))/(m.m00^2)
cm.cm12=(sum((x-xmean).*(y-ymean).^2.*A))/(m.m00^2.5)
cm.cm20=(sum((x-xmean).^2.*A))/(m.m00^2)
cm.cm21=(sum((x-xmean).^2.*(y-ymean).*A))/(m.m00^2.5)
cm.cm30=(sum((x-xmean).^3.*A))/(m.m00^2.5)
im(1)=cm.cm20+cm.cm02
im(2)=(cm.cm20-cm.cm02)^2+4*cm.cm11^2
im(3)=(cm.cm30-3*cm.cm12)^2+(3*cm.cm21-cm.cm03)^2
im(4)=(cm.cm30+cm.cm12)^2+(cm.cm21+cm.cm03)^2
im(5)=(cm.cm30-3*cm.cm12)*(cm.cm30+cm.cm12)...
*((cm.cm30+cm.cm12)^2-3*(cm.cm21+cm.cm03)^2)...
+(3*cm.cm21-cm.cm03)*(cm.cm21+cm.cm03)...
+(3*(cm.cm30+cm.cm12)^2-(cm.cm21+cm.cm03)^2)
im(6)=(cm.cm20-cm.cm02)*((cm.cm30+cm.cm12)^2-(cm.cm21+cm.cm03)^2)...
+4*cm.cm11*(cm.cm30+cm.cm12)*(cm.cm21+cm.cm03)
im(7)=(3*cm.cm21-cm.cm03)*(cm.cm30+cm.cm12)...
*((cm.cm30+cm.cm12)^2-3*(cm.cm21+cm.cm03)^2)...
+(3*cm.cm12-cm.cm30)*(cm.cm21+cm.cm03)...
*()
- 2010-10-17 21:53:14下载
- 积分:1
-
search_k_peak
说明: 峰值搜索的算法,可对法来波方向进行估计中的谱峰提取的一种方法(Peak search algorithm, the direction of the method to estimate the wave spectrum peak extraction method)
- 2020-10-19 15:07:26下载
- 积分:1
-
matlabppt
matlab程序设计教程,很好的入门ppt(matlab programming tutorial, a good entry-ppt)
- 2009-04-20 11:09:01下载
- 积分:1
-
lkk
进行波束形成并画出图片,时域频域和DFT波束形成 (For the beam formation and draw pictures, DFT frequency domain and time domain beam-forming)
- 2012-04-29 11:33:48下载
- 积分:1
-
wuxianshepinshineidingwei
这个是关于无线射频识别室内定位系统的编程框架,如果你想学习室内定位系统的编程,可以参考这个,可能会给你启发(This is about the RFID indoor positioning system, programming framework, if you want to learn programming indoor positioning system, can refer to this, it might give you inspiration)
- 2011-06-06 21:34:24下载
- 积分:1
-
Costas2
科斯塔斯环的matlab仿真过程,可以直接运行,其模拟了GPS中载波环的运作过程(Costas loop the matlab simulation process can be run directly simulate GPS carrier ring operation)
- 2012-08-25 00:53:44下载
- 积分:1
-
DSP-for-Matlab-and-Labview-I-Fundamentals-of-Disc
This book is about some examples of simulating DSP with Matlab
- 2013-09-23 20:09:44下载
- 积分:1
-
main
不错的粒子群程序,对初学者很有帮助,有完整的注释,通过了测试,可以很好的运行,希望对初学者有帮助。(Good PSO program, useful for beginners, complete notes, passed the test can be a good run, and I hope to help beginners.)
- 2013-12-09 16:55:59下载
- 积分:1
-
SPREAD_SPECTRUM_COMMUNICATIONS_HANDBOOK
扩频通信技术教程
这是一本关于CDMA扩频技术的经典书籍,国内曾经出版过英文影印版。
【原书作者】: Marvin K. Simon, Jim K. Omura, Robert A. Scholtz, Barry K. Levitt
【ISBN 】: 0071382151
【页数 】:1248
【出版社】 : McGraw-Hill Professional 1 edition
【出版日期】:September 26, 2001(Spread-spectrum communication technology tutorial This is a classic on the CDMA spread spectrum technology, books, photocopies of the domestic version was published in English. 】 【Original author: Marvin K. Simon, Jim K. Omura, Robert A. Scholtz, Barry K. Levitt】 【ISBN: 0071382151 【Pages】: 1248 【Press】: McGraw-Hill Professional 1 edition 【Publishing Date】: September 26, 2001)
- 2010-06-07 17:45:10下载
- 积分:1
-
Image_Matching
毕业设计全部参考,关于图像匹配的近期文献(All reference to graduation, the recent literature on image matching)
- 2010-11-08 16:31:27下载
- 积分:1