# MRI image segmentation and export

**URL:** <https://discourse.slicer.org/t/mri-image-segmentation-and-export/31460>\
**Category:** Support\
**Created:** [August 31, 2023, 7:50am UTC](https://discourse.slicer.org/t/mri-image-segmentation-and-export/31460 "2023-08-31T07:50:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kelly\_Lee](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kelly_lee/32/67359_2.png) [@Kelly\_Lee](https://discourse.slicer.org/u/Kelly_Lee)\
**Post date:** [August 31, 2023, 7:50am UTC](https://discourse.slicer.org/t/mri-image-segmentation-and-export/31460/1 "2023-08-31T07:50:39Z")

</div>

I have an image, and I’ve already used the segment editor to outline the ROI. How can I remove the image outside the ROI and export the MRI image within the ROI (in JPG, DICOM, or JSON format)?

---

<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:** [August 31, 2023, 7:52am UTC](https://discourse.slicer.org/t/mri-image-segmentation-and-export/31460/2 "2023-08-31T07:52:19Z")

</div>

You can blank out the region inside or outside a segment using the Mask Volume effect.

If you want to do skull stripping then there are several Slicer extensions that do that automatically.

---

<div class="post-metadata">

**Author:** ![Kelly\_Lee](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kelly_lee/32/67359_2.png) [@Kelly\_Lee](https://discourse.slicer.org/u/Kelly_Lee)\
**Post date:** [September 1, 2023, 1:32am UTC](https://discourse.slicer.org/t/mri-image-segmentation-and-export/31460/3 "2023-09-01T01:32:00Z")

</div>

I’m sincerely grateful for your response. I have successfully completed the segmentation and exported it in DICOM format.
