[vtkusers] vtkLandmarkTransform help

Theodore Papatheodorou tp500 at doc.ic.ac.uk
Mon Oct 3 11:32:23 EDT 2005


Yeah David,
I have tried with all modes, as well as not mentioning any mode and 
allowing it to do the default (similarity) one.
tp

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