<br>Hi Erik,<br><br>Thanks for the clarification.<br><br>The class that you may want to use then is the<br><br> itkScaleSkewVersor3DTransform.h<br><br><a href="http://www.itk.org/Doxygen/html/classitk_1_1ScaleSkewVersor3DTransform.html">http://www.itk.org/Doxygen/html/classitk_1_1ScaleSkewVersor3DTransform.html</a><br>
<br><br>and follow your original plan of using the parameter<br>scaling in order to disable (or at least attenuate) the<br>modification of the Skew and Rotation parts.<br><br><br>Regards,<br><br><br> Luis<br><br><br>
------------------------------------------------------------------------<br><div class="gmail_quote">On Sat, Apr 10, 2010 at 5:18 AM, Erik Türke <span dir="ltr"><<a href="mailto:tuerke@cbs.mpg.de">tuerke@cbs.mpg.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><div><div></div><div class="h5">
On 04/09/2010 11:48 PM, Luis Ibanez wrote:
<blockquote type="cite"><br>
Hi Erik,<br>
<br>
A transform that allows for rotation and for anisotropic scaling<br>
is indirectly allowing for Skewing (or Shearing).<br>
<br>
In short,<br>
it is a transform that does not preserve the angles<br>
between two straight lines.<br>
<br>
<br>
In that case, the Affine Transform is what you need.<br>
<br>
<br>
However, <br>
you may want to look at the <br>
<br>
itkScaleSkewVersor3DTransform<br>
<br>
<a href="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1ScaleSkewVersor3DTransform.html" target="_blank">http://public.kitware.com/Insight/Doxygen/html/classitk_1_1ScaleSkewVersor3DTransform.html</a><br>
<br>
<br>
Just in case<br>
your definition of "shearing" is a bit more specific....<br>
<br>
<br>
<br>
Regards,<br>
<br>
<br>
Luis<br>
<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
<div class="gmail_quote">On Fri, Apr 9, 2010 at 10:32 AM, Erik Tuerke
<span dir="ltr"><<a href="mailto:tuerke@cbs.mpg.de" target="_blank">tuerke@cbs.mpg.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi!<br>
<br>
Thanks for the reply!<br>
<br>
Unfortunately i can not rely on an isotropic scaling. Sometimes it will
be enough, but the best would be to apply an anisotropic scaling.<br>
<br>
cheers<br>
<div>
<div><br>
----- Original Message -----<br>
From: "Bill Lorensen" <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>
To: "Erik Tuerke" <<a href="mailto:tuerke@cbs.mpg.de" target="_blank">tuerke@cbs.mpg.de</a>><br>
Cc: "insight-users" <<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>><br>
Sent: Friday, April 9, 2010 2:52:51 PM GMT +01:00 Amsterdam / Berlin /
Bern / Rome / Stockholm / Vienna<br>
Subject: Re: [Insight-users] suppress shearing<br>
<br>
itkSimiliarity2DTransform and itkSimilarity3DTransform ally rotation,<br>
translation and isotropic scaling.<br>
<br>
Is your scaling isotropic?<br>
<br>
On Fri, Apr 9, 2010 at 4:39 AM, Erik Tuerke <<a href="mailto:tuerke@cbs.mpg.de" target="_blank">tuerke@cbs.mpg.de</a>>
wrote:<br>
> Ahh...sorry for the double post but i am used to push strg-s to
save a text but unfortunately this is assigned to sent.<br>
><br>
> anyway...<br>
><br>
> I am seeking a transform which is capable of applying a
transformation in a way of translation, rotation and scaling.<br>
> Since i did not found such a transform, i thought taking the
affine transform and suppress the shearing.<br>
> Is there any way to do so? Maybe setting the optimizer scale to 0
for the respective parameters...but what are the shearing parameters?<br>
><br>
> Thanks!<br>
><br>
> --<br>
> Erik Türke<br>
> Department of Neurophysics<br>
> Max-Planck-Institute for Human Cognitive and Brain Sciences<br>
> Stephanstrasse 1A<br>
> 04103 Leipzig<br>
> Germany<br>
> Tel: +49 341 99 40-2440<br>
> Email: <a href="mailto:tuerke@cbs.mpg.de" target="_blank">tuerke@cbs.mpg.de</a><br>
> <a href="http://www.cbs.mpg.de" target="_blank">www.cbs.mpg.de</a><br>
><br>
><br>
> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
<br>
</div>
</div>
--<br>
<div>
<div>Erik Türke<br>
Department of Neurophysics<br>
Max-Planck-Institute for Human Cognitive and Brain Sciences<br>
Stephanstrasse 1A<br>
04103 Leipzig<br>
Germany<br>
Tel: +49 341 99 40-2440<br>
Email: <a href="mailto:tuerke@cbs.mpg.de" target="_blank">tuerke@cbs.mpg.de</a><br>
<a href="http://www.cbs.mpg.de" target="_blank">www.cbs.mpg.de</a><br>
<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote></div></div>
Hi!<br>
<br>
Thanks for your reply!<br>
<br>
Actually, what i want to do is ONLY a anisotropic scaling. The reason
why i mentioned the translation and rotation is because i want to set
these parameters gained from a rigid transform as a "initial
parameters". But when applying the Scaling transform, rotation and
translation should be fixed.<br>
<br>
Rigid Transform(rotation and translation) - > Scaling
Transform(anisotropic scaling)<br>
<br>
So i want to perform the two transforms consecutively without having to
resample the image after the rigid transform.<br>
So my idea was to use a simple affine transform and making the
rotation, translation and shearing parameters fixed by setting the
respective optimizer-scalings to 0. But my guess is now there are no
seperate scaling parameters. :-(<br>
<br>
So i have to consider a different approach...<br>
<br>
cheers<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>