-
digitalholography
含有GUI的全息图再现代码,方便使用,可以好好学习一下(Hologram reconstruction with GUI code, easy to use, you can learn about)
- 2010-09-07 17:10:33下载
- 积分:1
-
fractal
使用盒维数法求一幅大小为N*N图象的分形维数(The use of box dimension method the size of an N* N image fractal dimension)
- 2008-07-15 09:26:41下载
- 积分:1
-
Desktop
matlab机器人避障仿真!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(Simulation of the robot obstacle avoidance)
- 2014-08-13 22:53:18下载
- 积分:1
-
PDE-guide
This is a complete guide of the Partial Differential Equation Toolbox of Matlab
- 2011-11-30 05:44:24下载
- 积分:1
-
上机1
大地测量基础大地经纬度转大地直角坐标大地测量基础大地经纬度转大地直角坐标(Geodetic foundation geodetic longitude and latitude to Geodetic rectangular coordinates
Geodetic foundation geodetic longitude and latitude to Geodetic rectangular coordinates)
- 2019-04-30 09:26:28下载
- 积分: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
-
-MIT-MATLAB-lecture
搜集到的麻省理工学院的 matlab教程
感觉讲的很不错(Collected MIT matlab tutorial speak very good feeling)
- 2013-03-15 16:16:16下载
- 积分:1
-
newproject
this code first reads an image and decomposed it in discrete wavelet transformation.hl1 and hl2 are extracted to embed watermark. watermark is added to hl1 and lh1 and inverse dwt is applied.
- 2010-05-14 16:23:31下载
- 积分:1
-
TransformerHse
变电站谐波状态估计程序,通过量测两个节点的电压和电流,计算得到另一个节点的电压电流相量,两个量测节点相角不同步,以一个节点相角为基准。(Substation harmonic state estimation procedure, by measuring the voltage and current of two nodes, one node is calculated voltage and current phasor, two phase angle measurement nodes are not synchronized with a phase angle of the reference node.)
- 2013-10-28 17:09:20下载
- 积分:1
-
FLch5eg1
采用CMAC网络对对频率为0.1572HZ的谐波进行辨识,选择联想单元A*=4,权值Wa=W1+W2+W3+W4( CMAC group program,include four sub-CMAC
CMAC program 1)
- 2009-05-05 09:46:36下载
- 积分:1