# How to Color 2D Dicom Image and 3D volume image? like the following...

**URL:** <https://discourse.itk.org/t/how-to-color-2d-dicom-image-and-3d-volume-image-like-the-following/3327>\
**Category:** Uncategorized\
**Created:** [July 24, 2020, 7:36am UTC](https://discourse.itk.org/t/how-to-color-2d-dicom-image-and-3d-volume-image-like-the-following/3327 "2020-07-24T07:36:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wulicheng](https://discourse.itk.org/user_avatar/discourse.itk.org/wulicheng/32/1390_2.png) [@wulicheng](https://discourse.itk.org/u/wulicheng)\
**Post date:** [July 24, 2020, 7:36am UTC](https://discourse.itk.org/t/how-to-color-2d-dicom-image-and-3d-volume-image-like-the-following/3327/1 "2020-07-24T07:36:56Z")

</div>

![image](https://discourse.itk.org/uploads/default/original/2X/1/1bfcb22af673fe5ddfba50ed23cb75f1ea3f4a39.png)

---

<div class="post-metadata">

**Author:** ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)\
**Post date:** [July 24, 2020, 12:31pm UTC](https://discourse.itk.org/t/how-to-color-2d-dicom-image-and-3d-volume-image-like-the-following/3327/2 "2020-07-24T12:31:42Z")

</div>

Hello @wulicheng,

Not sure if you are using SimpleITK or ITK as you did not tag your question or specify it.

If using SimpleITK then please see [this Jupyter notebook](https://github.com/InsightSoftwareConsortium/SimpleITK-Notebooks/blob/master/Python/05_Results_Visualization.ipynb) sections titled “Overlay segmentation labels onto original image” and " Overlay segmentation boundaries onto original image". If you are using ITK, the filters are the same, just slight differences in syntax.

---

<div class="post-metadata">

**Author:** ![wulicheng](https://discourse.itk.org/user_avatar/discourse.itk.org/wulicheng/32/1390_2.png) [@wulicheng](https://discourse.itk.org/u/wulicheng)\
**Post date:** [July 25, 2020, 5:34am UTC](https://discourse.itk.org/t/how-to-color-2d-dicom-image-and-3d-volume-image-like-the-following/3327/3 "2020-07-25T05:34:41Z")

</div>

Sorry i am using ITK

---

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [July 25, 2020, 11:21am UTC](https://discourse.itk.org/t/how-to-color-2d-dicom-image-and-3d-volume-image-like-the-following/3327/4 "2020-07-25T11:21:33Z")

</div>

Take a look at this [example](https://itk.org/ITKExamples/src/Filtering/ImageFusion/OverlayLabelMapOnTopOfAnImage/Documentation.html).

---

<div class="post-metadata">

**Author:** ![wulicheng](https://discourse.itk.org/user_avatar/discourse.itk.org/wulicheng/32/1390_2.png) [@wulicheng](https://discourse.itk.org/u/wulicheng)\
**Post date:** [July 26, 2020, 6:48am UTC](https://discourse.itk.org/t/how-to-color-2d-dicom-image-and-3d-volume-image-like-the-following/3327/6 "2020-07-26T06:48:23Z")

</div>

thanks  
!
