# Calculating Second Moment of Area from Segment

**URL:** <https://discourse.slicer.org/t/calculating-second-moment-of-area-from-segment/16459>\
**Category:** Support\
**Created:** [March 9, 2021, 9:33pm UTC](https://discourse.slicer.org/t/calculating-second-moment-of-area-from-segment/16459 "2021-03-09T21:33:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jmhuie](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jmhuie/32/7086_2.png) [@jmhuie](https://discourse.slicer.org/u/jmhuie)\
**Post date:** [March 12, 2021, 1:42am UTC](https://discourse.slicer.org/t/calculating-second-moment-of-area-from-segment/16459/4 "2021-03-12T01:42:28Z")

</div>

> [@lassoan](#):
>
> Segment cross-section area module is a Python scripted module, so you should be able to modify it to add some more computations. You could also add computation of all the other features to this module, so that you would have everything available in a single module, computing all metrics by a single click (you would then of course rename it accordingly).

Thanks for the support @lassoan. I decided to take a stab at adding to the segment cross-sectional area module and I’m glad I did. I’ve been able to implement many of calculations that BoneJ does. It’s not pretty and there’s still a lot I want to fix in terms of the output as well as the UI of the module, but so far so good. Will hopefully get to a point where I can share it soon.

---

_[View the full topic](https://discourse.slicer.org/t/calculating-second-moment-of-area-from-segment/16459)._
