[Insight-users] Hough Transform for 2D lines

Julien Jomier jjomier at cs.unc.edu
Fri, 30 Jan 2004 10:30:36 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0044_01C3E71C.195BE820
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Swati,

This may be a problem with the parameters you are using (or something =
else...)
The gradient calculation is done internaly in the example so you =
shouldn't have to pre-compute the gradient image.

Can you send me your input image?

Julien=20
  ----- Original Message ----=20
  From: Swati Mital=20
  To: Insight-users at itk.org=20
  Sent: Thursday, January 29, 2004 7:57 PM
  Subject: [Insight-users] Hough Transform for 2D lines


  Hi everyone,

  I want to detect 2D lines in an image using the =
HoughTransformFor2DLines example provided in ITK 1.6.0 toolkit.=20

  I have used RGB, grayscale and gradient detected images as input to =
the HoughTransform for 2D Lines program, but none of them give the right =
result.  Moreover, they all give similar lines which run diagonally and =
look like a cross.

  Any ideas??

  Swati
------=_NextPart_000_0044_01C3E71C.195BE820
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Swati,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This may be a problem with the =
parameters you are=20
using (or something else...)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The gradient calculation is done =
internaly in the=20
example so you shouldn't have to pre-compute the gradient =
image.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can you send me&nbsp;your input =
image?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Julien</FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ---- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dswati_mital at hotmail.com =
href=3D"mailto:swati_mital at hotmail.com">Swati=20
  Mital</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3DInsight-users at itk.org=20
  href=3D"mailto:Insight-users at itk.org">Insight-users at itk.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, January 29, =
2004 7:57=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Insight-users] Hough =
Transform=20
  for 2D lines</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
  face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>Hi everyone,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I want to detect 2D lines in an image =
using the=20
  HoughTransformFor2DLines example provided in ITK 1.6.0 toolkit. =
</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I have used RGB, grayscale and =
gradient detected=20
  images as input to the HoughTransform for 2D Lines program, but none =
of them=20
  give the right result.&nbsp; Moreover, they all give similar lines =
which run=20
  diagonally and look like a cross.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Any ideas??</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2>Swati</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0044_01C3E71C.195BE820--