# REPRESENT A 3D MODEL OF A BONE WITH A COLORMAP BASED ON BONE THICKNESS

**URL:** https://discourse.vtk.org/t/represent-a-3d-model-of-a-bone-with-a-colormap-based-on-bone-thickness/7704
**Category:** Support
**Created:** [January 22, 2022, 5:17pm UTC](https://discourse.vtk.org/t/represent-a-3d-model-of-a-bone-with-a-colormap-based-on-bone-thickness/7704 "2022-01-22T17:17:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Albsb](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/a/f08c70/32.png) [@Albsb](https://discourse.vtk.org/u/Albsb)
#### Post date: [January 22, 2022, 5:17pm UTC](https://discourse.vtk.org/t/represent-a-3d-model-of-a-bone-with-a-colormap-based-on-bone-thickness/7704/1 "2022-01-22T17:17:19Z")

</div>

Hello!

We have an array of contours with information about the thickness of a bone tissue. In each one of the slices, all the values are zero except those that show the thickness. The following image is an example of one slice:

 ![image](https://discourse.vtk.org/uploads/default/original/2X/7/7606ed1fa1af4e673ec838d7ef49434ac256e4ab.png)

The idea is to represent a stacked model using the values of those slices to get a 3d representation of the bone with a colormap based on those thickness values. Something similar to what is shown in the following image but with a colormap based on bone thickness.

 ![image](https://discourse.vtk.org/uploads/default/original/2X/c/c74162e96c782e578cebdd39dc3c4daf5b241da8.jpeg)  
Image obtained from: [https://es.dreamstime.com/](https://es.dreamstime.com/)

Any help is appreciated.  
Thanks!
