-
matlab
精通matlab,matlab使用和开发很好的电子书(Proficient in matlab, matlab use and development of good e-book)
- 2007-07-20 11:50:43下载
- 积分:1
-
zsalgorithm
一种新的图像细化算法,可以得到准确的细化边缘。(A new thinning algorithm, can be accurately refined edge.)
- 2010-09-18 08:25:29下载
- 积分:1
-
Idelta_Bi
干涉图像光谱复原matlab仿真,主要通过设置虚拟光源光谱、对波真面分束空间干涉模型设定以及光谱复原等组成。(Resctruction the spectrum from the image of interference )
- 2021-03-28 17:19:11下载
- 积分:1
-
EMD资料汇总均可用
说明: 本压缩包是对资料进行整合,整合内容均可用。包括快速emd eemd等资料(This compression package is for data integration, and the integrated content is available. Including fast EMD EEMD and other data)
- 2020-01-05 17:46:19下载
- 积分:1
-
STFT
利用MATLAB作为平台,实现希尔伯特变换的程序源代码(Hilbert transform source code
)
- 2010-10-05 09:46:38下载
- 积分:1
-
sanwei
说明: matlab源码...利用matlab工具箱画出三维螺线。(matlab source code ... using matlab toolbox to draw three-dimensional spiral.)
- 2010-04-21 21:42:35下载
- 积分:1
-
PEAR-1.5.0
pear1.5的安装包,解压到smarty的目录基本就可以使用了。(pear1.5 installation kits, smarty extract the basic directory can use it.)
- 2007-03-12 11:16:09下载
- 积分:1
-
simulink-QuarterCarEKF (1)
说明: quarter car model for estimating vehicle states using EKF(a simple example to show how Extended kalman filter works in simulink)
- 2020-01-13 10:01:25下载
- 积分:1
-
fbg(matlab)
fbg各项参数(中心波长、线型展宽、反射谱型)的matlab具体模拟(fbg various parameters (center wavelength, line broadening, the reflection spectrum type) of matlab simulation specific)
- 2013-10-21 20:19: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