Dear All,<br><br>It seems to me that there is a bug inside the itkSimilarity3DTransform.txx:<br><br>Line 284 (similarly for Line 74)<br>&nbsp;&nbsp;&nbsp;&nbsp; m_Scale = vnl_math_sqr(test[0][0]) + vnl_math_sqr(test[0][1]);  <br><br>should be 
<br><br>&nbsp;&nbsp;&nbsp; m_Scale = vnl_math_sqr(test[0][0]) + vnl_math_sqr(test[0][1])&nbsp; + vnl_math_sqr(test[0][2]);<br><br><br>Best,<br>Xiao<br>