-
Hiii, I used Invertd and transforms.inverse in monai 0.6.0 for inversing preprocessed transformations. However, it seems it cannot inverse the transforms correctly.
Original input image size is (512,512,60). After preprocessed transformations, the shape is (1,128,128,64). However, the inversed results size is (1,194,257,66). I used both Invertd to create a transforms composition or transforms.inverse, both the inversed methods cannot get correct original shape. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @sherjy , Thanks for your interest and experiments with MONAI. Thanks. |
Beta Was this translation helpful? Give feedback.
Hi @sherjy ,
Thanks for your interest and experiments with MONAI.
I see you have several customized transforms, like:
SpacingResized
, have you implemented theinverse
operation for them properly? If it doesn't have inverse logic, then the test result is expected I think.Thanks.