Replies: 1 comment
-
Hi! You might find this discussion in the old mailing list helpful: https://groups.google.com/g/elastix-imageregistration/c/9YAv4iFHgZw/m/8APmPKY8AQAJ. If your points are indeed defined in the moving image coordinate frame then you need to inverse your transform. You can find how to do that in section "6.1.6 DisplacementMagnitudePenalty: inverting transformations" of the elastix manual (download it from here: https://elastix.lumc.nl/doxygen/index.html) Let us know how it goes and if the notebooks were helpful (we can update them if not). Konstantinos |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good day, I have mesh in moving space (I have mesh vertices generated from label in floating space).
Further, I do coregistration for images using elastix and get trasformparameters.txt.
After I performed coregistration I visually checked it (generated image with transformix).
When I try to apply a transformation to points from mesh using transformix. My points transformed into wrong positions.
I tried to use simple code to do that same transformation.
Here you can see what I mean, the transformed picture is not matched with the transformed label
![image](https://private-user-images.githubusercontent.com/8555419/250868621-ea4e1eab-28c4-4e94-be27-3924d3f45c7e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MTQ2MjMsIm5iZiI6MTcyMTcxNDMyMywicGF0aCI6Ii84NTU1NDE5LzI1MDg2ODYyMS1lYTRlMWVhYi0yOGM0LTRlOTQtYmUyNy0zOTI0ZDNmNDVjN2UucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjNUMDU1ODQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmEyNTY2ZDI2Yzk5YmIwMzZjZDZiZTgzNDk5NjRkMjI4ZTNlMGZiNGNiYTU0ZmJlYmY5ZDAyNjhkMzBmNzYwOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.jRBzHAZQZ6e70GaStpJiAwVaFmO79cJZYP2grSc9bZo)
Beta Was this translation helpful? Give feedback.
All reactions