-
MATLAR2008code
MATLABR2008数学和控制实例教程-代码文件(matlab)
- 2010-09-06 13:36:03下载
- 积分:1
-
iMusic
iMusic
一个在线音乐源码 (music online)
- 2010-10-02 16:44:07下载
- 积分:1
-
nihefenbu
说明: 拟合各种常见分布程序,产检的威布尔分布,瑞利分布,K分布等分布,采用语言为matlab。(Fitting a variety of common distribution procedures, check-Weibull distribution, Rayleigh distribution, K distribution of the distribution, the use of language matlab.)
- 2011-04-08 21:07:32下载
- 积分:1
-
entropy
该代码可以用,MATLAB实现图像信息熵计算,在图像处理中很实用,评价图像质量。(This code can be used, MATLAB for image information entropy calculations, image processing is very practical, uate the image quality.)
- 2014-11-21 18:26:19下载
- 积分:1
-
GUTICHAO
基于MATLAB的重力固体潮理论值计算,适合初学者学习的。(The theoretical calculation of the tidal gravity based on MATLAB, suitable for beginners to learn.)
- 2014-12-26 15:00:14下载
- 积分: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
-
BD_IP2006
variational bayesian blind image restoration
- 2010-07-23 19:41:32下载
- 积分:1
-
Automobile
余志生汽车理论书后习题解答matlab程序(Yu Zhisheng car theory book Answers to matlab program)
- 2010-10-09 19:28:14下载
- 积分:1
-
yinpinchuli
用matlab实现音频处理功能,两个音频文件模和相位互换,比较互换之后的音频文件的效果(using Matlab achieve audio processing functions, two audio files modulus and phase swap Comparing the exchange of audio files after the results)
- 2007-05-15 08:46:52下载
- 积分:1
-
matlab
擷取下來的指紋,
周邊環境雜訊太多,
可使用分割步驟, 先將又笑的指紋分割下來(Fingerprint capture down, too much noise surrounding environment, use separate steps, first laugh of the fingerprint split down)
- 2011-08-17 15:46:26下载
- 积分:1