<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 04/09/2010 11:48 PM, Luis Ibanez wrote:
<blockquote
cite="mid:w2nf7abd23c1004091448h15e3c29bgc6be9d769d7f2da6@mail.gmail.com"
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 moz-do-not-send="true"
href="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1ScaleSkewVersor3DTransform.html">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 moz-do-not-send="true"
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;">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 class="h5"><br>
----- Original Message -----<br>
From: "Bill Lorensen" <<a moz-do-not-send="true"
href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
To: "Erik Tuerke" <<a moz-do-not-send="true"
href="mailto:tuerke@cbs.mpg.de">tuerke@cbs.mpg.de</a>><br>
Cc: "insight-users" <<a moz-do-not-send="true"
href="mailto:insight-users@itk.org">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
moz-do-not-send="true" href="mailto:tuerke@cbs.mpg.de">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 moz-do-not-send="true" href="mailto:tuerke@cbs.mpg.de">tuerke@cbs.mpg.de</a><br>
> <a moz-do-not-send="true" href="http://www.cbs.mpg.de"
target="_blank">www.cbs.mpg.de</a><br>
><br>
><br>
> _____________________________________<br>
> Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true" 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 moz-do-not-send="true"
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 class="h5">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 moz-do-not-send="true" href="mailto:tuerke@cbs.mpg.de">tuerke@cbs.mpg.de</a><br>
<a moz-do-not-send="true" href="http://www.cbs.mpg.de"
target="_blank">www.cbs.mpg.de</a><br>
<br>
<br>
_____________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true" 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 moz-do-not-send="true"
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>
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>
</body>
</html>