资源简介
该程序是霍夫变换,是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
- 上一篇:V2G充电桩Simuli
nk仿真 - 下一篇:投影寻踪-遗传算法MATLAB程序
相关资源
- 四旋翼MATLAB仿真文件+实验报告
- 串行级联cpm系统MATLAB仿真
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
评论
共有 条评论