We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94e3aeb commit bcc447aCopy full SHA for bcc447a
1 file changed
src/torchio/transforms/preprocessing/spatial/resample.py
@@ -91,7 +91,10 @@ class Resample(SpatialTransform):
91
subject.remove_image('seg')
92
resample = tio.Resample(8)
93
t1_resampled = resample(subject.t1)
94
- subject.add_image(t1_resampled, 'Downsampled')
+ subject.add_image(t1_resampled, 'Antialias off')
95
+ resample = tio.Resample(8, antialias=True)
96
+ t1_resampled_antialias = resample(subject.t1)
97
+ subject.add_image(t1_resampled_antialias, 'Antialias on')
98
subject.plot()
99
"""
100
0 commit comments