# OrientedGaussianInterpolateImageFilter Python ITK

**URL:** <https://discourse.itk.org/t/orientedgaussianinterpolateimagefilter-python-itk/3708>\
**Category:** Algorithms\
**Created:** [December 16, 2020, 3:51am UTC](https://discourse.itk.org/t/orientedgaussianinterpolateimagefilter-python-itk/3708 "2020-12-16T03:51:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Rubert](https://discourse.itk.org/user_avatar/discourse.itk.org/nick_rubert/32/1759_2.png) [@Nick\_Rubert](https://discourse.itk.org/u/Nick_Rubert)\
**Post date:** [December 16, 2020, 3:51am UTC](https://discourse.itk.org/t/orientedgaussianinterpolateimagefilter-python-itk/3708/1 "2020-12-16T03:51:04Z")

</div>

Hi message board,

I’m trying to port some code from Python ITK v 4.13.0 to Python wrapped ITK v 5.1.1 or SimpleITK ```  
2.0.0 (ITK 5.1).

In ITK v 4.13 I’m using the OrientedGaussianInterpolateImageFilter to simulate blurring a 3d image by an arbitrarily oriented anisotropic point spread function prior to resampling the image. I’ve noticed there isn’t an OrientedGaussianInterpolateImageFilter in the Python wrapped ITK that comes from the repositories for Ubuntu 20.0.

Is there a similar function in ITK v 5 that I may just be missing that someone might be aware of?

---

<div class="post-metadata">

**Author:** ![Nick\_Rubert](https://discourse.itk.org/user_avatar/discourse.itk.org/nick_rubert/32/1759_2.png) [@Nick\_Rubert](https://discourse.itk.org/u/Nick_Rubert)\
**Post date:** [December 16, 2020, 4:28am UTC](https://discourse.itk.org/t/orientedgaussianinterpolateimagefilter-python-itk/3708/2 "2020-12-16T04:28:09Z")

</div>

Quick update. This filter is actually a custom made filter and not a part of standard ITK.

---

<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:** [December 17, 2020, 8:43pm UTC](https://discourse.itk.org/t/orientedgaussianinterpolateimagefilter-python-itk/3708/3 "2020-12-17T20:43:43Z")

</div>

You need to add [wrapping definitions](https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch9.html) for it. But that might already be done, and you just need to [migrate](https://github.com/InsightSoftwareConsortium/ITK/blob/master/Documentation/ITK5MigrationGuide.md) that class to ITKv5.
