-
daisymiaoshuzi
有关daisy描述子的代码,是matlab程序(The daisy descriptor code, is a matlab program)
- 2010-05-16 15:13:25下载
- 积分:1
-
harmaSyllableSeg
a program to segmentation of syllable in speech processing
- 2011-09-01 02:18:03下载
- 积分:1
-
3---Mobile-Robot-Kinematics
Autonomous Robotics Mobile Robot Kinematics
- 2015-01-11 01:59:00下载
- 积分:1
-
nm1
this code uses newtons method but in the form for function to solve non linear equations. use all the file available in the rar file to run the code.
- 2011-11-21 18:54:07下载
- 积分: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
-
tongxin
通信原理的MATLAB编程,满足对课本基础知识的理解,包括调制解调。(Communication Theory of the MATLAB programming to meet the basic knowledge to understand the textbook, including the modem.)
- 2009-05-17 16:02:26下载
- 积分:1
-
track.m
TRACKING AN OBJECT IN A SEA ARE FROM RADAR SONAR
- 2014-11-28 21:58:35下载
- 积分:1
-
LEE
LEE滤波算法,用于SAR的相干斑滤波,可以自由设定一些参数,见函数帮助。(LEE filtering algorithm)
- 2013-07-19 11:17:31下载
- 积分:1
-
C_V
几何活动轮廓模型中著名的Chan-Vese模型大matlab程序代码(Chan-vese model program)
- 2014-10-31 10:26:32下载
- 积分:1
-
number-recognition
一种非常实用的识别数字的matlab程序,内有使用说明(the code can be used to recognition numbers)
- 2013-12-29 16:47:58下载
- 积分:1