# Create "heatmap" in slicer

**URL:** <https://discourse.slicer.org/t/create-heatmap-in-slicer/31976>\
**Category:** Support\
**Created:** [October 1, 2023, 4:29am UTC](https://discourse.slicer.org/t/create-heatmap-in-slicer/31976 "2023-10-01T04:29:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![umair04](https://avatars.discourse-cdn.com/v4/letter/u/c67d28/32.png) [@umair04](https://discourse.slicer.org/u/umair04)\
**Post date:** [October 1, 2023, 4:29am UTC](https://discourse.slicer.org/t/create-heatmap-in-slicer/31976/1 "2023-10-01T04:29:33Z")

</div>

Hi,  
Does anyone know how to create a “heatmap” on slicer? I am trying to overlay 5 different segmentations below and make areas where overlap occurs darker and highlight the areas where most overlap occurs.

Thanks

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/9/093ae962c54f93f5306b9fe3fadef72f053b73ab.png)

---

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [October 1, 2023, 6:03am UTC](https://discourse.slicer.org/t/create-heatmap-in-slicer/31976/2 "2023-10-01T06:03:20Z")

</div>

I think what you looking for is the Model to Model distance extension and shape population viewer.

---

<div class="post-metadata">

**Author:** ![umair04](https://avatars.discourse-cdn.com/v4/letter/u/c67d28/32.png) [@umair04](https://discourse.slicer.org/u/umair04)\
**Post date:** [October 13, 2023, 9:59pm UTC](https://discourse.slicer.org/t/create-heatmap-in-slicer/31976/3 "2023-10-13T21:59:59Z")

</div>

I tried using the extension but was unable to figure out how to do it. Do you know what specific steps I need to follow to create the heat map?

---

<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 15, 2023, 9:50pm UTC](https://discourse.slicer.org/t/create-heatmap-in-slicer/31976/4 "2023-10-15T21:50:48Z")

</div>

If segments are this much misaligned then closest point distance (computed by ModelToModelDistance extension) is not meaningful, because closest point on the other surface is not the correponding point. Therefore, I would suggest to try to align the structures and voaualize the transform using Transforms module (or export the computed transform into a displacement field magnitude volume and then use “Probe volume with model” to color the model by the displacement).
