# volume calculation using 2d ct images

**URL:** <https://discourse.slicer.org/t/volume-calculation-using-2d-ct-images/37385>\
**Category:** Support\
**Tags:** segmentation, python, brain, segmentations, segment-editor, ai\
**Created:** [July 15, 2024, 7:53pm UTC](https://discourse.slicer.org/t/volume-calculation-using-2d-ct-images/37385 "2024-07-15T19:53:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammad\_afshari](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohammad_afshari/32/77322_2.png) [@mohammad\_afshari](https://discourse.slicer.org/u/mohammad_afshari)\
**Post date:** [July 15, 2024, 7:53pm UTC](https://discourse.slicer.org/t/volume-calculation-using-2d-ct-images/37385/1 "2024-07-15T19:53:31Z")

</div>

hi folks , we trained a 2d segmentation for traumatic brain hemorrhages using mask-rcnn (detectron2) . it works in 4 class (dural,parenchymal,ventricular,SAH) , now im wondering how can we assess the volume of hemorrhages in dural category . can we use the automate expanding segmentor options in python ? im wondering if the model miss a slice for example in 4 slices of hemorrhages how can we count it in volume calculating . thanks
