[Insight-users] exception when using setMatrix() of ScaleSkewVersor3DTransform

Zhiyong Xie zyxie98 at yahoo.com
Fri Jun 30 10:45:15 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

  
Luis Ibanez <luis.ibanez at kitware.com> wrote:
  To: luis.ibanez at kitware.com
Subject: The Insight Journal-New Submission
From: webmaster at insightsoftwareconsortium.org
Date: Thu, 29 Jun 2006 12:30:29 -0400 (EDT)

Hello,
A new submission has been added to the Insight Journal.

Title: ITK Neural Networks IO Classes
Author(s): Venkatram, Raghu
Abstract: 
Classes to provide IO capabilities for the ITK Neural Networks library.

Download the paper at: http://hdl.handle.net/1926/203
Review the paper at: http://insight-journal.org

Generated by the Insight Journal Manager

You are receiving this email because you asked to be informed by the Insight Journal for new submissions. 
To change your email preference go to http://insight-journal.org. _______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users


 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060630/a96c66ae/attachment-0001.htm


More information about the Insight-users mailing list