Open jadh4v opened 11 months ago
Do you know what kind of support the NIfTI (.nii) format has regarding names and colors?
Do you have an example NRRD segmentation file with names and colors handy?
This seems to be the lib that impliments the Slicer NRRD metadata convention: https://github.com/lassoan/slicerio
As @jcfr suggested, we would want to skip support of Nifti. I will share an example .seg.nrrd file.
Currently, reading NRRD file doesn't pick the metadata related to segment names and colors that are saved in a slicer compatible NRRD segmentation. It would be a good idea to support this metadata by updating
@itk-wasm/image-io
to load this metadata and subsequently handling this information on theVolView
side.