Hi everyone,<br><br>I am unsable to have the rotations at the center of the image.<br><br>So, I have a 3D volume and I pass it through the vtkImageChangeInformation filter. The CenterImageOn() function si called.<br><br>The output of this filter is passed to a vtkImageReslice which has a transformation object that does the scaling and rotation. The scaling works fine but when I rotate the image I can see the center being shifyted. I thought that the vtkTransform should do these operations around the image center.
<br><br>I printed the vtkImageReslice index matrix and the original matrix is:<br><br>Elements:<br> 1 0 0 0<br> 0 1 0 0<br> 0 0 1 62<br> 0 0 0 1<br><br>And after a rotation of one degree:<br><br>0.999848 -0.0174524
0 0.0776696<br>0.0174524 0.999848 0 -4.44969<br> 0 0 1 62<br> 0 0 0 1<br><br>I was hoping that the center would remain stationary....<br><br>If anyone can cast some light on how I can manage this, I would be really grateful.
<br><br>Thanks,<br>Anja<br><br>