# Parametric color map corresponding to particular morphology

**URL:** https://discourse.slicer.org/t/parametric-color-map-corresponding-to-particular-morphology/9731
**Category:** Support
**Created:** [January 7, 2020, 11:43pm UTC](https://discourse.slicer.org/t/parametric-color-map-corresponding-to-particular-morphology/9731 "2020-01-07T23:43:02Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [January 8, 2020, 3:11am UTC](https://discourse.slicer.org/t/parametric-color-map-corresponding-to-particular-morphology/9731/2 "2020-01-08T03:11:50Z")

</div>

> [@hherhold](#):
>
> Is it possible to define a parametric color map where the color is defined by the morphology of a particular slice?

You can define and display any parametric color maps.

> [@hherhold](#):
>
> For example, say you wanted to display lung tracheae or blood vessels, and display those with a larger cross-sectional area as blue, and those with smaller area as red?

This one should be easy. See steps described [here](https://discourse.slicer.org/t/how-to-analyze-the-thickness-of-the-model/2735/2). You can also use SlicerVMTK extension to extract centerline curve and get radius at each centerline point.

If you want to extract part of a model corresponding to a certain radius range, then you can apply vtkThreshold filter to the model (see example [here](https://discourse.slicer.org/t/use-segmentations-in-cad-or-fem-software/1626/34)).

---

_[View the full topic](https://discourse.slicer.org/t/parametric-color-map-corresponding-to-particular-morphology/9731)._
