# Custom image filter

**URL:** https://discourse.vtk.org/t/custom-image-filter/3165
**Category:** Support
**Created:** [April 27, 2020, 8:38pm UTC](https://discourse.vtk.org/t/custom-image-filter/3165 "2020-04-27T20:38:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ShaneKirkbride](https://discourse.vtk.org/user_avatar/discourse.vtk.org/shanekirkbride/32/1392_2.png) [@ShaneKirkbride](https://discourse.vtk.org/u/ShaneKirkbride)
#### Post date: [April 27, 2020, 8:38pm UTC](https://discourse.vtk.org/t/custom-image-filter/3165/1 "2020-04-27T20:38:47Z")

</div>

I’d like to make a custom image filter. I did see the gauss filter. Similar to imfilter in matlab. I’d like to define my H matrix. I didn’t find anything on a search. Can I do this with vtk?

Here is the link to imfilter:  
[https://www.mathworks.com/help/images/ref/imfilter.html;jsessionid=d5b98bc13677ce99e38975b6f9cd](https://www.mathworks.com/help/images/ref/imfilter.html;jsessionid=d5b98bc13677ce99e38975b6f9cd)
