资源简介
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
评论
共有 条评论