91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 10KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-11
  • 語言: Matlab
  • 標(biāo)簽: matlab??hough??

資源簡介

hough變換實(shí)現(xiàn)圓形、直線檢測(cè)的matlab源代碼

資源截圖

代碼片段和文件信息

%?clear?all;?close?all;?clc;
function?[ncirst]=circle_product
ncir=ones(300300);
[mn]=size(ncir);
center=[0?0];%x=(b-a)*r?+?a
center(1)=round(((0.6-0.5)*rand+0.5)*m);%y
center(2)=round(((0.6-0.5)*rand+0.5)*n);%x
ol=ones(15);ol(1)=abs(center(1)-1);ol(2)=abs(center(1)-m);ol(3)=abs(center(2)-1);ol(4)=abs(center(2)-n);
for?i=1:1:4
????if?ol(i)<=ol(i+1)
????????ol(5)=ol(i);
????????ol(i)=ol(i+1);
????????ol(i+1)=ol(5);
????end
????ol(5)=ol(i+1);
end
r=round(ol(5)*(3/4));
for?k1=1:1:m
????for?k2=1:1:n
???????xxx=k2-1;yyy=m+1-k1;
???????if?abs(((xxx-center(2))*(xxx-center(2))+(yyy-center(1))*(yyy-center(1)))-r*r)<=101
???????????ncir(k1k2)=0;
???????end
????end
end
imwrite(ncir‘E:\MATLAB6p5\work\circle.bmp‘‘bmp‘);
i2=imread(‘E:\MATLAB6p5\work\circle.bmp‘);
????figure;
????imshow(i2);
????st=[center(2)center(1)r]

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

????.CA....?????12062??2007-11-20?22:17??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\circle1.bmp

????.CA....???????854??2007-11-20?00:41??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\circle_product.m

????.CA....??????2587??2007-11-20?22:45??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\circle_try.m

????.CA....??????2669??2007-11-20?22:44??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\circle_try_hu.m

????.CA....???????294??2007-11-19?19:53??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\gather_point.m

????.CA....??????1797??2007-11-19?23:46??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\machZ_try.m

????.CA....???????256??2007-11-17?00:33??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\pll.m

????.CA....???????511??2007-11-20?22:49??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\the_max1.m

????.CA....?????91078??2007-11-20?21:54??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\找出的圓.bmp

????.CA....?????64462??2007-11-21?21:14??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\找出的直線.bmp

????.CA....????????60??2007-11-20?21:54??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\新建?文本文檔.txt

????.CA....??????8958??2007-11-19?23:45??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab\直線在其中.bmp

????.C.D...?????????0??2009-03-11?15:16??復(fù)件?Hough_用霍夫曼方法檢測(cè)圓、直線?Matlab

-----------?---------??----------?-----??----

???????????????185588????????????????????13


評(píng)論

共有 條評(píng)論