[Insight-users] How to implement to only rotate images in the
Luis Ibanez
luis.ibanez at kitware.com
Tue Mar 27 08:24:45 EST 2007
Hi ÒÂÎÄÎÄ
There is not an equivalent of a rotation-only
Transform for 2D in ITK.
You could get a similar effect by using the
itkRigid2DTransform.txx and setting the
optimizer scaling values in such a way that
translations will be insignificant.
You can also write your own 2D rotation-only
Transform by deriving from the itkRigid2DTransform
and overloading the GetParameters() and SetParameters()
methods.
Regards,
Luis
-----------------
ÒÂÎÄÎÄ wrote:
> Hi Luis,
>
> Thank you for your reply.
> The VersorTransform is very useful for me.
> I want to know if there is such a transform for 2D images.
>
> Regards,
> Yi Wenwen
>
> ÔÚ2007-03-26£¬Luis Ibanez <luis.ibanez at kitware.com> дµÀ£º Hi Yi,
>
> You may want to use the VersorTransform:
>
> http://www.itk.org/Insight/Doxygen/html/classitk_1_1VersorTransform.html
>
> You will find details about this Transform class
> in the ITK Software Guide
>
>
> http://www.itk.org/ItkSoftwareGuide.pdf
>
> in the "Image Registration" Chapter.
>
>
> Note that it is *VERY IMPORTANT* for you to set the
> Center of rotation before you use this transform.
>
>
> Regards,
>
>
> Luis
>
>
> -------------
> ÒÂÎÄÎÄ wrote:
> > Hi, everyone,
> > I want to only rotate images but not translate images in the process of
> > registration.
> > Who can tell me how to implement it by setting the parameters of
> > Transform classes?
> >
> > Thanks for any tips.
> > Regards,
> > Yi Wenwen
> >
> >
> > ------------------------------------------------------------------------
> > ÍøÒ×ÓÊÏ侫׼¹ýÂ˳¬¹ý98%µÄÀ¬»øÓʼþ www.126.com <http://www.126.com/>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
>
>
> ------------------------------------------------------------------------
> ÍøÒ×ÓÊÏ侫׼¹ýÂ˳¬¹ý98%µÄÀ¬»øÓʼþ www.126.com <http://www.126.com/>
More information about the Insight-users
mailing list