# Volume of fat within lymph node

**URL:** <https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956>\
**Category:** Support\
**Created:** [September 29, 2023, 3:29am UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956 "2023-09-29T03:29:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyanka](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@Priyanka](https://discourse.slicer.org/u/Priyanka)\
**Post date:** [September 29, 2023, 3:29am UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956/1 "2023-09-29T03:29:39Z")

</div>

Hello, I am new to 3D slicer and had a query. My project requires me to segment the lymph nodes and calculate the volume, which I was able to do with segment editor. Additionally, I have to calculate the volume of fat within the lymph node segmented, is that possible using 3D slicer?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [September 29, 2023, 3:30am UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956/2 "2023-09-29T03:30:14Z")

</div>

You can compute volume (and many other properties) of each segment using Segment Statistics module.

---

<div class="post-metadata">

**Author:** ![Priyanka](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@Priyanka](https://discourse.slicer.org/u/Priyanka)\
**Post date:** [September 29, 2023, 5:38pm UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956/3 "2023-09-29T17:38:39Z")

</div>

I need to calculate the volume of the fat within the lymph, I used thresholding to isolate the fat from the segment I extracted, but it doesnt seem to segregate the fat within the lymph node but around it.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [September 30, 2023, 4:45am UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956/4 "2023-09-30T04:45:45Z")

</div>

After you have segmented the lymph, in `Masking` section use that segment as `Editable area`. If you threshold after this then it will only affect the region within the lymps segment.

---

<div class="post-metadata">

**Author:** ![Priyanka](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@Priyanka](https://discourse.slicer.org/u/Priyanka)\
**Post date:** [December 3, 2023, 6:42pm UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956/5 "2023-12-03T18:42:43Z")

</div>

Hi! I tried doing this, enclosed below is the screenshot of the command I gave and the table I received I believe the fat content within the lymph node should not be zero. Could you guide me further pleas, Thank you!

 ![Screenshot 2023-12-03 at 1.41.11 PM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/e/3e8a714b199160c5dbe112f304f5fd964b68323f.png)

 ![Screenshot 2023-12-03 at 1.38.59 PM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/5/3501a5099a63bc209e67d07e001078bc3bb9a70b.png)

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [December 3, 2023, 7:37pm UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956/6 "2023-12-03T19:37:49Z")

</div>

You can segment the lymph node in total first,

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/d/edddb728c3891449fad74c160f0b672d22b3f1fa.png)

then use the fat threshold effect “in ln”

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/6/e6b1122efad8bf9e6fbad98302e322f2aff2c781.jpeg)

^

---

<div class="post-metadata">

**Author:** ![Priyanka](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@Priyanka](https://discourse.slicer.org/u/Priyanka)\
**Post date:** [December 3, 2023, 8:01pm UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956/7 "2023-12-03T20:01:27Z")

</div>

Hi Rudolf,

Thanks for getting back to me, this is exactly what I am doing, I segment the lymph node first and then threshold for fat within it but it just gives me the fat around the lymph node and not within. Just like it’s showing for you, the fat outside the lymph is recognised but not within.

The thresholding range i am using is -150 to -50. Let me know if I am still doing something incorrectly.

Thanks  
Priyanka

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 3, 2023, 10:17pm UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956/8 "2023-12-03T22:17:14Z")

</div>

You probably want to set `Modify other segments` to `Allow overlap`.

---

<div class="post-metadata">

**Author:** ![Priyanka](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@Priyanka](https://discourse.slicer.org/u/Priyanka)\
**Post date:** [December 3, 2023, 11:16pm UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956/9 "2023-12-03T23:16:02Z")

</div>

Hi Rudolf,

Let me know if we can do a brief zoom call or such, where I can screen share what I have done. I believe 3D slicer can help us with our project but I want to make sure, its scientifically sound.  
If that is not possible, let me know I can simply email my query.

Best,  
Priyanka

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [December 4, 2023, 1:13pm UTC](https://discourse.slicer.org/t/volume-of-fat-within-lymph-node/31956/10 "2023-12-04T13:13:59Z")

</div>

If you set Masking to your “lymphnode” and Modify to “Allow overlap” then you should get your thresholded fat volume throughout the lymphnode.
