# Morphing Algorithms in VTK.

**URL:** https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494
**Category:** Support
**Created:** [April 5, 2021, 9:19am UTC](https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494 "2021-04-05T09:19:11Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Luis\_Carlos\_Carneiro](https://discourse.vtk.org/user_avatar/discourse.vtk.org/luis_carlos_carneiro/32/1360_2.png) [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)
#### Post date: [April 5, 2021, 9:19am UTC](https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494/1 "2021-04-05T09:19:11Z")

</div>

Dear All,

Has VTK, Morphing filters/algorithms embedded or that can be used?

Thanks,

Luís Gonçalves

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [April 19, 2021, 3:13am UTC](https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494/2 "2021-04-19T03:13:15Z")

</div>

There are many algorithms in VTK that can be used for “morphing” of various data objects. What would you like to achieve? What kind of objects are you working with?

---

<div class="post-metadata">

### Author: ![oguzhantopsakal](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/o/3be4f8/32.png) [@oguzhantopsakal](https://discourse.vtk.org/u/oguzhantopsakal)
#### Post date: [September 6, 2021, 1:15pm UTC](https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494/3 "2021-09-06T13:15:45Z")

</div>

Hello Andras,  
I am also interested in morphing 3D objects using VTK. Could you answer my question? I would like to know if it can be done using VTK libraries for the web.  
Thank you.

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [September 6, 2021, 2:25pm UTC](https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494/4 "2021-09-06T14:25:32Z")

</div>

If vtk.js does not contain all the necessary classes then you can set up a web service that uses VTK for performing the computation.

---

<div class="post-metadata">

### Author: ![oguzhantopsakal](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/o/3be4f8/32.png) [@oguzhantopsakal](https://discourse.vtk.org/u/oguzhantopsakal)
#### Post date: [September 6, 2021, 3:17pm UTC](https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494/5 "2021-09-06T15:17:42Z")

</div>

That sounds like a good idea. Any suggestion on which VTK library can be used on the web service? Also, I would like to display the modifications as they happen. I would need to download/reload the modified obj file from the web service, right? Thanks.

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [September 7, 2021, 12:22am UTC](https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494/6 "2021-09-07T00:22:18Z")

</div>

It should be straightforward to implement a web service in any language that VTK is available for. I guess Python would be the easiest, but to you can also use C++, and I think VTK is available also for C# and Java. If course if vtk.js has all the filters then that could be nice, too (then you would not need to do server-side processing and uoload/download data).

I would recommend to first figure out your processing workflow (what filters to use and how, see how robust they are, see if you need any user inputs, etc.) and then get back to the question of how to deploy it.

---

<div class="post-metadata">

### Author: ![oguzhantopsakal](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/o/3be4f8/32.png) [@oguzhantopsakal](https://discourse.vtk.org/u/oguzhantopsakal)
#### Post date: [September 7, 2021, 2:25am UTC](https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494/7 "2021-09-07T02:25:03Z")

</div>

Thanks for your time answering my questions.
