Replies: 1 comment 2 replies
-
thanks, great to see this type of dicussions, yes it is important and has been discussed since day one #112 Currently MONAI provides specific transforms to do the fused spatial transformations: MONAI/monai/transforms/spatial/dictionary.py Lines 555 to 573 in a0afa60 MONAI/monai/transforms/spatial/dictionary.py Lines 826 to 846 in a0afa60 This is a generic discussion, I'm converting it to the discussion tab. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
All affine transformations perform an interpolation. In medical imaging this is very crucial since you loose information with every interpolation.
Since most libraries take this into account and collect and combine affine transformations to only perform a single transformation at one timepoint, we assumed that Compose is exactly doing that.
We were quite shocked to discover that MONAI actually does not do this and instead performs an interpolation on every individual transformation step (were an interpolation is required).
MONAI comes with a lot of functionality that we need and is a great tool. The fact above really shocked us since we assumed that this would be taken into account since MONAI is specifically for medical image data.
Was this overlooked during development? How come that this could happen?
Describe the solution you'd like
All spatial transformations should be collected and then combined down to as few transformations as possible. Especially for affine transformations.
Beta Was this translation helpful? Give feedback.
All reactions