misalignment of labels after tranforms #5295
Replies: 3 comments 3 replies
-
Hi @jakubMitura14 , Could you please help share more information about problem? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Are the image and label always the same size as each other to begin with? I.e. if an image has spatial size If not then I'd expect |
Beta Was this translation helpful? Give feedback.
-
Thanks for responses @ebrahimebrahim and @Nic-Ma ! I @ebrahimebrahim seems that yoiu were right about the size. Hovewer here the problem is with the diffrence of final image size after sampling. I perform resampling by
below there are printed t2w and label_name_val image sizes first before and later after changing spacing. before resampling
after resampling we see that in the dimension 1 label have now 192 and image 193
full
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I had done transformations as indicated below and it leads to misalignment of labels, they are shifted to the left or to the right shift is big - multiple times bigger then the size of the change indicated by label.
transforms
What is my mistake?
Beta Was this translation helpful? Give feedback.
All reactions