# "Blacken" selected voxels in DICOM images (from Segmentations)

**URL:** <https://discourse.slicer.org/t/blacken-selected-voxels-in-dicom-images-from-segmentations/13315>\
**Category:** Support\
**Created:** [September 3, 2020, 11:59am UTC](https://discourse.slicer.org/t/blacken-selected-voxels-in-dicom-images-from-segmentations/13315 "2020-09-03T11:59:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philipp\_Mayer](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/philipp_mayer/32/5422_2.png) [@Philipp\_Mayer](https://discourse.slicer.org/u/Philipp_Mayer)\
**Post date:** [September 3, 2020, 11:59am UTC](https://discourse.slicer.org/t/blacken-selected-voxels-in-dicom-images-from-segmentations/13315/1 "2020-09-03T11:59:28Z")

</div>

Hi everybody,  
I am new to this forum. I am an Abdominal Radiologist at a German University Hospital.  
I have got a question about manipulating the intensity values of selected voxels in DICOM files.  
We want to generate Volume Rendering Images from abdominal CT scans with the Siemens syngo.via tool (syngo.via offers some special “Cinematic Volume Rendering” options). Unfortunately, the options in syngo.via to exclude certain areas from the rendered image are limited.  
Therefore, I thought I could maybe “prepare” the DICOM files with 3D Slicer.  
Is it possible to change the intensity of selected voxels in DICOM files to black, using 3D Slicer?  
If I segment certain organs using the segmentation tool, is there a way to “erase” the voxels within the segmentation (by setting the intensity values to black) and then save the result as manipulated DICOM images?

Thank you very much for your help,  
Philipp

---

<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:** [September 3, 2020, 12:32pm UTC](https://discourse.slicer.org/t/blacken-selected-voxels-in-dicom-images-from-segmentations/13315/2 "2020-09-03T12:32:23Z")

</div>

Hi Philipp,  
Absolutely, this is possible with Slicer. Please check out the “Mask Volume” tool in Segment Editor. This [topic introducing the feature](https://discourse.slicer.org/t/new-segment-editor-effects-mask-volume-and-surface-cut/699) should help, but more information about it can be found on this forum and in the documentation. Let us know how it goes!

---

<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:** [September 3, 2020, 12:39pm UTC](https://discourse.slicer.org/t/blacken-selected-voxels-in-dicom-images-from-segmentations/13315/3 "2020-09-03T12:39:13Z")

</div>

I agree with the approach @cpinter suggested and also look forward to seeing the results. If things work well it would be interesting if you could share some examples and describe your methods.

---

<div class="post-metadata">

**Author:** ![Philipp\_Mayer](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/philipp_mayer/32/5422_2.png) [@Philipp\_Mayer](https://discourse.slicer.org/u/Philipp_Mayer)\
**Post date:** [September 3, 2020, 1:23pm UTC](https://discourse.slicer.org/t/blacken-selected-voxels-in-dicom-images-from-segmentations/13315/4 "2020-09-03T13:23:55Z")

</div>

Thank you so much! It seems to work.  
I will try to import the modified DICOM files to syngo.via this evening and hope I can show you some results soon 😉
