<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body dir="auto">
<div>Hi Juan,</div>
<div><br>
</div>
<div><br>
</div>
<div>Yes, if you have some info on what I might need to do to setup the filter that would be great....</div>
<div><br>
</div>
<div>Thanks </div>
<div><br>
</div>
<div>Rick<br>
<br>
Sent from my iPad</div>
<div><br>
On Oct 28, 2013, at 12:50 AM, "Juan Rodríguez" <<a href="mailto:juanrdz@gmail.com">juanrdz@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">
<div>
<div>Richard, <br>
<br>
I made an implementation a few months ago using the same filter. I did not need to change anything to the code to get it working, but I did had some trouble finding the parameters to obtain what I expected.
<br>
<br>
</div>
If you need some info, let me know so I take a look on my code. <br>
<br>
</div>
Juan Rodriguez<br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr"><br>
----<br>
<br>
Ing. Juan Andrés Rodríguez</div>
</div>
<br>
<br>
<div class="gmail_quote">On Sun, Oct 27, 2013 at 8:36 PM, Richard Frank <span dir="ltr">
<<a href="mailto:rfrank@dominionsw.com" target="_blank">rfrank@dominionsw.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am prototyping in Matlab and then implementing in ITK.<br>
<br>
When moving my line detection code to ITK, using the Houghtransform2DLinesImageFilter I got results that were not what I expected.<br>
<br>
I then created a simple input tiff file with a single white line.<br>
<br>
In Matlab, the output Hough space looks "correct".<br>
<br>
In ITK, the Output() image ( which is the Hough space) looks "different".<br>
<br>
In looking at the code , I notice that the accumulator image for the Hough space seems to be the wrong size, and the inner loop goes from -180 to 180.....<br>
<br>
I believe it should only need to span -90 to 90.<br>
<br>
Also, if you use -90 to 90 I believe it's more usual to offset the Hough space so the origin is in the center.<br>
<br>
I made changes as I describe above, and now my output space matches Matlab's.<br>
<br>
Not sure where to go with this. I don't want to conclude the code doesn't work- maybe I'm not using it as intended. But I think all one has to do is create a file with a few lines and run the example code from the wiki and see if the output is correct.<br>
<br>
The example code has not input or output data included, so there's no way to know what the intended input / output should look like.<br>
<br>
<br>
Rick Frank<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</body>
</html>