Can I get inverse after resample? #856
-
Hi That's because, in my experiment, the low resolution but complete input is superior to the raw resolution but the patch-based approach. But, I need to inverse the low-resolution output to native space, but I can't easily do this by In addition, applying Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hi, @Bigsealion.
The affine transform is invertible.
I'm not sure I understand what you mean by "complete input", "raw resolution". Can you maybe post some screenshots? |
Beta Was this translation helpful? Give feedback.
-
Hi @fepegar I'm so sorry for my poor expression.
I have a 3d brain image, but I can't input it to CNN with true spacing ("raw resolution"), so I need to use resample to get a low-resolution 3d image, which can be input to a 3d CNN. And the "low-resolution image" is what I called "complete input", which is the opposite of "patch-based input". And this is a screenshot for "complete input" and "raw resolution" "complete input" (means I can take the full image as input): "raw resolution" (I can not input the full image to a CNN):
Yes, but I want to know can the Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
Hi all. |
Beta Was this translation helpful? Give feedback.
Hi
not sure to fully understand, but if you want to get back to the original resolution, you can use what fernando proposed here
#493 (comment)
tio.Resample(original_image)(prediction)