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'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"><<a h=
ref=3D"mailto:luis.ibanez at kitware.com">luis.ibanez at kitware.com</a>></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'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 <<a href=3D"mailto:nelfylee at gmail.com">nelfylee at gmail.com</a>> wro=
te:<br>
> Dear all,<br>
> I am trying to extract a circle from a small bmp image, the circle is =
very<br>
> clear and without any noise.<br>
> When I use Hough Circle of ITK to extract it, the result (radius and c=
enter)<br>
> is always wrong. Later,<br>
> I converted this bmp file to PNG file, and the algorithm works.<br>
> And also, I've tried other format suck as VTK file and JPG file. I=
found<br>
> hough algorithm only works with PNG file. I also changed different Ima=
ge<br>
> Reader with different pixel type.<br>
> In this case, if I want to integrate Hough into my program, what kind =
of<br>
> internal image type should I use?<br>
> Did I miss something such as Spacing info? Please give me some suggest=
ions!<br>
> Thank you very much<br>
> Best Regards!<br>
> Jiangtao<br>
> --<br>
> From Jiangtao Li @ Seoul National University<br>
><br>
</div></div><div><div></div><div class=3D"h5">> ________________________=
_____________<br>
> Powered by <a href=3D"http://www.kitware.com" target=3D"_blank">www.ki=
tware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href=3D"http://www.kitware.com/opensource/opensource.html" target=
=3D"_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href=3D"http://www.kitware.com/products/protraining.html" target=3D=
"_blank">http://www.kitware.com/products/protraining.html</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href=3D"http://www.itk.org/Wiki/ITK_FAQ" target=3D"_blank">http://w=
ww.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href=3D"http://www.itk.org/mailman/listinfo/insight-users" target=
=3D"_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
><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