[Insight-users] coniditions on initial regiatration transform

Karthik Krishnan Karthik.Krishnan at kitware.com
Sat Jun 24 10:48:23 EDT 2006


On Fri, 2006-06-23 at 13:15 -0700, Rick Shilling wrote:
> In itk registration , I provide an initial rigid transformation with
> rotation in the itk registration object:
> 
> 0 0 -1
> 0 1 0
> -1 0 0
> 
> and offset:
> 230
> -110
> 331
> 
> I noticed that in MatrixOffsetTransformBase class when its
> transforming points:
> 
> MatrixOffsetTransformBase<TScalarType, NInputDimensions,
> NOutputDimensions>
> ::TransformPoint(const InputPointType &point) const 
> {
>   return m_Matrix * point + m_Offset;
> }
> 
> m_Matrix is the indentity & not what was provided for in:
> 
> transform->SetMatrix(matrix);
> 
> Other times m_matrix uses the right values yet there is no difference
> in code between the two cases.  Is there any precondition on the
> rotation matrix that is imposed by the registration process that
> changes it the transform to the identity?  Thanks.  

Can you write a minimal test to prove that ?

> 
> Rick
> 
> 
> 
> 
> ______________________________________________________________________
> Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low
> rates.
> _______________________________________________
> 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