I am segmenting structures in fish. Once segmented, I develop a model (ply) which I will eventually use in a multi-species analysis. Once structures are segmented, I have saved using both the MRB and from saving the individual scene files (e.g, *.mrml, *.png, *.vp, etc.).
I have recently found when saved as individual scenes they are less stable and I am having to go back and segment. Is there a best practice for how to save work? Apologies for the basic question but I’m trying to learn on the fly and have no one in my lab doing this type of work.
the MRB file is a zip-format file of all the files (mrml, .seg.nrrd, .ply, etc) and is useful for archiving or transferring an entire project to someone.
Typically I make a separate directory for each specimen (I work on insects) and I almost never use MRBs - they take longer to load and save. I find that when I lose work or have to re-segment something, it’s because I wasn’t paying attention and saved to the wrong directory. It takes a little more attention to make sure your save dir is correct, but in the end it’s faster (only modified files are saved) and it’s much more flexible.
Hope this helps - where Slicer puts files is one of the parts of the program that is a bit different than other apps and takes a little getting used to. But once you’re comfortable with it, it is very flexible.
This is helpful, thanks. I am finding when I am capable of loading scenes from previous segmentations, I am losing the ability to zoom in on 2D slices. Is that typical or am I doing something wrong?
You should be able to access with the below link. When I open the series of files saved I get the following error. This is reoccurring in other folders.
I didn’t get any error emssage loading the mrb file. However, your scene has multiple problems (I am not sure if mrb is exactly like your scene):
You have multiple duplicated datasets (like two volumes, two segmentation). In addition to taking resources (everything loaded into the scene uses computer memory), this might create room for error.
I never have seen a Scene file being listed and loaded as a object inside the workspace (the red highlight). So I am not sure whats going on in there either.
But things do line up. So I suspect when your segmentation is not lining up, you are confusing yourself and looking at different datasets (since there are two of each).
Try getting rid of the duplicate objects, and then go to Save As and click the checkbox I highlighted and then click the change directory for selected files button and save everything into a new folder you created. Then, try loading the MRML file from that location and see if you are getting the error again.
Also when you are loading, remember you only need to drag and drop the MRML file (not the whole contents of the folder) into Slicer. MRML file has pointers to those objects, and will load them (or will throw an error if it cannot find the file). If you are both dragging and the MRML file, and the segmentations, volumes etc in the folder, that’s where the duplicaiton might be coming from.
Agreed, this sounds like what would lead to the observed duplication behavior. The volume node with the name of the scene file is probably the screen capture of the UI that is saved automatically when you save a mrml scene.
Also when you are loading, remember you only need to drag and drop the MRML file (not the whole contents of the folder) into Slicer.
This was clearly part of the problem. I opened just the MRML file, saved the new scene in a new folder, closed the previous scene, and opened this new saved. I no longer get the error upon opening but I still am unable to zoom in and out on a particular slice. This is critical for me to properly segment and I am sure I am making a very basic error, I just don’t know what.