<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<STYLE>BODY {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana
}
PRE {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
BLOCKQUOTE {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
A {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
MENU {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
DD {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
UL {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
DT {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
DIR {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
ADDRESS {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
H5 {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
H6 {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
HR {
        MARGIN-TOP: 0em; FONT-SIZE: 10pt; MARGIN-BOTTOM: 0em; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
P {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 6pt; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
TD {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 6pt; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
TR {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 6pt; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
P.MsoNormal {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 6pt; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
LI.MsoNormal {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 6pt; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
DIV.MsoNormal {
        FONT-SIZE: 10pt; MARGIN: 0in 0in 6pt; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
LI {
        MARGIN-TOP: 3pt; FONT-SIZE: 10pt; MARGIN-BOTTOM: 3pt; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
UL {
        MARGIN-TOP: 3pt; FONT-SIZE: 10pt; MARGIN-BOTTOM: 3pt; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
OL {
        MARGIN-TOP: 3pt; FONT-SIZE: 10pt; MARGIN-BOTTOM: 3pt; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif
}
H1 {
        FONT-SIZE: 16pt; MARGIN: 12pt 0in 3pt; COLOR: #003366; FONT-FAMILY: Verdana,Arial,sans-serif
}
H2 {
        FONT-SIZE: 14pt; MARGIN: 12pt 0in 3pt; COLOR: #003366; FONT-STYLE: italic; FONT-FAMILY: Verdana,Arial,sans-serif
}
H3 {
        FONT-SIZE: 12pt; MARGIN: 12pt 0in 3pt; COLOR: #003366; FONT-FAMILY: Verdana,Arial,sans-serif
}
H4 {
        FONT-SIZE: 11pt; MARGIN: 12pt 0in 3pt; COLOR: #003366; FONT-FAMILY: Verdana,Arial,sans-serif
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.7600.16766"></HEAD>
<BODY style="FONT-FAMILY: Verdana; COLOR: #000000; FONT-SIZE: 10pt" id=ridBody
background="">
<DIV> </DIV>
<DIV><SPAN class=271435412-05052011>Hi</SPAN></DIV>
<DIV><SPAN class=271435412-05052011></SPAN> </DIV>
<DIV><SPAN class=271435412-05052011>Following problem:</SPAN></DIV>
<DIV><SPAN class=271435412-05052011></SPAN> </DIV>
<DIV><SPAN class=271435412-05052011></SPAN> </DIV>
<DIV><SPAN class=271435412-05052011></SPAN> </DIV>
<DIV><SPAN class=271435412-05052011>
<P>std::cout << <FONT color=#a31515><FONT color=#a31515>"Matrix is
orthogonal"</FONT></FONT> <<
oRigid->MatrixIsOrthogonal(oRigid->GetMatrix(),1e-10) <<
std::endl;</P>
<P>itk::TransformFileWriter::Pointer oWriter =
itk::TransformFileWriter::New();</P>
<P>oWriter->SetInput(oRigid);</P>
<P>oWriter->SetFileName(oPathName.str().c_str());</P>
<P>oWriter->Update();</P>
<P>itk::TransformFileReader::Pointer oR = itk::TransformFileReader::New();</P>
<P>oR->SetFileName(oPathName.str().c_str());</P>
<P>oR->Update();</P>
<P> </P>
<P> </P>
<P><SPAN class=271435412-05052011>Output:</SPAN></P>
<P><SPAN class=271435412-05052011>Matrix is orthogonal1</SPAN></P>
<P><SPAN class=271435412-05052011>itk::Errir: Rigid3DTransform(00000003F30A10):
Attempt to set a non-orthogonal rotation matrix</SPAN></P>
<P><SPAN class=271435412-05052011></SPAN> </P>
<P><SPAN class=271435412-05052011>The written file:</SPAN></P><SPAN
class=271435412-05052011>
<P>#Insight Transform File V1.0</P>
<P># Transform 0</P>
<P>Transform: Rigid3DTransform_double_3_3</P>
<P>Parameters: 0.998636 0.0229049 -0.0469187 -0.0228043 0.999736 0.00267739
0.0469676 -0.00160379 0.998895 -50.8226 -21.0202 -3.69866</P>
<P>FixedParameters: 0 0 0</P>
<P> </P>
<P> </P>
<P><SPAN class=271435412-05052011>Any suggestions?</SPAN></P></SPAN>
<P><SPAN class=271435412-05052011></SPAN> </P>
<P> </P></SPAN></DIV>
<DIV><SPAN class=271435412-05052011></SPAN> </DIV>
<DIV align=left>
<P class=MsoNormal align=left><B><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt" lang=EN-GB>Gerald
Lodron</SPAN></B></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #7f7f7f; FONT-SIZE: 11pt"
lang=EN-GB>Human-Centered Image Processing</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #7f7f7f; FONT-SIZE: 11pt"
lang=EN-GB>Machine Vision Applications</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #7f7f7f; FONT-SIZE: 11pt"
lang=EN-GB>DIGITAL – Institute of Information and Communication
Technologies<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #7f7f7f; FONT-SIZE: 11pt"
lang=EN-GB><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #7f7f7f; FONT-SIZE: 8pt">JOANNEUM
RESEARCH Forschungsgesellschaft mbH<BR>Steyrergasse 17, 8010 Graz,
AUSTRIA<BR><BR>phone:
+43-316-876-1751 fax:
+43-316-876-1751<BR></SPAN><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #7f7f7f; FONT-SIZE: 8pt"><BR>web:
</SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt"><A
title=http://www.joanneum.at/digital href="http://www.joanneum.at/digital"><SPAN
style="COLOR: black; FONT-SIZE: 8pt"
title=http://www.joanneum.at/digital>http://www.joanneum.at/digital</SPAN></A></SPAN><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #7f7f7f; FONT-SIZE: 8pt"><BR>e-mail:
</SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt"><A
title=mailto:harald.mayer@joanneum.at
href="mailto:gerald.lodron@joanneum.at"><SPAN
style="COLOR: black; FONT-SIZE: 8pt"
title=mailto:harald.mayer@joanneum.at>gerald.lodron@joanneum.at</SPAN></A></SPAN><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #7f7f7f; FONT-SIZE: 8pt"><o:p></o:p></SPAN></P></DIV>
<DIV> </DIV></BODY></HTML>