Skip to content

Commit

Permalink
feat(sitk_loader): allow more dynamic resampling in terms of multi-mo…
Browse files Browse the repository at this point in the history
…dality
  • Loading branch information
muellerdo committed Mar 9, 2023
1 parent 4414024 commit 5fd029c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aucmedi/data_processing/io_loader/sitk_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ def sitk_loader(sample, path_imagedir, image_format=None, grayscale=True,
sample_itk.GetOrigin(),
new_spacing,
sample_itk.GetDirection(),
outside_value,
sitk.sitkFloat32)
outside_value)
# Skip resampling if None
else : sample_itk_resampled = sample_itk
# Convert to NumPy
Expand Down

0 comments on commit 5fd029c

Please sign in to comment.