-
2-dmusic
2-d music算法是在一维music算法的基础上进行的一种算法,它是需要测的是方位角和俯仰角(Algorithm for 2-d music is music in the one-dimensional algorithm based on an algorithm, it is the need to measure the azimuth and pitch angle is)
- 2007-10-10 19:21:45下载
- 积分:1
-
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
-
matlab
三维图形matlab实现,说明了个函数的用法,给出了结果(picture drawed by matlab)
- 2009-11-18 19:35:22下载
- 积分:1
-
ladder_matrix
求解输入矩阵的阶梯形式,仅供大家学习交流(Input matrix form for solving the ladder, only for them to learn from the exchange)
- 2011-06-06 16:11:27下载
- 积分:1
-
raji1
in this folder contains the Extract the files and to add the SIFT features.
- 2013-10-01 23:49:52下载
- 积分:1
-
cast
瑞利分布信号直方图的产生已经仿真,已经调试通过。(Rayleigh distribution histogram has generated signal simulation, debugging has been passed.)
- 2015-04-05 15:33:36下载
- 积分:1
-
空间谱估计理论与算法------程序
说明: 波达方向处理基础知识加算法程序,很适合新手使用(Basic knowledge and algorithm program of DOA processing)
- 2020-02-24 21:03:28下载
- 积分:1
-
despread
基于直接扩频通信基础框架,在matlab程序下运行。基于直接扩频通信基础框架,在matlab程序下运行(
Basic framework based on direct spread spectrum communication, running under matlab program.
Basic framework based on direct spread spectrum communication, running under matlab program.)
- 2015-04-13 20:18:36下载
- 积分:1
-
MockView
implement onDraw and draw a rectangle in a random color with the name of the class.
- 2014-01-13 20:41:59下载
- 积分:1
-
lu19
本例利用小波分析检测信号中的奇异点并消除(Using wavelet analysis of signal singularity detection and elimination in)
- 2012-05-16 15:18:11下载
- 积分:1