Using a Spacing class for changing spacing of a CT only does changes in the shape of the image(as expected). But cannot change the metadata information for spacing of output data. #7945
Unanswered
one2clouds
asked this question in
Q&A
Replies: 1 comment
-
Hi @one2clouds, may I ask about the MONAI version you used? |
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
-
Hello,
the following is my code
From the last and the second last line.
We can see that the output array has changed but, the meta data of the output for the spacing remains the same.
[It should be (1.0,1.0,1.0) but we got (0.78, 0.78, 0.8)]
Its the same case for the orientation, origin, spacing.
How can we get transformed orientation, origin and spacing from output meta data?
Beta Was this translation helpful? Give feedback.
All reactions