[Insight-users] registration using rotation + translation

Kevin Neff kevin.l.neff at gmail.com
Mon Dec 20 18:47:14 EST 2010


Is there a way to rotate an image without clipping it to the original image
size?

Seems like this should be easy, but it's like pulling teeth.  You guys
probably think I'm just a n00b, but I have programming experience and have
frequently consulted the Guide, class hierarchy, and example codes.  I am
following up on all of the suggestions, so I hope you'll take my question
seriously.

I am trying to use ITK because trying to code up my own fast-enough
interpolation routine was taking too long.  My hope was that I could use ITK
instead of re-inventing the wheel, but now I'm caught between a rock and a
hard place.

Anyway, I just tried the PermuteAxesImageFilter, but it's not quite what I
need.  See, it rotates the image 90 deg, but I need -90 deg.  Thanks for the
suggestion.

KLN









On Fri, Dec 10, 2010 at 7:31 AM, David Doria <daviddoria at gmail.com> wrote:

> On Fri, Dec 10, 2010 at 5:38 AM, Luis Ibanez <luis.ibanez at kitware.com>
> wrote:
> > Hi KLN,
> >
> > The itkPermuteAxesImageFilter.h
> > might be what you are looking for.
> >
> > http://www.itk.org/Doxygen/html/classitk_1_1PermuteAxesImageFilter.html
>
> If so, here is an example:
> http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/PermuteAxesImageFilter
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101220/7450c44d/attachment.htm>


More information about the Insight-users mailing list