Computation of the Rotation Transform between two positions

Dear All,

When I display a MHD (3D Skull) file with VTK it appears in one rotation/angle(s) position. But I want that initially it will in another angle(s) position. How can I position in another angle(s) and record the transform from the initial position? And determine the RotateX, RotateY and RotateZ.
Or any another way …


Luís Gonçalves


I think what you want (get the linear transform given a starting and and an ending image) can be obtained with image registration: Find Image Rotation and Scale Using Automated Feature Matching - MATLAB & Simulink - MathWorks 中国 . If so, I think you may need VTK’s sister library: ITK (