-
Notifications
You must be signed in to change notification settings - Fork 1.5k
SaveImage flexible patch_index names #5508
Copy link
Copy link
Closed
Milestone
Description
Describe the bug
output filename's id is hard-coded as meta_data.get(Key.PATCH_INDEX) in SaveImage
MONAI/monai/transforms/io/array.py
Lines 424 to 425 in 7c57348
| patch_index = meta_data.get(Key.PATCH_INDEX, None) if meta_data else None | |
| filename = self.folder_layout.filename(subject=f"{subject}", idx=patch_index) |
this should be flexible so that the output filename can be customizable, depending on the metadata and SaveImage._data_index.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels