Skip to content
Snippets Groups Projects
Commit d37eb79a authored by Tamino Huxohl's avatar Tamino Huxohl
Browse files

introduce a copy into loading dicom on direction change, this enables direct...

introduce a copy into loading dicom on direction change, this enables direct conversion to torch tensors
parent 364079ba
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ def to_direction(
)
dcm.SpacingBetweenSlices = -spacing_between_slices
image = image[::-1]
image = image[::-1].copy()
return dcm, image
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment