# Smooth vtkimagedata (structured data) in paraview?

**URL:** https://discourse.paraview.org/t/smooth-vtkimagedata-structured-data-in-paraview/14017
**Category:** ParaView Support
**Tags:** vtk
**Created:** [February 26, 2024, 1:28am UTC](https://discourse.paraview.org/t/smooth-vtkimagedata-structured-data-in-paraview/14017 "2024-02-26T01:28:18Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![tigerhu](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/d2c977/32.png) [@tigerhu](https://discourse.paraview.org/u/tigerhu)
#### Post date: [February 26, 2024, 1:28am UTC](https://discourse.paraview.org/t/smooth-vtkimagedata-structured-data-in-paraview/14017/1 "2024-02-26T01:28:18Z")

</div>

Hi there,  
I would like to know if there is any smooth filters that could work on structured data (e.g. vtkimagedata) in paraview? I found “smooth” filter, but it only works for polygonal data (e.g. vtkpolydata).  
There does exist smooth filters on vtkimagedata in vtk, for example vtkImageGaussianSmooth. But I could not find such one in paraview.  
Do you have any suggestions? Thx

---

<div class="post-metadata">

### Author: ![tigerhu](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/d2c977/32.png) [@tigerhu](https://discourse.paraview.org/u/tigerhu)
#### Post date: [February 26, 2024, 1:48am UTC](https://discourse.paraview.org/t/smooth-vtkimagedata-structured-data-in-paraview/14017/2 "2024-02-26T01:48:36Z")

</div>

I think I figured it out, even if there is not smooth filter in paraview.  
I can smooth vtkimagedata in vtk and send it to paraview by TrivialProducer and GetClientSideObject.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 26, 2024, 1:26pm UTC](https://discourse.paraview.org/t/smooth-vtkimagedata-structured-data-in-paraview/14017/3 "2024-02-26T13:26:00Z")

</div>

> [@tigerhu](#):
>
> I can smooth vtkimagedata in vtk

With which filter ?

---

<div class="post-metadata">

### Author: ![tigerhu](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/d2c977/32.png) [@tigerhu](https://discourse.paraview.org/u/tigerhu)
#### Post date: [February 27, 2024, 1:06am UTC](https://discourse.paraview.org/t/smooth-vtkimagedata-structured-data-in-paraview/14017/4 "2024-02-27T01:06:39Z")

</div>

vtkGaussianSmooth

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 27, 2024, 8:20am UTC](https://discourse.paraview.org/t/smooth-vtkimagedata-structured-data-in-paraview/14017/5 "2024-02-27T08:20:25Z")

</div>

You should be able to create a simple XML plugin exposing vtkImageGaussianSmooth. See [https://gitlab.kitware.com/paraview/paraview/-/blob/master/Examples/Plugins/OverrideXMLOnly/Plugin/OverrideXMLOnly.xml?ref\_type=heads](https://gitlab.kitware.com/paraview/paraview/-/blob/master/Examples/Plugins/OverrideXMLOnly/Plugin/OverrideXMLOnly.xml?ref_type=heads)

---

<div class="post-metadata">

### Author: ![tigerhu](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/d2c977/32.png) [@tigerhu](https://discourse.paraview.org/u/tigerhu)
#### Post date: [February 28, 2024, 8:50am UTC](https://discourse.paraview.org/t/smooth-vtkimagedata-structured-data-in-paraview/14017/6 "2024-02-28T08:50:56Z")

</div>

Dear Mathieu,  
Thanks!! That should be another method. I will study on it.
