[ITK-users] Extract Line/Intensity profile from image given start and stop points

G Tom gregthom992 at gmail.com
Sat Feb 3 02:37:40 EST 2018


Hi ,
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.
How do I rotate the image about a line defined by two points ?

On Sat, Feb 3, 2018 at 1:39 AM, G Tom <gregthom992 at gmail.com> wrote:

> Do you have an idea how to do this averaging over the line with a radius ?
>
> I am also looking at vtkprobefilter.
>
> Thanks
>
> GT
>
> On Wed, Jan 31, 2018 at 6:01 PM, Dženan Zukić <dzenanz at gmail.com> wrote:
>
>> Hi Tom,
>>
>> 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 thread
>> <https://public.kitware.com/pipermail/community/2017-April/012924.html>
>> will probably be helpful.
>>
>> Regards,
>> Dženan
>>
>> On Wed, Jan 31, 2018 at 4:23 PM, gregthom992 <gregthom992 at gmail.com>
>> wrote:
>>
>>> Hi Dzenan,
>>>
>>> itk::BresenhamLine seems to be what I need. Thanks for pointing that
>>> out. I
>>> am going through the example, how do I give it a radius ?
>>>
>>> Thanks
>>>
>>> GT
>>>
>>>
>>>
>>> --
>>> Sent from: http://itk-users.7.n7.nabble.com/
>>> The ITK community is transitioning from this mailing list to
>>> discourse.itk.org. Please join us there!
>>> ________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.php
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> https://itk.org/mailman/listinfo/insight-users
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://itk.org/pipermail/insight-users/attachments/20180203/3aac8571/attachment.html>


More information about the Insight-users mailing list