I am trying to obtain the centerline from a model.
First, I imported my dataset (It is a nrrd file created in Fiji from a ome tiff file from a lightsheet stack, as previously somebody recommended in this forum). Here, the first problem arrived: I had to downsample my dataset (originally 2540x1956x454, 16 bits) to 1000x700x227, 8 bits, because otherwise Slicer was crashing.
Then, I applied a median filter and threshold segmentation to create the model. I use the VMTK centerline calculation module, so I selected the feducials for the starting and endpoints. I clicked in Preview and the centerline was nicely calculated. However, in an attempt to extract it either as a binary image or a point list, I clicked in Start and Slicer crashed again.
Does anybody has any suggestion for extracting the centerline or any other alternative module to calculate and export the centerline of a model?
How much RAM do you have. Slicer should not crash unless you run out of memory. For dealing with a 4.5GB image you need to have about 40-50GB memory space available (preferably physical RAM).
Which module did you use for computing the centerline? Did you get the centerline as a model node? Can you attach a screenshot?
“Extract skeleton” module is much simpler and robust way of computing centerline. It works by gradually peeling off layers from the input labelmap, so the thicker the structure is, the longer it takes. For faster extraction, you can resample the input image to make the vessel diameter about 5 voxels.
I have no problem loading and saving a 5GB nrrd image using Slicer-4.10.1. What operation caused the crash? Was it a crash or a hang? Can you get a stack trace?
I clicked on import data, clicked on Choos fiel to add, clicked on the file, it appeared in the window “Add data into scene” as volume and then click on. Then, it hang and had to close it through the Task Manager, because was totally irresponsive. I try waiting up to half an hour, and it kept being irresponsive.