Re: [ITK-users] Extract Line/Intensity profile from image given start and stop points
G Tom <[email protected]> Sat, 3 Feb 2018 02:37:40 -0500
| Newsgroups | gmane.comp.lib.itk.user |
|---|---|
| Message-ID | <CAFh_-OOK-yMPMVjLyq_a5yi-Gxib4=qTphDJYNziKdKe4jxK=A@mail.gmail.com> |
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 <[email protected]> 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ć <[email protected]> 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 <[email protected]> >> 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 >>> >> >> > 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