[Insight-users] setting initial parameters for
itkVersorRigid3DTransform
Karthik Krishnan
Karthik.Krishnan at kitware.com
Mon May 22 01:00:18 EDT 2006
Hi Rick,
To correct myself, as the documentation and Luis mentions, SetMatrix is
not a safe way to initialize the versor. The versor is not set in the
process.
/** This method must be made protected here because it is not a safe
way of
* initializing the Versor */
virtual void SetRotationMatrix(const MatrixType & matrix)
Instead, construct an itk::Versor, use its SetMatrix method and set the
VersorRigid3DTransform to that matrix
Sorry about the confusion.
-karthik
On Sat, 2006-05-20 at 21:58 -0400, Karthik Krishnan wrote:
> Yes you can use the methods SetMatrix and SetOffset(). All transforms
> that derive from MatrixOffsetTransformBase convert their representations
> to a rotation matrix and offset internally. See the ComputeMatrix()
> method in itkVersorTransform.txx
>
> -karthik
>
> On Thu, 2006-05-18 at 15:14 -0700, Rick Shilling wrote:
> > I want to provide an initial guess for an itkVersorRigid3DTransform
> > registration object in the form of a rotation matrix & translation
> > directly without converting it to a versor. I have
> >
> > TransformType::MatrixType matrix;
> > TransformType::OffsetType offset;
> > .
> > .
> > .
> > Is it possible to set the itktransform object directly to a matrix &
> > offset directly or do I need to convert it explicitly? (I didn't see
> > an example in ITK guide) Thanks.
> >
> > Rick
> >
> >
> >
> > ______________________________________________________________________
> > Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get
> > Yahoo! Messenger with Voice
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list