# Analyse multiple tumour segments as individual instances

**URL:** <https://discourse.slicer.org/t/analyse-multiple-tumour-segments-as-individual-instances/29692>\
**Category:** Support\
**Created:** [May 27, 2023, 9:14pm UTC](https://discourse.slicer.org/t/analyse-multiple-tumour-segments-as-individual-instances/29692 "2023-05-27T21:14:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nasibov\_98](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@nasibov\_98](https://discourse.slicer.org/u/nasibov_98)\
**Post date:** [May 27, 2023, 9:14pm UTC](https://discourse.slicer.org/t/analyse-multiple-tumour-segments-as-individual-instances/29692/1 "2023-05-27T21:14:32Z")

</div>

Hi, I have labeled the multiple tumours present in an MRI image as “Tumour”. Tumour pixels all have the label value of 2.

Here are the multiple tumour segmentations.

 ![statistics displayed](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/f/afd5e1dbc2b6ad7f57e4a1614217cd5dd18b5590.png)  
 ![Volume and segments](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/9/c91d3e66d76b9d418a533bf4beffbcbebe596de4.png)  
 ![3D reconstruction of tumour segments](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/a/7a410503e042bc10a48357d2c91bba3538b9d52c.png)

**I would like the “segment statistics” module to report on each tumour separately.** Is there a quick method of "splitting " these tumours up into separate instances? On 2D images of cells, I have used “regionprops” in python, which finds groups of pixels and considers them a unique entity, is there something similar for 3D segmentations???

I have many images with multiple tumours, it would take too long for me to segment them all with separate values.

Operating system:Mac OS  
Slicer version: 5.2.2

---

<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:** [May 27, 2023, 10:10pm UTC](https://discourse.slicer.org/t/analyse-multiple-tumour-segments-as-individual-instances/29692/2 "2023-05-27T22:10:39Z")

</div>

You can use [the Islands](https://slicer.readthedocs.io/en/latest/user_guide/modules/segmenteditor.html#islands) tool with the “Split islands to segments” option.

---

<div class="post-metadata">

**Author:** ![nasibov\_98](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@nasibov\_98](https://discourse.slicer.org/u/nasibov_98)\
**Post date:** [May 28, 2023, 11:15am UTC](https://discourse.slicer.org/t/analyse-multiple-tumour-segments-as-individual-instances/29692/3 "2023-05-28T11:15:32Z")

</div>

Thank you! That was a lot simpler than I expected.

Cheers
