Volume measurement = 0

Hello there,

I am a new user. Windows 10 and Slicer 4.10.1 version.

I have a problem in measuring a volume.
I have the segmentation done and it is displayed correctly in the 3d views.
Unfortunately when I go for Quantification and segment statistics it display to me 0 volume.
With another scene and segmentation I have not such problem…
I cannot really find where I am wrong. Could you please give me a piece of advice?

All the best

Volume can be computed from binary labelmap and closed surface representations. Do you get 0 value from both?

Can you share the segmentation file (upload somewhere and post the link here) so that we can investigate?

Ok I am attaching here the link of the segmentation (data set and the scene) that actually works:

and here the one that does not:

Once I open the scene and the data set, export the segments in models… and from there I see the information on the model where you can find volume ecc…

I did the same on the segment statistics tool but it gives me the same.
I am wondering if the dataset that does not work is due to some problems in grow from seed (such as the surface is not closed, but I do not understand then the difference with respect to the other one).

Thank you so much

it gives volume for volume info for all 3 segments out of 4.

Only the segment “major ampullate” doest not give the volume or comes as 0 but that is because there is noting there. that segment is empty so it is 0

1 Like

Thank you manjula,
but how is it possible that I actually see the segment but it is not there? The file looks good (at least equal to the other one).

Thank you very much

I don’t see that segment in 3D View. In your given data. you have two segments with the same name “segmentation” and the same kind of segments. So actually you must have two
Segmentation.seg.nrrd files. If you are seen the ampulla in 3d view it must have been rendered from the other segment with the same name. But it is clearly not the one you have shared
So if you are seen the ampulla it must be on the other segment. If you select that segment and to it should work

1 Like

Data module gives a good overview of all data that is loaded into the scene.

Hello, I am afraid that is not the problem.
In the first case, I upload the scene and the segmentation data set and I obtain this, where i see both segments and also the relative volume in the segment statistics…

for the other, i can upload the file as before (so the scene and the segmentation one) or both of them, but I still obtain the same… so I can visualise the thing that I am studying but I cannot measure the volume

as you can see here… even though you clearily see the gland, the volume is 0, which is strange and makes me think that I am doing something wrong.

Moreover, I would stress also the attention on a thing… if you notice in the first picture that I have uploaded the volume of the gland is bigger than the one of the space. This is very unlikely since the space contain the gland and it is clearily bigger…
I would be very gratefull if you suggest me something and how to eventually fix this problem.

In the data module, I see all the segments…
I am really appreciating this fruitful discussion and I am sorry if I seem dumb to you.

All the best

No comments?

I am really curious about my mistakes

Finally I had time to look at your data sets.

I’ve noticed one issue: Both segmentations only contain seeds, not the final segmentation result. It is important that when you are happy with preview results that the “Grow from seed” effect shows you, switch to “Grow from seeds” effect and click “Apply”.

I’ve also noticed that your segmentations are very big and you are probably using “Grow from seeds” effect, which uses lots of memory. So, there is a good chance that you run out of memory. To confirm this, you can crop&downsample your input image by setting scaling factor of 2-3x in “Crop Volume” module and see if it makes a difference. If it does then you can try to increase virtual memory setting in your computer and try with a smaller scaling factor increase.