I am trying to store some custom metadata in the nrrd header of my segmentation files. For example, the id of the annotator which segmented the file. The intended workflow is to:
- Load a nrrd segmentation file with custom header metadata into Slicer.
- Edit some segments.
- Save/Export the new segmentation file while keeping the custom metadata.
However, when I load a segmentation file into Slicer and export it again Slicer removes all metadata fields it does not recognise.
Is there a way of keeping the custom metadata while passing through Slicer?
Thanks for your help,