資源簡介
Matlab遙感道路提取之Hough檢測
代碼片段和文件信息
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(...)‘.
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‘?5);
????end
end
hold?off;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-11-16?20:33??Matlab遙感道路提取之Hough檢測\
?????文件?????????661??2011-10-20?19:52??Matlab遙感道路提取之Hough檢測\DrawLines_2Ends.m
?????文件????????2251??2011-10-20?19:52??Matlab遙感道路提取之Hough檢測\DrawLines_Polar.m
?????文件???????22406??2011-10-20?19:52??Matlab遙感道路提取之Hough檢測\Hough_Grd.m
?????文件??????262878??2011-10-20?19:52??Matlab遙感道路提取之Hough檢測\圖像.bmp
評論
共有 條評論