登录
首页 » matlab » sol

sol

于 2012-01-01 发布 文件大小:657KB
0 84
下载积分: 1 下载次数: 5

代码说明:

  canny edge detector implemented in matlab using as little loops as possible for maximum efficiency

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 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
  • Video
    Video Demystified - 3rd Edition(Video Demystified- 3rd Edition)
    2010-07-06 13:36:11下载
    积分:1
  • MATLAB
    matlab教程,有些还是很有用的,看看吧(matlab tutorials, some are very useful to see it)
    2008-05-24 17:22:16下载
    积分:1
  • MatlabPPT
    说明:  matlab经典ppt 适合初学者 高等院校专用课件(matlab classic private institutions of higher learning courseware for beginners ppt)
    2010-04-22 15:49:35下载
    积分:1
  • anaask
    产生一个幅移键控(ASK)信号,具有正态分布的随机幅度。(have a rate-shift keying (ASK) signal is normally distributed random rate.)
    2007-04-02 17:11:27下载
    积分:1
  • An-overview-of-hrr-radar-techniques
    An overview of high range resolution radar techniques
    2012-06-30 19:11:35下载
    积分:1
  • Taup-reflectivity-modering
    Taup域的反射法正演MATLAB程序,还不错,希望大家下去看看!(Taup domain reflectometry forward MATLAB program, well, I hope you go to see!)
    2015-04-17 18:19:04下载
    积分:1
  • siftDemoV4
    sift算法进行特征匹配的程序,先检测出关键点,找到两幅图像的关键点连线,里边附有几张图片,效果不错!(code for keypoint match based on sift,the performance is good!)
    2010-12-23 16:32:28下载
    积分:1
  • ofdm
    基于OFDM的ls lmmse lr-lmmse系统的仿真(Based OFDM ls lmmse the lr-lmmse simulation)
    2021-04-14 12:58:55下载
    积分:1
  • wireless_communication
    无线通信经典数据,并且配有对应的matlab仿真程序,读者可以掌握对应的技术细节(The classic wireless communication data, and with the the corresponding Matlab simulation program, the reader can grasp the corresponding technical details)
    2013-03-04 10:34:45下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载