DICOM SPACING PROBLEM #1637
oscarramirezs
started this conversation in
General
Replies: 2 comments 4 replies
-
I'm confused by your dimension ordering. In your image, you mention |
Beta Was this translation helpful? Give feedback.
2 replies
-
Sorry but i'm really confused
the output of Check transforms in DataLoader is I expected a square image with a deep, . if the original images is 512 512 deep matrix, I m wrong? |
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
-
Hi,
Thank you for the nice library! Sorry I'm new to MONAI, but I'm stock, can anyone help me? please
I am dealing with CT's (DICOM fortmat) => (Deep, 512, 512) that means (Z, X, Y) deep is the Z axis and it Deep change switches between each CT for example (172, 512, 512) and the spacing ( X, Y, Z) for example [0.3984375 0.3984375 1. ]
So, using the AddChanneld (keys = ["image", "label"])
=> This is the output: image shape(1, 172, 512, 512) which is fine
Then using Spacingd (keys = ["image", "label"], pixdim = (
2.0, 1.5, 1.5), mode = ("bilinear", "closest")),
=> This is the output: image shape (172, 103, 137) which is bad
What can I do to fix this and get X and Y the same size?
THANKS AGAIN,
I don't know if I am clear enough
Oscar
Beta Was this translation helpful? Give feedback.
All reactions