Kitware / VolView

Kitware VolView: an all-in-one radiological viewer!
https://volview.kitware.com
Apache License 2.0
185 stars 60 forks source link

Reading NRRD files doesn't pick the metadata related to segment names and colors #530

Open jadh4v opened 11 months ago

jadh4v commented 11 months ago

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 the VolView side.

PaulHax commented 1 month 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?

PaulHax commented 1 month ago

This seems to be the lib that impliments the Slicer NRRD metadata convention: https://github.com/lassoan/slicerio

jadh4v commented 1 month ago

As @jcfr suggested, we would want to skip support of Nifti. I will share an example .seg.nrrd file.