[vtkusers] vtkLandmarkTransform help

David Gobbi dgobbi at atamai.com
Mon Oct 3 11:10:10 EDT 2005


Hi Theodore,

Are you sure that you had the mode set correctly for
the number of degrees of freedom that you wanted?

  vtkLandmarkTransform::SetModeToRigidBody()   6DOF
  vtkLandmarkTransform::SetModeToSimilarity()     9DOF
  vtkLandmarkTransform::SetModeToAffine()         12DOF

Cheers,
 - David

Theodore Papatheodorou wrote:

> Hi,
> I am trying to do a landmark registration using the 
> vtkLandmarkTransform and it is not working correctly. I use dummy data 
> which I manually translate, then pass it through the filter and see if 
> the correct translation matrix is returned. Indeed it is! However, 
> whenever I try to do the same with a scaling it does not return the 
> correct scaling. It also has problems with affine transforms. 
> Basically whenever the filter has to deal with 9 or 15 degrees of 
> freedom it returns some very strange results.
> Has anyone noticed it before and/or know what causes it? Is it a bug?
> tp
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list