# Area from Distance Color Maps

**URL:** <https://discourse.slicer.org/t/area-from-distance-color-maps/30311>\
**Category:** Support\
**Tags:** python, 3d-model\
**Created:** [June 29, 2023, 6:44pm UTC](https://discourse.slicer.org/t/area-from-distance-color-maps/30311 "2023-06-29T18:44:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlos\_Felipe\_Lobo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/carlos_felipe_lobo/32/66594_2.png) [@Carlos\_Felipe\_Lobo](https://discourse.slicer.org/u/Carlos_Felipe_Lobo)\
**Post date:** [June 29, 2023, 6:44pm UTC](https://discourse.slicer.org/t/area-from-distance-color-maps/30311/1 "2023-06-29T18:44:03Z")

</div>

Hello,  
I am studying the instability of the medial cuneiform - 1st metatarsal joint. I assume that the group of cases with arthrosis has a different joint space than the control group.  
For this, I successfully created a model of the medial cuneiform with the color map of the distance to the articular surface of the 1st metatarsal (first image).  
My question is: Is there a way to extract the area that corresponds to a specific color (for example, the color green in the second image)?

 ![image 1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/b/fbcb524e1343e372d4692f651b70d1d1ea050370.jpeg)

![CM - I meta anterior](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/0/70748867e9274bc208e6ba4d4ec00871350f882c.png)

Thanks!

\*Image subtitle:

- Navicular: blue;
- Intermediate cuneiform: red;
- Medial cuneiform: rainbow;
- Base of the first metatarsal: yellow.
