-
work3
用matlab编写的神经网络实例。需要的可以下。(Matlab prepared with examples of neural network. Need to be under.)
- 2008-03-18 00:41:12下载
- 积分: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
-
plane-FEM
有限元分析计算的matlab程序,希望对大家有所帮助(finite element analysis of Matlab procedures, we hope to help)
- 2007-03-11 16:46:18下载
- 积分:1
-
jiechishoumingyuce
基于MATLAB的支持向量机的采煤机滚筒截齿疲劳寿命预测方法(Shearer MATLAB support vector machine drum picks fatigue life prediction method based on)
- 2015-07-06 14:06:44下载
- 积分:1
-
datatrafficmodel
data traffic model matlab code
- 2011-01-08 18:29:55下载
- 积分:1
-
IMAREAD1
This file is to read an image in C++.
- 2011-01-27 00:40:49下载
- 积分:1
-
JumpBallluodi
小球落地弹跳过程仿真。 可以在界面中输入小球的初始高度,初速度,落地弹跳后的能量损失,重力加速度等参数来显示小球的运动轨迹。(bouncing ball landed process simulation. The input interface of the initial ball high early speed, bouncing landing after the energy losses gravity parameters to show the ball trajectory.)
- 2006-06-09 00:52:59下载
- 积分:1
-
fastica
简单的fastICA程序,基于matlab实现盲分离,比较实用。(FastICA simple procedure, based on matlab realize blind separation, more practical.)
- 2014-10-01 14:40:48下载
- 积分:1
-
ECWMF_MK
有关再分析数据的MK检验MATLAB程序(test to analyze the data)
- 2015-03-10 20:04:45下载
- 积分:1
-
30案例源码
说明: matlab中的三十个经典机器学习案例源码(30 classical machine learning cases while coding with Matlab.)
- 2020-07-08 00:28:58下载
- 积分:1