Best practice for ordering T1w preprocessing steps (Denoise, N4, lesion filling) #1930
-
|
Hi everyone, I’m planning to preprocess T1-weighted images using the following steps:
Could anyone advise whether this is a reasonable order for applying these steps, or suggest any modifications? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
This looks reasonable to me. If you have extreme outliers then DenoiseImage might work better if you truncate those first. You might also try out the ANTsPyNet inpainting https://github.com/ANTsX/ANTsPyNet/blob/master/antspynet/utilities/inpainting.py |
Beta Was this translation helpful? Give feedback.
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
-
|
If you're looking to preprocess the images to remove outliers, as @cookpa mentioned, you might want to do an initial truncation (below for the ImageMath call). And your numbers of 0.01 and 0.99 are closer to what's actually used in practice than the defaults listed in the function call. |
Beta Was this translation helpful? Give feedback.
-
|
I was initially thinking of running a test to check whether any truncation is required, but from you've said I guess I can just truncate above 0.99 and below 0.01 and keep things simple. Thanks again! |
Beta Was this translation helpful? Give feedback.
This looks reasonable to me. If you have extreme outliers then DenoiseImage might work better if you truncate those first.
You might also try out the ANTsPyNet inpainting
https://github.com/ANTsX/ANTsPyNet/blob/master/antspynet/utilities/inpainting.py