[vtkusers] vtkLandmarkTransform help

Andinet Enquobahrie andinet.enqu at kitware.com
Tue Oct 4 09:10:40 EDT 2005


David Gobbi wrote:

> 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
>
vtkLandmakTransform::SetModeToSimilairy() should be  7DOF.  3 
translations, 3 rotations and 1 isotropic scaling.

-Andinet

>
> 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
>>
>
> _______________________________________________
> 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