<div dir="ltr">Hi , <div>I looked at the link you mentioned; the idea that comes to mind now is that I first rotate my image so that one of the axis is aligned with the line, then extract scan line along the rotated image axis possibly after re sampling.</div><div>How do I rotate the image about a line defined by two points ?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 3, 2018 at 1:39 AM, G Tom <span dir="ltr"><<a href="mailto:gregthom992@gmail.com" target="_blank">gregthom992@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Do you have an idea how to do this averaging over the line with a radius ?<div><br></div><div>I am also looking at vtkprobefilter.</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>GT</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 31, 2018 at 6:01 PM, Dženan Zukić <span dir="ltr"><<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Tom,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">BresenhamLine does not have a radius, it is only one pixel wide. If you need some kind of averaging, you will probably need to resample the image. There was a similar question last year, that <a href="https://public.kitware.com/pipermail/community/2017-April/012924.html" target="_blank">thread</a> will probably be helpful.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div></div><div class="m_7044750562695542559HOEnZb"><div class="m_7044750562695542559h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 31, 2018 at 4:23 PM, gregthom992 <span dir="ltr"><<a href="mailto:gregthom992@gmail.com" target="_blank">gregthom992@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dzenan,<br>
<br>
itk::BresenhamLine seems to be what I need. Thanks for pointing that out. I<br>
am going through the example, how do I give it a radius ?<br>
<br>
Thanks<br>
<br>
GT<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://itk-users.7.n7.nabble.com/" rel="noreferrer" target="_blank">http://itk-users.7.n7.nabble.c<wbr>om/</a><br>
<div class="m_7044750562695542559m_-3019458232090695799HOEnZb"><div class="m_7044750562695542559m_-3019458232090695799h5">The ITK community is transitioning from this mailing list to <a href="http://discourse.itk.org" rel="noreferrer" target="_blank">discourse.itk.org</a>. Please join us there!<br>
______________________________<wbr>__<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/product<wbr>s/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" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FA<wbr>Q</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://itk.org/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">https://itk.org/mailman/listin<wbr>fo/insight-users</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>