[Insight-users] abnormal terminate using setMatrix of
ScaleSkewVersor3DTransform
Zhiyong Xie
zyxie98 at yahoo.com
Mon Jul 3 09:03:18 EDT 2006
my following is abnormal terminated at line m_Affine->SetMatrix(affine);
typedef itk::ScaleSkewVersor3DTransform<double> Itk3DAffineTransformType;
typedef Itk3DAffineTransformType::Pointer Itk3DAffineTransformPointer;
Itk3DAffineTransformType::MatrixType affine;
affine[0][0] = 1.02178; affine[0][1] = -0.0473024; affine[0][2] = 0.0715068;
affine[1][0] = 0.0308267; affine[1][1] = 0.86684; affine[1][2] = 0.0705765;
affine[2][0] = 0.0337086; affine[2][1] = 0.0347474; affine[2][2] = 0.64834;
m_Affine->SetMatrix(affine);
I use the debug and found it actually stuck at function
Rigid3DTransform<TScalarType>::
SetRotationMatrix(const MatrixType & matrix )
{
.................
m_RotationMatrix = matrix; //stuck here
.................
}
I read the source of itk::ScaleSkewVersor3DTransform. It seems that setMatrix is not supported
in this class. but I saw examples that use this function. If it is not supported, how to set the initial
parameters if I knew the initial matrix?
Any help about this issue is appreatiated.
Thanks
Sean
---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060703/ee6ad18c/attachment.htm
More information about the Insight-users
mailing list