-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect transformation of registered objects. #315
Comments
I am not sure this has to do with the transform itself. Rather, I suspect an issue with the way 2D images are displayed in triplecutplane. When you change the reference image (set to miguet.mnc in your example), things look aligned. Also, the 3D scene looks ok. Also, this seems to happen only when the images are under LandmarkRegistrationObject. |
I wonder if this is not another instance of a problem I've had before in surgery. I have a case where the transform is incorrect after landmark registration. The problem has been bugging me for a while. I always suspected it was due to the implicit transform embeded in the image, but didn't check if it was the case. When loading a minc file for example, we put the direction cosines as a rotation in the local transform but leave translation and scale in the vtkImageObject (origin, step), which might cause to multiply matrices in the wrong other to display. |
Reference object moves correctly. It seems, that crossection also moves the right way. Non reference objects show incorrectly on 2D planes in both cases - when they are moved and when the reference object is moved. |
I am not able to find the solution. I did the following tests now: |
I just compare unregistered and registered scene, without changing local transforms. |
I have 2 images, children of the same LandmarkRegistrationObject. I create surface for both. Registration is on. I move one of the images along one ax and the surface and the image move different way.
The text was updated successfully, but these errors were encountered: