# How can I download "colormap configuration file" when using the module of "ShapePopulationViewer"?

**URL:** <https://discourse.slicer.org/t/how-can-i-download-colormap-configuration-file-when-using-the-module-of-shapepopulationviewer/537>\
**Category:** Support\
**Created:** [June 20, 2017, 1:48pm UTC](https://discourse.slicer.org/t/how-can-i-download-colormap-configuration-file-when-using-the-module-of-shapepopulationviewer/537 "2017-06-20T13:48:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramttoong](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Ramttoong](https://discourse.slicer.org/u/Ramttoong)\
**Post date:** [June 20, 2017, 1:48pm UTC](https://discourse.slicer.org/t/how-can-i-download-colormap-configuration-file-when-using-the-module-of-shapepopulationviewer/537/1 "2017-06-20T13:48:03Z")

</div>

And, How can I show the difference between two models as arrow shape?

---

<div class="post-metadata">

**Author:** ![mirclem](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mirclem/32/3356_2.png) [@mirclem](https://discourse.slicer.org/u/mirclem)\
**Post date:** [June 20, 2017, 2:10pm UTC](https://discourse.slicer.org/t/how-can-i-download-colormap-configuration-file-when-using-the-module-of-shapepopulationviewer/537/2 "2017-06-20T14:10:17Z")

</div>

Hi,

There is no colormap collection available online because you can customize and create your own colormaps.  
[Here](http://www.nitrc.org/docman/view.php/759/2022/SPV_tutorial_PDF.pdf) is the last documentation about ShapePopulationViewer, starting at slide 18 you will see how to change colormaps and slide 40 will show you how to save and then load them.

To show the difference between two models, there is a module named “ModelToModelDistance” ([doc](https://www.slicer.org/wiki/Documentation/Nightly/Extensions/ModelToModelDistance)) that you can download from the Slicer Extension Manager.

Hope it helps,

---

<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:** [June 20, 2017, 2:30pm UTC](https://discourse.slicer.org/t/how-can-i-download-colormap-configuration-file-when-using-the-module-of-shapepopulationviewer/537/3 "2017-06-20T14:30:34Z")

</div>

> [@Ramttoong](#):
>
> And, How can I show the difference between two models as arrow shape?

For this, you need to register the two models. Result of the registration is a transform that morphs one model to the other.

One option for registration is to convert the models to segments using Segmentations module (Import/export section) and then use the Segment registration extension. If you have the original image data then you probably you can compute more accurate registration from that, using an intensity based image registration.

---

<div class="post-metadata">

**Author:** ![mirclem](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mirclem/32/3356_2.png) [@mirclem](https://discourse.slicer.org/u/mirclem)\
**Post date:** [June 20, 2017, 2:50pm UTC](https://discourse.slicer.org/t/how-can-i-download-colormap-configuration-file-when-using-the-module-of-shapepopulationviewer/537/4 "2017-06-20T14:50:12Z")

</div>

If you are working with 3D models, the registration can be done using the “Surface Registration” module from the “CMFReg” extension also available in the Slicer Extension Manager.  
We have a [video tutorial](https://www.youtube.com/watch?v=hsZrjNsXZbs) about how to use the different features and ways to register models. (registration with fiducials, Region of Interest or surface; )

---

<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:** [June 20, 2017, 3:00pm UTC](https://discourse.slicer.org/t/how-can-i-download-colormap-configuration-file-when-using-the-module-of-shapepopulationviewer/537/5 "2017-06-20T15:00:05Z")

</div>

If you just need linear (rigid, similarity, affine) transforms then CMFreg should work well. However, that usually will not morph one surface to the other, it’ll just align it as much as it can, so the displacement vectors will not show where each point is moved.

In general, if you need a transform that maps one surface _exactly_ to the other, then you need to use a non-linear warping transform (b-spline or thin-plate-spline): for surface-based registration I think only Segment Registration implements this; for landmark-based registration, you can use Fiducial registration wizard (in SlicerIGT extension).
