You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an error when resampling 4d images back to the original image.
To sove this we can check if the input image is 4d > take the first image from the last axis and resample the segmentation to that image.
The text was updated successfully, but these errors were encountered:
yw7
added a commit
that referenced
this issue
Dec 6, 2024
Fixes#95
Add handling for 4D images in `transform_seg2image` function.
* Add a check for 4D images at the beginning of the `transform_seg2image` function.
* If the input image is 4D, take the first image from the last axis for resampling.
* Add a comment explaining the purpose of the check for 4D images.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/neuropoly/totalspineseg/issues/95?shareId=XXXX-XXXX-XXXX-XXXX).
yw7
linked a pull request
Dec 6, 2024
that will
close
this issue
There is an error when resampling 4d images back to the original image.
To sove this we can check if the input image is 4d > take the first image from the last axis and resample the segmentation to that image.
The text was updated successfully, but these errors were encountered: