• 大小: 80KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-09
  • 语言: Matlab
  • 标签: matlab  

资源简介

matlab实现的hough变换直线检测,单独的.m文件,方便插入调用。

资源截图

代码片段和文件信息

function [sthetaacc]=hough_lines(varargin);
%HOUGH_LINES Hough transform line detection.
% CMP Vision Algorithms http://visionbook.felk.cvut.cz
%
% Find all straight lines in an image using the Hough transform
%  : the input of this routine is an
%  edge image obtained for example by the Canny edge detector 
%  We use the (thetas) line parameterization with origin in the
%  center of the image .
%  
% Usage: [sthetaacc] = hough_lines(imtheta_steps_stepthresh)
% Inputs:
%  im   [m x n]  Input edge image: non-zero values are edges
%                 the value corresponds to edge strength. This may be
%                 used for weighting the edges by the gradient magnitude.
%  theta_step  (default /360)  Discretization step for the
%    angle theta in radians.
%  s_

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      78274  2010-04-29 16:57  hough_lines\chess.jpg

     文件       5952  2018-12-04 19:25  hough_lines\hough_lines.m

     文件       3083  2018-12-04 19:33  hough_lines\hough_lines_demo.m

     目录          0  2018-12-12 14:54  hough_lines

----------- ---------  ---------- -----  ----

                87309                    4


评论

共有 条评论