-
8
说明: 用matlab编的语音增强的一个程序,是用维纳滤波实现的,(Matlab made use of a speech enhancement procedure, Wiener filter is used to achieve,)
- 2009-01-08 10:02:34下载
- 积分: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
-
GM
说明: 灰色预测模型matlab程序标签:灰色模型 gm(1 1) 二次拟合 matlab(Gray prediction model matlab program tags: gray model of gm (1 1) quadratic fit matlab)
- 2012-06-24 20:35:54下载
- 积分:1
-
PCA_face_recognition-_Matlab
基于Matlab的PCA人脸识别算法,代码注释清楚,实现简单。(PCA face recognition algorithm based on Matlab)
- 2014-02-20 19:18:03下载
- 积分:1
-
45666011matlab__(new)
说明: 遗传算法的matlab实现程序
多个实例与多种计算方法(genetic algorithm to achieve Matlab procedures with multiple instances of multiple calculation method)
- 2006-04-15 00:46:45下载
- 积分:1
-
MATLAB--program-for-yourself
matlab 学习资料,对于初学者掌握matlab 使用有很大帮助(matlab )
- 2011-11-02 10:52:46下载
- 积分:1
-
New_fminsearchbnd
通常优化变量需要在制定的范围内选择,John D Errico开发了带有边界约束的最优化问题求解程序,并进行了改进(Optimization variables are usually required to develop a range of options, John D' Errico developed with the boundary constraints of optimization problem solving process, and an improved)
- 2010-06-12 21:08:20下载
- 积分:1
-
yantu
数字通信中的眼图程序,可以完成对滤波器的性能进行评估(Eye in digital communication program can be completed to assess the performance of the filter)
- 2011-06-07 12:38:33下载
- 积分:1
-
code
MIT的EECS学院本科新生入学第一门课程introduction_to_cs&programming的作业答案,也是学习python语言和计算机科学很好的资料。(Institute of MIT' s EECS undergraduate admission first course introduction_to_cs & programming operating the answer is to learn good python language and computer science information.)
- 2010-09-20 20:40:49下载
- 积分:1
-
newtonpoly
牛顿法插值在matlab中应用,适合数值分析初学者的应用(newton)
- 2009-12-08 21:58:37下载
- 积分:1