<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">I and trying to write an itk::Euler3DTransform (with m_ComputeZYX = 1) to file (*.tfm file format). However, I noticed the flag m_ComputeZYX is not saved to the tfm file. Consequently, when I read-back the
transform from file, I get a different transform (i.e. a transform with same angles but different matrix since m_ComputeZYX = 0 ). I am using ITK version 4.9.1 (latest release). Any help on this issue would be greatly appreciated. An example follows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Silvain Beriault, Ph.D.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">code sample:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">include</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#A31515;background:white;mso-highlight:white"><itkEuler3DTransform.h></span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">#include</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#A31515;background:white;mso-highlight:white"><itkTransformFileWriter.h></span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">#include</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#A31515;background:white;mso-highlight:white"><itkTransformFileReader.h></span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">#include</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#A31515;background:white;mso-highlight:white"><itkMath.h></span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="FR-CA" style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">int</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><i><span lang="FR-CA" style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">main</span></i><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">()<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">{<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span lang="FR-CA" style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">typedef</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span lang="FR-CA" style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">itk</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span lang="FR-CA" style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">Euler3DTransform</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><</span><span lang="FR-CA" style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">double</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">>
</span><span lang="FR-CA" style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">TransformType</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span lang="FR-CA" style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">TransformType</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span lang="FR-CA" style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">Pointer</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span lang="FR-CA" style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">transformIn</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> =
</span><span lang="FR-CA" style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">TransformType</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span lang="FR-CA" style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">New</span><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="FR-CA" style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">transformIn</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">-></span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">SetComputeZYX</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">(</span><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">true</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">double</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">angleX</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> = 90;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">double</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">angleY</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> = 180;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">double</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">angleZ</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> = 0;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">double</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">deg2rad</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> =
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">itk</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">Math</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">pi</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
/ 180.0;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">transformIn</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">-></span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">SetRotation</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">(</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">angleX</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
* </span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">deg2rad</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">angleY</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> *
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">deg2rad</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">angleZ</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> *
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">deg2rad</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">typedef</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">itk</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">TransformFileWriterTemplate</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><</span><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">double</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">>
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">WriterType</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">WriterType</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">Pointer</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">writer</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> =
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">WriterType</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">New</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">writer</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">-></span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">SetInput</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">(</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">transformIn</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">writer</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">-></span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">SetFileName</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">(</span><span style="font-size:10.0pt;color:#A31515;background:white;mso-highlight:white">"D:/tmp/transform.tfm"</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">writer</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">-></span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">Update</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> </span><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">typedef</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">itk</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">TransformFileReaderTemplate</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><</span><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">double</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">>
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">ReaderType</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">ReaderType</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">Pointer</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">reader</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> =
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">ReaderType</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">New</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">reader</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">-></span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">SetFileName</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">(</span><span style="font-size:10.0pt;color:#A31515;background:white;mso-highlight:white">"D:/tmp/transform.tfm"</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">reader</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">-></span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">Update</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">transformOut</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> = (</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">reader</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">-></span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">GetTransformList</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">()-></span><i><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">begin</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">())-></span><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">GetPointer</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">();<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">cout</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
<< </span><span style="font-size:10.0pt;color:#A31515;background:white;mso-highlight:white">"****TransformIn****"</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> <<
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">endl</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">cout</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
<< </span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">transformIn</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> <<
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">endl</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
<< </span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">endl</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
<< </span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">endl</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">cout</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
<< </span><span style="font-size:10.0pt;color:#A31515;background:white;mso-highlight:white">"****TransformOut****"</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> <<
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">endl</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">cout</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
<< *</span><span style="font-size:10.0pt;color:navy;background:white;mso-highlight:white">transformOut</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white"> <<
</span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">endl</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
<< </span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">endl</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">
<< </span><span style="font-size:10.0pt;color:#216F85;background:white;mso-highlight:white">std</span><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">::</span><i><span style="font-size:10.0pt;color:#880000;background:white;mso-highlight:white">endl</span></i><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;background:white;mso-highlight:white">}</span><span style="font-size:10.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">The screen output is:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">****TransformIn****<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Euler3DTransform (0000000000461BF0)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> RTTI typeinfo: class itk::Euler3DTransform<double><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Reference Count: 4<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Modified Time: 12<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Debug: Off<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Object Name:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Observers:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span><span lang="FR-CA" style="font-size:10.0pt;color:black">none<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;color:black"> Matrix:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;color:black"> -1 1.22465e-016 7.4988e-033<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;color:black"> 0 6.12323e-017 -1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;color:black"> </span>
<span style="font-size:10.0pt;color:black">-1.22465e-016 -1 -6.12323e-017<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Offset: [0, 0, 0]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Center: [0, 0, 0]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Translation: [0, 0, 0]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Inverse:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> -1 0 -1.22465e-016<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> 1.22465e-016 0 -1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> 0 -1 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Singular: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Euler's angles: AngleX=1.5708 AngleY=3.14159 AngleZ=0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> m_ComputeZYX = 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">****TransformOut****<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Euler3DTransform (0000000000473180)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> RTTI typeinfo: class itk::Euler3DTransform<double><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Reference Count: 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Modified Time: 673<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Debug: Off<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Object Name:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Observers:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span><span lang="FR-CA" style="font-size:10.0pt;color:black">none<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;color:black"> Matrix:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;color:black"> -1 0 1.22465e-016<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;color:black"> 1.22465e-016 6.12323e-017 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;color:black"> </span>
<span style="font-size:10.0pt;color:black">-7.4988e-033 1 -6.12323e-017<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Offset: [0, 0, 0]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Center: [0, 0, 0]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Translation: [0, 0, 0]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Inverse:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> -1 1.22465e-016 -7.4988e-033<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> -7.4988e-033 4.59169e-049 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> 1.22465e-016 1 4.59169e-049<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Singular: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> Euler's angles: AngleX=1.5708 AngleY=3.14159 AngleZ=0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> m_ComputeZYX = 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">The saved transform is :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">#Insight Transform File V1.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">#Transform 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Transform: Euler3DTransform_double_3_3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Parameters: 1.5707963267948966 3.141592653589793 0 0 0 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">FixedParameters: 0 0 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
</div>
</body>
</html>