Hi all, so I saved my segmentations (under an nrrd file) and my segmentation scene just half an hour ago and restarted my computer. It appeared that the segmentations were saved when I saved them half an hour ago, however my latest scene, which I also saved do not have the segmentations anymore or the template data. When I open up the template and the segmentations in a new slicer window, only the template data loads but not the segmentations.
I see that the segmentations still show up on my storage folder as a nrrd file and still have space in them. They also indicate that they were last edited 30 minutes ago (when I saved them). However, whenever I load them in slicer nothing shows up, and I have gone to data, segment editor, and segmentations modules to find nothing. However, when I load other data, it does show up. I have been fine for the past two months saving it the same way. I am worried that I have lost my segmentations, is there a solution to this?
Please send the application log of a load attempt (menu: Help / Report a bug).
It would be also very interesting to see the log of that session when you saved the segmentation file. In Help / Report a bug, you can select previous sessions (logs of the last 10-20 sessions are saved), maybe you can still find it.
Can you share the segmentation file? (upload somewhere and post the link, maybe send it in a private message)
Thank you for the response. In Help/Report a bug, I went to the last session, but the only options I have appear to be copy and paste and open in new window, which just appears to be a bunch of code and I am quite illiterate in coding besides basic C++. Also I do not even know for sure if it the last session is still the session before my data was lost as I have tried reopening my segmentations about 10 times and restarted each time so it may be over ten sessions. I would be happy to send you the segmentation file in a private message.
The file was just a few-hundred kB and filled with just zeros. Other then using an old version (latest stable 4.10.2) there is nothing special about the configuration or workflow (file was saved to desktop; OS: Windows).
The problem seems to be similar to the one described in “Segments disappeared!”. Maybe there were some instability in how Slicer-4.10.2 saved segmentations. It may make sense to use a recent Slicer-4.11 version and create backups (instead of always just overwriting the previous version). If data corruption occurs then save logs of the last session (where the data was saved) using menu: Help / Report a bug.
Hi Dr. Lasso, I just also realized I exported my original segmentations to binary labelmap and saved them in the nifti format the day before my segmentations disappeared. While I do cannot restore by going to help/report a bug, is there anyway to restore my segmentations by converting the nifti back to nrrd? The nifti is able to show up on slicer, but it shows up as a volume and I am unable to edit the image as segmentations.
You can load the nifti file as segmentation by choosing “Segmentation” in Description column in Add data window. You may need Slicer-4.11 for this.
In Slicer-4.10, you need to load the nifti file as labelmap volume by checking labelmap option in Add data window. Then you can convert it to segmentation node by right-clicking on it in Data module.