Is there a specific order in which transforms are composed? #600
-
So, I am adding multiple transforms together:
Does the The reason why I am asking is because I would imaging certain augmentations to work on non-normalized images (for example, ghosting and spike)... Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Hi For instance, Bias and Noise or Noise and Bias. If one which to stay as close as possible to the real acquisition process, one should choose Bias first then noise (because during MRI acquisition the thermal noise, is added uniformly in space to the data. |
Beta Was this translation helpful? Give feedback.
-
this is a difficult question, and I do not have the correct answer, (especially to know if it really matter or not). Affine / Resample first because it is to change to subject shape (and it reduce the noise due to interpolation) Blur (not sure why to add blur at all, if it is to simulate different acquisition voxel size, I would prefer a random resampling (but it is not implemented ...) Gamma (to change the subject intrinsic contrast, before applying other artefact) bias Ghosting / Spike (spike are quite rare in practice and the current implementation make some strong artefact, ... so to be use with caution) Noise (at the end so that the level of noise is really the one you put (plus the one present on your original image) Normalize (ie rescale or z_normalisation) Normalize if it is done before, you may not end up with the desire control range (and when you do inference you usually do not add artefat, but just normalize the intensity) I hope it helps |
Beta Was this translation helpful? Give feedback.
this is a difficult question, and I do not have the correct answer, (especially to know if it really matter or not).
So base essentially on my intuition on the MRI acquisition process, I would say
Affine / Resample first because it is to change to subject shape (and it reduce the noise due to interpolation)
Blur (not sure why to add blur at all, if it is to simulate different acquisition voxel size, I would prefer a random resampling (but it is not implemented ...)
Gamma (to change the subject intrinsic contrast, before applying other artefact)
bias
Ghosting / Spike (spike are quite rare in practice and the current implementation make some strong artefact, ... so to be use with caution)
N…