-
xiangguan
相关器可以主要对不同的信号做相关检测,可以用于信号的提取,以及时间延迟的计算(Correlator can be mainly related to do different signal detection, can be used for signal extraction, as well as the time delay calculation)
- 2007-07-13 16:37:39下载
- 积分: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
-
duoxiangshinihe
说明: 多项式拟合用于处理实验数据的一种有效方法,简单实用。并且举了一个例子三次拟合(Polynomial fitting of experimental data for processing is an effective method of simple and practical. And cited an example of three fitting)
- 2010-03-22 12:22:34下载
- 积分:1
-
Simulation
simulation matlab machine synchrone a aimant permanent
- 2015-02-01 09:38:09下载
- 积分:1
-
imageregistration
本程序,对三维重建的结果调试已通过,得到很好的实验结果,方便大家学习。(This procedure, the results of three-dimensional reconstruction of debugging has passed, get a good result, we facilitate learning.)
- 2020-12-06 20:49:33下载
- 积分:1
-
nncontroller
神经网络控制器的matlab实现,已经上传,希望能给需要的同志一些帮助(The neural network controller matlab realize, has been uploaded, I hope to give comrades need some help)
- 2013-01-25 19:48:28下载
- 积分:1
-
Learning-Programming-Using-MATLAB
Sayood K. Learning Programming Using MATLAB
- 2014-08-27 01:10:46下载
- 积分:1
-
placement
optimal placement digial antenna
- 2014-08-29 00:49:24下载
- 积分:1
-
zhishu
指数平滑法,一种数学建模的实用方法,对你的比赛,和应用很有帮助(Exponential smoothing,A good mathematical modeling tool, It is very helpful to your study MATLAB)
- 2014-09-25 17:02:39下载
- 积分:1
-
kpid
根据轮式机器人速度稳定控制系统,建立速度、电流双闭环控制系统。轮式机器人的速度与电流双闭环控制系统。(According to the speed stabilization control system of wheeled robot, the speed and current double closed-loop control system is established. Double Closed Loop Control System of Speed and Current for Wheeled Robot)
- 2020-06-16 15:20:02下载
- 积分:1