# Segmentation not working with 2 sets of DICOM images

**URL:** https://discourse.slicer.org/t/segmentation-not-working-with-2-sets-of-dicom-images/32345
**Category:** Support
**Created:** [October 20, 2023, 2:11pm UTC](https://discourse.slicer.org/t/segmentation-not-working-with-2-sets-of-dicom-images/32345 "2023-10-20T14:11:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Ben\_Fong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ben_fong/32/67953_2.png) [@Ben\_Fong](https://discourse.slicer.org/u/Ben_Fong)
#### Post date: [October 20, 2023, 2:11pm UTC](https://discourse.slicer.org/t/segmentation-not-working-with-2-sets-of-dicom-images/32345/1 "2023-10-20T14:11:03Z")

</div>

Operating system: Mac Big Sur  
Slicer version: 4.11.20210226

Hi,

I have little experience with 3D Slicer. I managed simple work with one set of DICOM.  
When I worked with two sets of DICOMs (CT & MRI).  
After I imported the second DICOM, segmentation only worked on the first set (CT or MRI, only can work on the first set).  
After linear transformation +/- rigid (6DOF) registration, segmentation did not work on either set (e.g. could not paint, already checked editable intensity range is off, could not adjust threshold limit).  
I had changed the order of import, the result was the same.  
I must missed some steps.  
Please advise on the reason and how to fix it.  
Thanks.

Ben

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [October 20, 2023, 2:12pm UTC](https://discourse.slicer.org/t/segmentation-not-working-with-2-sets-of-dicom-images/32345/2 "2023-10-20T14:12:59Z")

</div>

See instructions for resolving this [here](https://slicer.readthedocs.io/en/latest/user_guide/modules/segmenteditor.html#cannot-paint-outside-some-boundaries).

I would recommend to upgrade to the current Slicer version. The one that you are using is more than 2 years old, therefore missing hundreds of important fixes and improvements.

---

<div class="post-metadata">

### Author: ![Ben\_Fong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ben_fong/32/67953_2.png) [@Ben\_Fong](https://discourse.slicer.org/u/Ben_Fong)
#### Post date: [October 20, 2023, 3:17pm UTC](https://discourse.slicer.org/t/segmentation-not-working-with-2-sets-of-dicom-images/32345/3 "2023-10-20T15:17:45Z")

</div>

Thanks for your advice. Will update and see how it is going.

---

<div class="post-metadata">

### Author: ![Ben\_Fong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ben_fong/32/67953_2.png) [@Ben\_Fong](https://discourse.slicer.org/u/Ben_Fong)
#### Post date: [October 20, 2023, 4:28pm UTC](https://discourse.slicer.org/t/segmentation-not-working-with-2-sets-of-dicom-images/32345/4 "2023-10-20T16:28:16Z")

</div>

I Updated the software, but the condition is the same.  
I loaded CT, then MRI, and can only work with Segment Editor with CT images, not the MRI one.

 ![Screenshot 2023-10-21 at 12.21.02 AM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/d/5d371cdc108a094e08fd53a6a9eafac5b5258174.jpeg)  
This is the data screenshot:  
 ![Screenshot 2023-10-21 at 12.21.23 AM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/4/e48ed1c7b28f207eb425f07eab99884ee2904bb7.jpeg)  
How can I do segmentation also on the second set of DICOM?  
Please advise.  
Thanks.

---

<div class="post-metadata">

### Author: ![Ben\_Fong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ben_fong/32/67953_2.png) [@Ben\_Fong](https://discourse.slicer.org/u/Ben_Fong)
#### Post date: [October 20, 2023, 5:14pm UTC](https://discourse.slicer.org/t/segmentation-not-working-with-2-sets-of-dicom-images/32345/5 "2023-10-20T17:14:56Z")

</div>

Thanks for the advice.  
I updated the software.  
It is the same.  
But after some more work, I found that segmentation only works in the 1st set DICOM area, so I need to transform and register the 2nd set DICOM to the 1st set, then it will work. This solved my problem.  
Thanks.

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [October 21, 2023, 2:30pm UTC](https://discourse.slicer.org/t/segmentation-not-working-with-2-sets-of-dicom-images/32345/6 "2023-10-21T14:30:25Z")

</div>

In each imaging study, the patient coordinate system origin is chosen differently and the patient is positioned on the table slightly differently. Therefore, if you want to use multiple images (e.g., CT and MRI) for creating a single segmentation then you need to align them first. You can use the spatial registration methods described [here](https://slicer.readthedocs.io/en/latest/user_guide/registration.html).
