# Mean diameter for SlicerVMTK module

**URL:** <https://discourse.slicer.org/t/mean-diameter-for-slicervmtk-module/24224>\
**Category:** VMTK\
**Created:** [July 7, 2022, 3:37pm UTC](https://discourse.slicer.org/t/mean-diameter-for-slicervmtk-module/24224 "2022-07-07T15:37:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vyvyvyvy](https://avatars.discourse-cdn.com/v4/letter/v/77aa72/32.png) [@vyvyvyvy](https://discourse.slicer.org/u/vyvyvyvy)\
**Post date:** [July 7, 2022, 3:37pm UTC](https://discourse.slicer.org/t/mean-diameter-for-slicervmtk-module/24224/1 "2022-07-07T15:37:40Z")

</div>

How can I use the SlicerVMTK module, “cross-section analysis” to show the mean diameter? Right now, I seem to only see options for “min” and “max.” Is there a way to add the mean on my end?

---

<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:** [July 7, 2022, 7:54pm UTC](https://discourse.slicer.org/t/mean-diameter-for-slicervmtk-module/24224/2 "2022-07-07T19:54:10Z")

</div>

You can save the “Output table” as a .csv file, open it in Excel, and get the average of the diameter column.

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [July 8, 2022, 6:30am UTC](https://discourse.slicer.org/t/mean-diameter-for-slicervmtk-module/24224/3 "2022-07-08T06:30:28Z")

</div>

‘Extract centerline’ allows to create an output table with a ‘Radius’ column. Is it the mean radius ? Calculating a mean value as specified above gives a very slightly different value than the one reported in the ‘Extract centerline’ table.

---

<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:** [July 9, 2022, 3:16pm UTC](https://discourse.slicer.org/t/mean-diameter-for-slicervmtk-module/24224/4 "2022-07-09T15:16:24Z")

</div>

Yes, `Extract Centerline` module reports mean radius in each branch. Some difference is expected due to different sampling, but the difference should be very small (less than a few percent).
