# Creation of Module (Young's modulus)

**URL:** <https://discourse.slicer.org/t/creation-of-module-youngs-modulus/5822>\
**Category:** Support\
**Tags:** segmentation, extensions-manager, dicom, python\
**Created:** [February 19, 2019, 3:22am UTC](https://discourse.slicer.org/t/creation-of-module-youngs-modulus/5822 "2019-02-19T03:22:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lorena\_Cardenas](https://avatars.discourse-cdn.com/v4/letter/l/ac91a4/32.png) [@Lorena\_Cardenas](https://discourse.slicer.org/u/Lorena_Cardenas)\
**Post date:** [February 19, 2019, 3:22am UTC](https://discourse.slicer.org/t/creation-of-module-youngs-modulus/5822/1 "2019-02-19T03:22:58Z")

</div>

Hi everybody!, well I have to create a module that calculate Young’s modulus of mandible but i don’t know how to start. I have skills in programming on python but i never used VTK. My idea is to first cut the area of interest, segment the mandible and get the segmentation , then get the value of each voxel to enter it into a formula to calculate the modulus of young, then visualize the segmentation with a scale of colors the values of the modulus , for example the highest value in red and the lowest in blue. I do not know if its how possible and if you could guide me where to start. Thank you!!

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [February 19, 2019, 4:16pm UTC](https://discourse.slicer.org/t/creation-of-module-youngs-modulus/5822/2 "2019-02-19T16:16:26Z")

</div>

Yes, that all sounds quite doable via a scripted module.

Best if you start with the programming tutorials (particularly the one on developing extensions).

[https://www.slicer.org/wiki/Documentation/4.10/Training#Tutorials\_for\_software\_developers](https://www.slicer.org/wiki/Documentation/4.10/Training#Tutorials_for_software_developers)

---

<div class="post-metadata">

**Author:** ![Michaela\_Maintz](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/michaela_maintz/32/3532_2.png) [@Michaela\_Maintz](https://discourse.slicer.org/u/Michaela_Maintz)\
**Post date:** [May 27, 2020, 9:54am UTC](https://discourse.slicer.org/t/creation-of-module-youngs-modulus/5822/3 "2020-05-27T09:54:59Z")

</div>

Hello Lorena, I am working on maybe the same topic. I was wondering if you could get ahead in your topic and could assign material properties using 3D slicer?
