Hello everyone, I have a question, I can’t upload data to the 3D slicer, although I’ve searched a lot, but I still don’t understand why it doesn’t work. I am attaching my error and would be very happy if someone could help me.
Please check the application log (menu: Help / Report a bug) to see if you find any more hints about what goes wrong.
The .hdr extension typically refers to legacy Analyze/Nifti file format, but the extension may also be used for proprietary file formats. Where does this .hdr file comes from? Do you know what file format is used?
Thanks a lot for your quick reply. To be honest I did not get the report bug properly.
I downloaded a dataset and this hdr files are CT images that i wanted to load in 3D slicer.
The file format is zip and when you open the zip file there are image, hdr and cls files.
Where do these images come from? Have you acquired yourself? Using what equipment? If you received it from somewhere, could you ask it in any standard file format, not the equipment-specific custom format?
Okay, then yes, the .hdr/.img pairs are probably analyze files and they should load in Slicer if you put them in the same folder and load the .hdr file, but the error log indicates some failure. Maybe they are so old ITK no longer recognizes them.
The .cls files describe label names and colors. You can manually edit the file in any text editor to bring it into Slicer’s .ctbl format. If you save that .ctbl file and load it into Slicer then after that when loading the segmentation file you can choose that .ctbl file in the Options column, which will make the segmentation loaded with correct segment names and colors.