<!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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
&nbsp;&nbsp;&nbsp;&nbsp; Regards,<br>
  <br>
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luis<br>
  <br>
  <br>
  <br>
--------------------------------------------------------------------------------<br>
  <div class="gmail_quote">On Fri, Apr 9, 2010 at 10:32 AM, Erik Tuerke
  <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:tuerke@cbs.mpg.de">tuerke@cbs.mpg.de</a>&gt;</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" &lt;<a moz-do-not-send="true"
 href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;<br>
To: "Erik Tuerke" &lt;<a moz-do-not-send="true"
 href="mailto:tuerke@cbs.mpg.de">tuerke@cbs.mpg.de</a>&gt;<br>
Cc: "insight-users" &lt;<a moz-do-not-send="true"
 href="mailto:insight-users@itk.org">insight-users@itk.org</a>&gt;<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 &lt;<a
 moz-do-not-send="true" href="mailto:tuerke@cbs.mpg.de">tuerke@cbs.mpg.de</a>&gt;
wrote:<br>
&gt; 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>
&gt;<br>
&gt; anyway...<br>
&gt;<br>
&gt; I am seeking a transform which is capable of applying a
transformation in a way of translation, rotation and scaling.<br>
&gt; Since i did not found such a transform, i thought taking the
affine transform and suppress the shearing.<br>
&gt; 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>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; --<br>
&gt; Erik T&uuml;rke<br>
&gt; Department of Neurophysics<br>
&gt; Max-Planck-Institute for Human Cognitive and Brain Sciences<br>
&gt; Stephanstrasse 1A<br>
&gt; 04103 Leipzig<br>
&gt; Germany<br>
&gt; Tel: +49 341 99 40-2440<br>
&gt; Email: <a moz-do-not-send="true" href="mailto:tuerke@cbs.mpg.de">tuerke@cbs.mpg.de</a><br>
&gt; <a moz-do-not-send="true" href="http://www.cbs.mpg.de"
 target="_blank">www.cbs.mpg.de</a><br>
&gt;<br>
&gt;<br>
&gt; _____________________________________<br>
&gt; Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
 target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <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>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <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>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <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>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <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>
&gt;<br>
    <br>
    </div>
    </div>
--<br>
    <div>
    <div class="h5">Erik T&uuml;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) - &gt; 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>