[Insight-users] Convert vnl_matrix<T> to itk::Matrix<T, NRows, NColumns>

=?BIG5?B?uvunoQ==?= innocentfox at gmail.com
Sun Jul 8 12:32:35 EDT 2007


Hi, all

In the previous discussion on
http://public.kitware.com/pipermail/insight-users/2007-March/021572.html
Indeed, I can convert vnl_matrix<T> to itk::Matrix<T, NRows, NColumns>.

However, I would like to do the same thing on
itk::VariableSizeMatrix<T>, what should I do (not doable by the method
above after I tried)?

To be more precisely, how may I do the following:

itk::VariableSizeMatrix  <double> A, B;
/////////////////Initialization of B////////////////
A = B * B.GetTranspose();  // Compile Error Now!!!

Thanks in advance.

Arnie


More information about the Insight-users mailing list