Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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).
- Loading branch information