# Update ITK to f6c37d?

**URL:** <https://discourse.slicer.org/t/update-itk-to-f6c37d/10396>\
**Category:** Development\
**Tags:** opencv, itk\
**Created:** [February 22, 2020, 7:45pm UTC](https://discourse.slicer.org/t/update-itk-to-f6c37d/10396 "2020-02-22T19:45:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamrankin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/adamrankin/32/155_2.png) [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Post date:** [February 22, 2020, 7:45pm UTC](https://discourse.slicer.org/t/update-itk-to-f6c37d/10396/1 "2020-02-22T19:45:29Z")

</div>

@jcfr @lassoan @pieper (and anyone else you think might want to comment)

SlicerOpenCV is broken with the update to ITKv5, and requires the fix

> <https://github.com/InsightSoftwareConsortium/ITK/commit/f6c37d199e50cc6958c68889ec8795d1c5802cb2>
>
> Applying changes missed by f2d5decfb7eae64444123735788c38f6baf7b09a.

Could this be either cherry picked or the branch advanced to this commit?

Thanks,  
Adam

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [February 22, 2020, 7:57pm UTC](https://discourse.slicer.org/t/update-itk-to-f6c37d/10396/2 "2020-02-22T19:57:33Z")

</div>

We are currently building Slicer of the official repo:

> <https://github.com/Slicer/Slicer/blob/2fcac81c7971c234950d332e9f4d797e8490db3b/SuperBuild/External_ITK.cmake#L33>

and currently using this tag `v5.1rc01`

A new tag just got published, is the fix included ? See [https://github.com/InsightSoftwareConsortium/ITK/releases/tag/v5.1rc02](https://github.com/InsightSoftwareConsortium/ITK/releases/tag/v5.1rc02)

---

<div class="post-metadata">

**Author:** ![adamrankin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/adamrankin/32/155_2.png) [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Post date:** [February 23, 2020, 6:30pm UTC](https://discourse.slicer.org/t/update-itk-to-f6c37d/10396/4 "2020-02-23T18:30:05Z")

</div>

New tag does not have a complete fix. PR submitted to ITK

---

<div class="post-metadata">

**Author:** ![adamrankin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/adamrankin/32/155_2.png) [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Post date:** [February 25, 2020, 3:59pm UTC](https://discourse.slicer.org/t/update-itk-to-f6c37d/10396/5 "2020-02-25T15:59:50Z")

</div>

@jcfr Could we update to a specific commit of ITK, or could I add a patch file for the current tag?

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [April 2, 2020, 6:13pm UTC](https://discourse.slicer.org/t/update-itk-to-f6c37d/10396/6 "2020-04-02T18:13:14Z")

</div>

@adamrankin Slicer updated the ITK version to v5.1rc03 in [https://github.com/Slicer/Slicer/commit/0a8f06c62ba1b7b73e54851300370d911801d85a](https://github.com/Slicer/Slicer/commit/0a8f06c62ba1b7b73e54851300370d911801d85a) which should help with the SlicerOpenCV issues.
