<div> </div> <DIV>my following is abnormal terminated at line m_Affine->SetMatrix(affine);</DIV> <DIV> </DIV> <DIV><EM><STRONG><FONT color=#0000ff size=2>typedef</FONT><FONT size=2> itk::ScaleSkewVersor3DTransform<</FONT><FONT color=#0000ff size=2>double</FONT></STRONG></EM><FONT size=2><EM><STRONG>> Itk3DAffineTransformType;</STRONG></EM></DIV> <DIV></FONT><FONT color=#0000ff size=2><EM><STRONG>typedef</STRONG></EM></FONT><FONT size=2><EM><STRONG> Itk3DAffineTransformType::Pointer Itk3DAffineTransformPointer;</STRONG></EM></DIV> <DIV><EM><STRONG></STRONG></EM></FONT> </DIV><FONT size=2> <DIV><EM><STRONG>Itk3DAffineTransformType::MatrixType affine;</STRONG></EM></DIV> <DIV> </DIV> <DIV><EM><STRONG>affine[0][0] = 1.02178; affine[0][1] = -0.0473024; affine[0][2] = 0.0715068;</STRONG></EM></DIV> <DIV><EM><STRONG>affine[1][0] = 0.0308267; affine[1][1] = 0.86684; affine[1][2] = 0.0705765;</STRONG></EM></DIV> <DIV><EM><STRONG>affine[2][0] =
0.0337086; affine[2][1] = 0.0347474; affine[2][2] = 0.64834;</STRONG></EM></DIV> <DIV><EM><STRONG></STRONG></EM> </DIV> <DIV><EM><STRONG><FONT color=#ff409f>m_Affine->SetMatrix(affine);</FONT></STRONG></EM></DIV></FONT> <DIV> </DIV> <DIV> </DIV> <DIV>I use the debug and found it actually stuck at function </DIV> <DIV> </DIV><FONT size=2> <DIV><EM><STRONG>Rigid3DTransform<TScalarType>::</STRONG></EM></DIV> <DIV><EM><STRONG>SetRotationMatrix(const MatrixType & matrix )</STRONG></EM></DIV> <DIV><EM><STRONG>{</STRONG></EM></DIV> <DIV><EM><STRONG>.................</STRONG></EM></DIV></FONT><FONT size=2> <DIV><EM><STRONG><FONT color=#ff40ff>m_RotationMatrix = matrix; //stuck here</FONT></STRONG></EM></DIV> <DIV><EM><STRONG>.................</STRONG></EM></DIV> <DIV><EM><STRONG>}</STRONG></EM></DIV></FONT> <DIV> </DIV> <DIV>I read the source of <STRONG><EM>itk::ScaleSkewVersor3DTransform. </EM></STRONG>It seems that
setMatrix is not supported</DIV> <DIV>in this class. but I saw examples that use this function. If it is not supported, how to set the initial</DIV> <DIV>parameters if I knew the initial matrix? </DIV> <DIV> </DIV> <DIV>Any help about this issue is appreatiated.</DIV> <DIV> </DIV> <DIV>Thanks</DIV> <DIV> </DIV> <DIV>Sean<BR></DIV><p> 
                <hr size=1>Do you Yahoo!?<br> Everyone is raving about the <a href="http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/handraisers"> all-new Yahoo! Mail Beta.</a>