Segmentation size measurements (craniocaudal length and max diameter) to table

Operating system: Windows 11 Home
Slicer version: 4.11.20200930

Hi,
It is my first time writing in this forum.
I would like to measure the craniocaudal length and max diameter (in axial plane) of a segmentation. Actually, of around 180, so not having to measure these manually would be great. I have already read the Segment Statistics module documentation, but I am still not sure if some of the values it can output there are what I am looking for. As long as I can understand, the craniocaudal length could be the same as the Oriented Bounding Box Diameter (one of its values), but in an axis oriented bounding box. And about max diameter, I have read something in another post, and it was not possible to get it automatically when it was answered.

Is anything of what I want to do possible?

Thank you very much in advance.
Rafael

It would probably help if you could post a screenshot or two of the data you are trying to measure.

1 Like

Thank you very much for the fast answer, and sorry for taking so long to get back to you.
After reading some more articles about this topic, I don’t think anymore that these are too relevant measurements.

Anyway here are a pair of snapshots trying to show what I was referring to (with the properties label disabled, for better visibility).
The red markup represents a measurement along the supero-inferior axis, what would be the “height” of the volume. The green markup is meant to be a measurement in a plane that is perpendicular to the previous axis, and made between the two more distant opposed points of the boundary (in a line that intersects with the supero-inferior axis that goes trough the center of mass).

Thank you very much for your interest and time, and feel free to leave the topic as it is, as I will be sticking to more common methods for volume comparison, such as the Dice Simmilarity Coefficient or the generalized Conformity Index.

Regards,
Rafael


Segment Statistics module can compute anatomically oriented bounding box (to get craniocaudal length) and segment oriented bounding box (to get maximum diameters along the main object axes) and the module can also provide various other shape statistics. You need to enable computation of these metrics, as they are disabled by default.

How do we enable them?


In the “Advanced” section, click the “Options” button for Labelmap Statistics, and then check the boxes for the desired output (OBB=“Oriented Bounding Box”)

2 Likes

Hello, Mike! I am from Brazil! Thank you for the tip! But I’m having a hard time, because I can’t differentiate the numbers. I click in the OBB diameter, but I don’t now which is from de axial, coronal or saginal. Can you help me? Furthermore, this module is informing the max distante in the axial, coronol and sagital of my segmentation, right?

image

I think that is better say the distance in latero-lateral, anterior and posterior, cranial and caudal…

OBB means oriented bounding box, which means it is oriented to match principal axes of the segment. These directions are not related in any way to patient anatomical directions but depend only on the shape of the segment. You can get the principal axes directions from the result table and see which anatomical directions each axis is the closest to.

If you just need non-oriented bounding box of the segment in the world coordinate system (with axis pointing to patient RAS directions) then you can export the segments to models and call GetRASBounds() method of each exported model.

Your Excellency Lasso, my English is still not satisfactory, but I wanted to thank you for your answer. My intention would be to know the dimensions of my segmentation. For example, I segmented the femur. From that, I wanted to know the length, width and height of what I did. Thank you very much!

@Florisvaldo This is your answer. If you do not understand something in concrete in this, please ask about that specifically and then we may be able to help.