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

資源簡介

該程序是霍夫變換,是MATLAB程序,學習圖像處理和機器視覺的同學很有幫助。

資源截圖

代碼片段和文件信息

function?DrawLines_2Ends(lineseg?varargin)
%Draw?line?segments?parameterized?as?(x1?x2?y1?y2)?on?graph
%
%??DrawLines_2Ends(lineseg?varargin)
%??A?simple?function?for?drawing?line?segments?on?graph.?Made?as?an
%??auxiliary?tool?for?function?‘[...]?=?Hough_Grd(...)‘.
%
%??INPUT:?(lineseg?properties)
%??lineseg:?????Parameters?(x1?x2?y1?y2)?of?line?segments?to?draw.
%???????????????Is?a?Ns-by-4?matrix?with?each?row?contains?the?parameters
%???????????????(x1?x2?y1?y2)?that?define?the?two?ends?of?a?line
%???????????????segment.?The?output?‘lineseg‘?from?the?function
%???????????????‘[...]?=?Hough_Grd(...)‘?can?be?put?here?directly.
%??properties:??(Optional)
%???????????????A?string?of?line?drawing?properties.?Will?be?transferred
%???????????????to?function?‘plot‘?without?modification?for?line?drawing.
%
%??OUTPUT:?None
%
%??BUG?REPORT:
%??Please?send?your?bug?reports?comments?and?suggestions?to
%??pengtao@glue.umd.edu?.?Thanks.

%??Author:??Tao?Peng
%???????????Department?of?Mechanical?Engineering
%???????????University?of?Maryland?College?Park?Maryland?20742?USA
%???????????pengtao@glue.umd.edu
%??Version:?alpha???????Revision:?Dec.?02?2005


hold?on;
for?k?=?1?:?size(lineseg?1)
????%?The?image?origin?defined?in?function?‘[...]?=?Hough_Grd(...)‘?is
????%?different?from?what?is?defined?in?Matlab?off?by?(0.5?0.5).
????if?nargin?>?1
????????plot(lineseg(k1:2)+0.5?lineseg(k3:4)+0.5?varargin{1});
????else
????????plot(lineseg(k1:2)+0.5?lineseg(k3:4)+0.5?‘LineWidth‘?2);
????end
end
hold?off;

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-11-23?21:12??基于霍夫變換的MATLAB程序代碼\
?????文件????????1584??2005-12-03?01:45??基于霍夫變換的MATLAB程序代碼\DrawLines_2Ends.m
?????文件????????3174??2005-12-03?01:56??基于霍夫變換的MATLAB程序代碼\DrawLines_Polar.m
?????文件???????22599??2005-12-06?06:04??基于霍夫變換的MATLAB程序代碼\Hough_Grd.m
?????文件??????144780??2005-11-29?07:05??基于霍夫變換的MATLAB程序代碼\TestHT_Arch.png
?????文件???????46511??2005-12-03?01:31??基于霍夫變換的MATLAB程序代碼\TestHT_Box1.jpg
?????文件??????345920??2005-12-02?11:12??基于霍夫變換的MATLAB程序代碼\TestHT_Chkbd1.bmp
?????文件??????212242??2005-11-29?07:06??基于霍夫變換的MATLAB程序代碼\TestHT_Pentagon.png
?????文件????????2122??2018-10-06?16:18??基于霍夫變換的MATLAB程序代碼\extr.m
?????文件????????1329??2009-08-11?23:47??基于霍夫變換的MATLAB程序代碼\license.txt

評論

共有 條評論