# Spatial registration of meshes

**URL:** <https://discourse.slicer.org/t/spatial-registration-of-meshes/2859>\
**Category:** Support\
**Created:** [May 21, 2018, 12:14pm UTC](https://discourse.slicer.org/t/spatial-registration-of-meshes/2859 "2018-05-21T12:14:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bio\_Medical](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@Bio\_Medical](https://discourse.slicer.org/u/Bio_Medical)\
**Post date:** [May 21, 2018, 12:14pm UTC](https://discourse.slicer.org/t/spatial-registration-of-meshes/2859/1 "2018-05-21T12:14:09Z")

</div>

Can we perform Digital image coorelation in 3D slicer?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [May 21, 2018, 12:35pm UTC](https://discourse.slicer.org/t/spatial-registration-of-meshes/2859/2 "2018-05-21T12:35:41Z")

</div>

Can you be more specific?

---

<div class="post-metadata">

**Author:** ![Bio\_Medical](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@Bio\_Medical](https://discourse.slicer.org/u/Bio_Medical)\
**Post date:** [May 22, 2018, 4:27am UTC](https://discourse.slicer.org/t/spatial-registration-of-meshes/2859/3 "2018-05-22T04:27:19Z")

</div>

Does 3D slicer provides us an opportunity to co-register two 3D models?Thats how we perform Digital image co-orelation,first we coregister two models and then calculate strain deformation(build maps on that basis).So I dont think it enables us to perform simulation but maybe there is some kind of library/module which can makes us atleast register two models.  
If anyone has some idea kindly let me know.

---

<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:** [May 22, 2018, 4:40am UTC](https://discourse.slicer.org/t/spatial-registration-of-meshes/2859/4 "2018-05-22T04:40:50Z")

</div>

There are several registration modules for model registration. See this post for details: [align two segments to each other](https://discourse.slicer.org/t/align-two-segments-to-each-other/2570/4?u=lassoan)

---

<div class="post-metadata">

**Author:** ![Bio\_Medical](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@Bio\_Medical](https://discourse.slicer.org/u/Bio_Medical)\
**Post date:** [May 22, 2018, 8:00am UTC](https://discourse.slicer.org/t/spatial-registration-of-meshes/2859/5 "2018-05-22T08:00:17Z")

</div>

Thanks@ lassoan for your response.I have seen the thread that you have mentioned.  
But apparently this ‘Model registration’ is doing registeration of two models based on segmentation(which has been done in 3d slicer i guess).  
I want to register two meshes actually.is this module able to do that as well?

---

<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:** [May 22, 2018, 11:35am UTC](https://discourse.slicer.org/t/spatial-registration-of-meshes/2859/6 "2018-05-22T11:35:08Z")

</div>

You can import models into a segmentation by using Segmentations module Import/Export section.

---

<div class="post-metadata">

**Author:** ![thewtex](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/thewtex/32/32_2.png) [@thewtex](https://discourse.slicer.org/u/thewtex)\
**Post date:** [May 23, 2018, 1:23am UTC](https://discourse.slicer.org/t/spatial-registration-of-meshes/2859/7 "2018-05-23T01:23:41Z")

</div>

Slicer provides [itk::MaskedFFTNormalizedCorrelationImageFilter](https://itk.org/Doxygen/html/classitk_1_1MaskedFFTNormalizedCorrelationImageFilter.html) – digital image correlation can be used to estimate translation in this case.

For deformation, the SlicerITKUltrasound extension provides access to [ITKUltrasound](https://github.com/KitwareMedical/ITKUltrasound), which can compute correlation-based strain.

There are also [correlation-based metrics](https://itk.org/Doxygen/html/classitk_1_1ANTSNeighborhoodCorrelationImageToImageMetricv4.html) in the ITK registration framework.

---

<div class="post-metadata">

**Author:** ![Bio\_Medical](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@Bio\_Medical](https://discourse.slicer.org/u/Bio_Medical)\
**Post date:** [May 24, 2018, 4:11am UTC](https://discourse.slicer.org/t/spatial-registration-of-meshes/2859/8 "2018-05-24T04:11:54Z")

</div>

How can i import my mesh.inp into slicer?  
I have tried to import it by Segmentations module\> Import but it is not working(no dialogue box open after clicking on import).Is there any other way of doing it?  
I have to register two volumes(meshes) basically.  
I am using slicer 4.8.1.  
Operating System:Window 7  
Graphic card:intel r hd graphics (core i3)

---

<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:** [May 24, 2018, 4:45am UTC](https://discourse.slicer.org/t/spatial-registration-of-meshes/2859/9 "2018-05-24T04:45:19Z")

</div>

Loading of inp file format is not supported in Slicer. Either save the mesh in stl, ply, obj, vtp, vtk, or vtu file format instead of inp, or find a converter that can convert an inp file to one of the supported file formats.
