# Merge segments from different Hierarchy model

**URL:** <https://discourse.slicer.org/t/merge-segments-from-different-hierarchy-model/11477>\
**Category:** Support\
**Created:** [May 9, 2020, 7:42am UTC](https://discourse.slicer.org/t/merge-segments-from-different-hierarchy-model/11477 "2020-05-09T07:42:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Acantharia](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/acantharia/32/5180_2.png) [@Acantharia](https://discourse.slicer.org/u/Acantharia)\
**Post date:** [May 9, 2020, 7:42am UTC](https://discourse.slicer.org/t/merge-segments-from-different-hierarchy-model/11477/1 "2020-05-09T07:42:11Z")

</div>

Dear all, I am wondering how to merge segments of different model hierarchy. I did not pay attention at the beginning but I created different “segments” from the same object I want to segment. In other words, the same object A has two similar segments.Please see below the image.  
The logical operator effect can merge two segments from the same hierarchymodel but also from different models? Sorry If it is not clear.

Finally, I would be very grateful to know the differences between the segments into the “Segmentation” and the “ModelHierarchy” nodes.

Thanks a lot for your help

 ![3DSlicer_Help](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/c/bc84798dbad84f563db7e7318615209ea1c7dd53.jpeg)

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [May 9, 2020, 1:18pm UTC](https://discourse.slicer.org/t/merge-segments-from-different-hierarchy-model/11477/2 "2020-05-09T13:18:32Z")

</div>

You can find a diagram that demonstrates the role of the different data types such as segmentation and model:  
[https://slicer.readthedocs.io/en/latest/user\_guide/data\_loading\_and\_saving.html](https://slicer.readthedocs.io/en/latest/user_guide/data_loading_and_saving.html)  
Basically model hierarchy nodes are simple folders.

You can convert these model hierarchies to segmentations (and back) by right-clicking the respective nodes. Once you have the segmentations, you can drag&drop segments between segmentations that then you can merge (I guess you want to use union) with the logical operators.

---

<div class="post-metadata">

**Author:** ![Acantharia](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/acantharia/32/5180_2.png) [@Acantharia](https://discourse.slicer.org/u/Acantharia)\
**Post date:** [May 13, 2020, 8:54am UTC](https://discourse.slicer.org/t/merge-segments-from-different-hierarchy-model/11477/3 "2020-05-13T08:54:52Z")

</div>

Thank you very much for this information  
Best regards
