Path: news.mathworks.com!not-for-mail
From: "Anil Kumar Reddy " <g_anilkumarreddy@yahoo.co.in>
Newsgroups: comp.soft-sys.matlab
Subject: Re: extracting a line from an image using hough transform
Date: Wed, 18 Feb 2009 05:31:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <gng6el$372$1@fred.mathworks.com>
References: <gndn21$3lm$1@fred.mathworks.com> <gndo5v$epc$1@fred.mathworks.com>
Reply-To: "Anil Kumar Reddy " <g_anilkumarreddy@yahoo.co.in>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1234935061 3298 172.30.248.37 (18 Feb 2009 05:31:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 18 Feb 2009 05:31:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1716966
Xref: news.mathworks.com comp.soft-sys.matlab:519037


i want to detect a horizontal line and represent it. i have used the canny edge detection technique in the hough transform
> > hello,
> >   i have been using hough transform to detect lines in an image. how could i display the lines based on the angle theta; for example to detect a horizontal line i need to use a theta value of 180; how to do it?
> >      thanks in advance
> 
> Do you want to detect a particular line or just to represent it?
> 
> If you just want to represent it, it should be straightforward, like
> 
> line([xinit xend],[b b]);
> 
> with b = the height of your line.
> 
> If it doesn't answer your question, please be more precise!