No subject


Fri Mar 19 13:53:46 EDT 2010


--00c09f9231facdb6790486a08708
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi, Luis,<div><br></div><div>Thank you very much for your reply!</div><div>=
<br></div><div>I think I found out the problem, it is because of intensity =
values. After checking the source code, I found Hough Filter needs another =
condition of the input image, that is, the intensity value of circle should=
 above values outside the circle.</div>

<div><br></div><div><u>my BMP file was back circle with white outside</u>, =
that&#39;s the point.</div><div><br></div><div><br></div><div>Sorry for rep=
lying you so late, thank you very much~</div><div><br></div><div><br></div>

<div>Regards!</div><div><br></div><div>Jiangtao Li</div><div><br></div><br>=
<div class=3D"gmail_quote">2010/5/10 Luis Ibanez <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:luis.ibanez at kitware.com">luis.ibanez at kitware.com</a>&gt;</spa=
n><br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Hi Jiangtao<br>
<br>
The outcome of the Hought Filter should be independent<br>
of the file format used for reading the image in.<br>
<br>
Can you please send me the .BMP image that you are<br>
trying to run through the filter ?<br>
<br>
Also, send me the source code of the minimal program<br>
in which you observe this problem.<br>
<br>
<br>
You may want to compare that code with the content<br>
of the file:<br>
<br>
<br>
Insight/Testing/Code/BasicFilters/<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0itkHoughTransform2DCirclesImageTest.cxx<br>
<br>
<br>
<br>
You shouldn&#39;t have to convert the file format from BMP<br>
to PNG in order to process the image with ITK.<br>
<br>
<br>
<br>
 =C2=A0 =C2=A0 =C2=A0 Regards,<br>
<br>
<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Luis<br>
<br>
<br>
---------------------------------------------------------------------------=
-------<br>
<div><div></div><div class=3D"h5">On Tue, May 4, 2010 at 4:33 AM, Jiangtao =
Li &lt;<a href=3D"mailto:nelfylee at gmail.com">nelfylee at gmail.com</a>&gt; wro=
te:<br>
&gt; Dear all,<br>
&gt; I am trying to extract a circle from a small bmp image, the circle is =
very<br>
&gt; clear and without any noise.<br>
&gt; When I use Hough Circle of ITK to extract it, the result (radius and c=
enter)<br>
&gt; is always wrong. Later,<br>
&gt; I converted this bmp file to PNG file, and the algorithm works.<br>
&gt; And also, I&#39;ve tried other format suck as VTK file and JPG file. I=
 found<br>
&gt; hough algorithm only works with PNG file. I also changed different Ima=
ge<br>
&gt; Reader with different pixel type.<br>
&gt; In this case, if I want to integrate Hough into my program, what kind =
of<br>
&gt; internal image type should I use?<br>
&gt; Did I miss something such as Spacing info? Please give me some suggest=
ions!<br>
&gt; Thank you very much<br>
&gt; Best Regards!<br>
&gt; Jiangtao<br>
&gt; --<br>
&gt; From Jiangtao Li @ Seoul National University<br>
&gt;<br>
</div></div><div><div></div><div class=3D"h5">&gt; ________________________=
_____________<br>
&gt; Powered by <a href=3D"http://www.kitware.com" target=3D"_blank">www.ki=
tware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href=3D"http://www.kitware.com/opensource/opensource.html" target=
=3D"_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href=3D"http://www.kitware.com/products/protraining.html" target=3D=
"_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href=3D"http://www.itk.org/Wiki/ITK_FAQ" target=3D"_blank">http://w=
ww.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href=3D"http://www.itk.org/mailman/listinfo/insight-users" target=
=3D"_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>From Jiangt=
ao Li @ Seoul National University<br>

--00c09f9231facdb6790486a08708--


More information about the Insight-users mailing list