# Deformable 3D triangular mesh in ITK

**URL:** https://discourse.itk.org/t/deformable-3d-triangular-mesh-in-itk/1274
**Category:** Beginner Questions
**Created:** [September 12, 2018, 3:23am UTC](https://discourse.itk.org/t/deformable-3d-triangular-mesh-in-itk/1274 "2018-09-12T03:23:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Dew](https://discourse.itk.org/letter_avatar_proxy/v4/letter/d/f9ae1b/32.png) [@Dew](https://discourse.itk.org/u/Dew)
#### Post date: [September 12, 2018, 3:23am UTC](https://discourse.itk.org/t/deformable-3d-triangular-mesh-in-itk/1274/1 "2018-09-12T03:23:00Z")

</div>

Hi, everyone~. I am a freshman of ITK. In my work, I would like to deform the triangular mesh to segment  
the 3D images. At first, I notice the DeformableSimplexMesh3DFilter, yet the input of this filter seems to be a  
polygon mesh (simplex mesh), generated by connecting the centers of the triangles of a triangular mesh. As  
I have to do some post processing with my triangular mesh for every iteration, I don’t want to change the  
mesh structure during the deformation. Actually to move the vertices of the triangular mesh according to the  
image information is all I want, and then I will adjust the shape and topology of the mesh with my own  
method. Shortly afterwards, I find the filter itkDeformableMesh3DFilter seems to implement the function, yet I  
didn’t find the module of itkDeformableMesh3DFilter after the compiling of the ITK. I wonder if someone  
could tell me what I have missed when compiling the ITK with CMake and Vistual studio 2010. Thank you and  
best regards.~

---

<div class="post-metadata">

### Author: ![Dew](https://discourse.itk.org/letter_avatar_proxy/v4/letter/d/f9ae1b/32.png) [@Dew](https://discourse.itk.org/u/Dew)
#### Post date: [September 12, 2018, 11:00am UTC](https://discourse.itk.org/t/deformable-3d-triangular-mesh-in-itk/1274/2 "2018-09-12T11:00:29Z")

</div>

By the way, I wonder if ITK provides the function of deformable models based on the surface triangular mesh. The filter itkDeformableMesh3DFilter seems to do this work, yet the reference is so rare that I didn’t find the paper or article to describe the method, which makes it uneasy to understand. Sincerely hope someone could resolve my doubt. Wish you all have good achievements in work and good health.~

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [September 12, 2018, 3:45pm UTC](https://discourse.itk.org/t/deformable-3d-triangular-mesh-in-itk/1274/3 "2018-09-12T15:45:37Z")

</div>

Here are some the filters in [ITKDeformableMesh](https://itk.org/Doxygen/html/group__ITKDeformableMesh.html) module. [`itk::DeformableMesh3DFilter`](https://github.com/InsightSoftwareConsortium/ITK/blob/release-4.13/Modules/Compatibility/Deprecated/include/itkDeformableMesh3DFilter.h) was part of version 3 compatibility module and has been removed earlier this year. It can still be found in [ITK 4.13.1](https://github.com/InsightSoftwareConsortium/ITK/tree/release-4.13), if compatibility options are enabled during CMake configure step.

---

<div class="post-metadata">

### Author: ![Dew](https://discourse.itk.org/letter_avatar_proxy/v4/letter/d/f9ae1b/32.png) [@Dew](https://discourse.itk.org/u/Dew)
#### Post date: [September 13, 2018, 2:06am UTC](https://discourse.itk.org/t/deformable-3d-triangular-mesh-in-itk/1274/5 "2018-09-13T02:06:09Z")

</div>

Oh, thank you, dzenanz~.You can’t image how I am excited to receive your reply~. Do you know some references to describe the method of itk::DeformableMesh3DFileter? The instruction document of this filter seems very short and does not provide the related paper or article. I would like to have a study based on ITK and may re-implement the method. It seems the ITKDeformableMesh module only remains the filter with the input to be the simplex mesh (a polygon mesh which every vertex has exact three neighbors according to my understanding). I am a little curious why itk::DeformableMesh3DFilter is removed. Have a good day, you are very kind.~

---

<div class="post-metadata">

### Author: ![Dew](https://discourse.itk.org/letter_avatar_proxy/v4/letter/d/f9ae1b/32.png) [@Dew](https://discourse.itk.org/u/Dew)
#### Post date: [September 13, 2018, 2:23am UTC](https://discourse.itk.org/t/deformable-3d-triangular-mesh-in-itk/1274/6 "2018-09-13T02:23:15Z")

</div>

By the way, I just added the compatibility with version 3 in the configure step of CMake and found the class itk::DeformableMesh3DFilter after compiling. You are very helpful.~
