[ITK] ITK -- Transform an image with a change of coordinates
Matt McCormick
matt.mccormick at kitware.com
Thu Oct 16 00:14:17 EDT 2014
Hi Gaetano,
Yes, using a Transform is one way to go. See this Insight Journal
article [1] and this class [2].
Hope this helps,
Matt
[1] http://insight-journal.org/browse/publication/722
[2] http://www.itk.org/Doxygen/html/classitk_1_1AzimuthElevationToCartesianTransform.html
On Tue, Oct 14, 2014 at 6:23 PM, Gaetano Esposito
<gaetano.esposito at outlook.com> wrote:
> Hello,
>
> I apologize in advance for using a vague language, but I just started to
> play with image processing and segmentation.
>
> Given an image, I would like to define an arbitrary origin, get the
> coordinates of every pixel from Cartesian (x,y) to polar(rho, theta), and
> then create a new image whose x axis is "rho" and whose y axis is "theta".
> In other words, I would like to map a circular image in Cartesian
> Coordinates to a periodic line in polar coordinates.
>
> I am a little confused about how I would achieve this in ITK.
> I believe that I can take advantage of a couple of Transform based
> Polar-Cartesian algorithms out there, some of them published on the Insight
> Journal. The transform typically seems to act on a single point.
>
> Is using a transform the right approach? If yes, once I have the correct
> transform from Cartesian to Polar, how do I create the "polar" image that I
> am seeking?
>
> Thanks for your feedback,
>
> Gaetano
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
More information about the Community
mailing list