# Simple ITK with Elastix has earlier version of N4BiasFieldCorrectionImageFilter

**URL:** <https://discourse.itk.org/t/simple-itk-with-elastix-has-earlier-version-of-n4biasfieldcorrectionimagefilter/6336>\
**Category:** Beginner Questions\
**Created:** [December 2, 2023, 11:05pm UTC](https://discourse.itk.org/t/simple-itk-with-elastix-has-earlier-version-of-n4biasfieldcorrectionimagefilter/6336 "2023-12-02T23:05:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_B](https://discourse.itk.org/user_avatar/discourse.itk.org/j_b/32/3784_2.png) [@J\_B](https://discourse.itk.org/u/J_B)\
**Post date:** [December 2, 2023, 11:05pm UTC](https://discourse.itk.org/t/simple-itk-with-elastix-has-earlier-version-of-n4biasfieldcorrectionimagefilter/6336/1 "2023-12-02T23:05:22Z")

</div>

Hello, I have used SimpleITK.N4BiasFieldCorrectionImageFilter() successfully, and SimpleITK.ElastixImageFilter() successfully to do a registration, but when SimpleITK-SimpleElastix is pip installed into a python virtual env it somehow implements an older version of N4BiasFieldCorrectionImageFilter() such that I can no longer use it to do bias field correction. I’m not entirely sure of that because I’m new to using these packages, but that’s what it is acting like. Has anyone else dealt with this issue?

---

<div class="post-metadata">

**Author:** ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)\
**Post date:** [December 3, 2023, 2:39pm UTC](https://discourse.itk.org/t/simple-itk-with-elastix-has-earlier-version-of-n4biasfieldcorrectionimagefilter/6336/2 "2023-12-03T14:39:35Z")

</div>

Hello @J_B,

[SimpleITK-SimpleElastix](https://pypi.org/project/SimpleITK-SimpleElastix/) is not an official SimpleITK distribution. It appears to be a single person’s initiative to support their work.

There is no current binary distribution of SimpleITK with SimpleElastix. Please see [this discussion](https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272) for further details on how to build SimpleITK with SimpleElastix support.

---

<div class="post-metadata">

**Author:** ![J\_B](https://discourse.itk.org/user_avatar/discourse.itk.org/j_b/32/3784_2.png) [@J\_B](https://discourse.itk.org/u/J_B)\
**Post date:** [December 4, 2023, 2:00pm UTC](https://discourse.itk.org/t/simple-itk-with-elastix-has-earlier-version-of-n4biasfieldcorrectionimagefilter/6336/3 "2023-12-04T14:00:54Z")

</div>

OK yes I see. I agree, I hadn’t wanted to use elastix in the first place but try as I might I could not get SimpleITK to register my images. And when I then tried elastix it just worked on the first go. I’ll have a stab at compiling it, thanks!
