-
PINBALL
Pin Ball IN C++ Plateforn Turbo C++
- 2010-11-11 06:30:05下载
- 积分:1
-
data2010.11.11
实验数据,可用于仿真,或科学研究分析,用Matlab 打开(Exp data)
- 2010-11-20 22:54:27下载
- 积分:1
-
moshifenlei
经典书籍《模式分类》杜达编写,包含了其中所有的算法的MATLAB代码,有助于大家对算法的学习。(Classic books " classification" Duda preparation, which contains all of the algorithm MATLAB code, help you learn the algorithm.)
- 2013-07-12 08:53:26下载
- 积分:1
-
KIM模型
说明: Kim模型仿真的MATLAB代码。利用Kim模型计算衰减系数作为能见度的函数。(To evaluate attenuation coefficient as a function of visibility.Using the Kim model.)
- 2020-05-10 20:49:01下载
- 积分:1
-
sqtest
对信源进行标量量化,量化至用户给定的量化级和量化范围中(To source for scalar quantification, quantification to users of the given quantitative level and quantitative range
)
- 2011-12-29 16:17:47下载
- 积分: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
-
fotoeditor56
maybe be about usefull
- 2011-10-19 10:32:48下载
- 积分:1
-
knapsack
01背包问题的matlab的实现,方便大家下载学习。(01 knapsack problem matlab realize, convenient download learning.)
- 2012-09-04 15:10:30下载
- 积分:1
-
modoptimization
MOdulation optimization for green communications
- 2015-01-13 16:38:07下载
- 积分:1
-
jisuanqi
实现加减乘除sqr和abs函数的任意整型和浮点型运算(Addition and subtraction and multiplication and division to achieve abs function sqr arbitrary integer and floating-point operations)
- 2009-06-07 20:57:15下载
- 积分:1