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.
Operating system:
Slicer version:
Expected behavior:
Actual behavior:
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.
I’ve never heard of .cls files, so probably this is a custom format you will need to research in order to figure out what’s in the file and then maybe we can help you load it.
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?
LaTeX software installations typically include some CLS files that can be used as document templates.
Cls included text and hdr files included CT images.
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.
My Professor sent me the link and he can open the files in 3d Slicer but i can not. That’s why i am here for asking help, although i searched a lot but i could not find the solution.
Can you easily share one example (.hdr/img pair) that works for your professor and not for you? (e.g. put it on dropbox or google drive and share the link)
When you load the segmentation (Organ*.hdr file) then choose Segmentation in the Description column to indicate that it is a segmented structure (it will make it appear nicely overlaid on the image).
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.