# \#labels

**URL:** https://discourse.itk.org/tag/labels/187.md

[Latest](https://discourse.itk.org/latest.md) · [Categories](https://discourse.itk.org/categories.md) · [Tags](https://discourse.itk.org/tags.md)

---

## [Combining overlapping segmentations of same region from different images.](https://discourse.itk.org/t/combining-overlapping-segmentations-of-same-region-from-different-images/6309)

<div class="topic-metadata">

**Author:** [@ramirez](https://discourse.itk.org/u/ramirez)\
**Replies:** 11\
**Last updated:** [November 23, 2023, 3:04pm UTC](https://discourse.itk.org/t/combining-overlapping-segmentations-of-same-region-from-different-images/6309 "2023-11-23T15:04:19Z")

</div>

Hello everyone, There is a certain region in these images (MRI) whose boundaries end in one view but can be easily observed in another ( e.g., the posterior limit in the coronal plane can be extended in the sagittal pla…

---

## [How to convert multi region Segmentation.seg.nrrd into a set of binary label images?](https://discourse.itk.org/t/how-to-convert-multi-region-segmentation-seg-nrrd-into-a-set-of-binary-label-images/4391)

<div class="topic-metadata">

**Author:** [@machadoL](https://discourse.itk.org/u/machadoL)\
**Replies:** 12\
**Last updated:** [December 10, 2021, 9:29am UTC](https://discourse.itk.org/t/how-to-convert-multi-region-segmentation-seg-nrrd-into-a-set-of-binary-label-images/4391 "2021-12-10T09:29:50Z")

</div>

Hello, friends. I would like to ask your help for converting a 2D segmentation.seg.nrrd into a collection of 2D binary label images (one image per segmentation region). I need to perform that by command line in python …

---

## [Trying to access LabelGeometryImageFilter in ITK 5.2.1.post1 python package.](https://discourse.itk.org/t/trying-to-access-labelgeometryimagefilter-in-itk-5-2-1-post1-python-package/4538)

<div class="topic-metadata">

**Author:** [@LalithShiyam](https://discourse.itk.org/u/LalithShiyam)\
**Replies:** 5\
**Last updated:** [November 1, 2021, 7:38pm UTC](https://discourse.itk.org/t/trying-to-access-labelgeometryimagefilter-in-itk-5-2-1-post1-python-package/4538 "2021-11-01T19:38:14Z")

</div>

Dear ITK devs, Many thanks for creating such a solid tool. I am currently trying to migrate from SimpleITK to ITK python because of LabelGeometryImageFilter’s ability to calculate orientation as well. I would like to ca…

---

## [Trying to extract stats from a DICOM image after using watershed segmentation and relabeling components](https://discourse.itk.org/t/trying-to-extract-stats-from-a-dicom-image-after-using-watershed-segmentation-and-relabeling-components/3930)

<div class="topic-metadata">

**Author:** [@Diego\_C](https://discourse.itk.org/u/Diego_C)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 6:17am UTC](https://discourse.itk.org/t/trying-to-extract-stats-from-a-dicom-image-after-using-watershed-segmentation-and-relabeling-components/3930 "2021-03-05T06:17:08Z")

</div>

Hi! I have a pipeline where I do watershed segmentation and then I filter the number of components retaining only those with a given size. My code looks like this: im\_watershed = sitk.MorphologicalWatershed(im\_gradient…
