# Finding unmerged commit

**URL:** https://discourse.itk.org/t/finding-unmerged-commit/3975
**Category:** Uncategorized
**Created:** [March 22, 2021, 8:05pm UTC](https://discourse.itk.org/t/finding-unmerged-commit/3975 "2021-03-22T20:05:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Soren\_Christensen](https://discourse.itk.org/user_avatar/discourse.itk.org/soren_christensen/32/1710_2.png) [@Soren\_Christensen](https://discourse.itk.org/u/Soren_Christensen)
#### Post date: [March 22, 2021, 8:05pm UTC](https://discourse.itk.org/t/finding-unmerged-commit/3975/1 "2021-03-22T20:05:03Z")

</div>

Hi,  
I have a problem getting RayCastInterpolateImageFunction to work with ImageRegistrationMethodv4.  
It works fine if I just attach it to a resampler and use it that way.  
I see someone had an issue here and Matt McCormick mentions he fixed up the code example here:  
[http://review.source.kitware.com/#/c/21775/](http://review.source.kitware.com/#/c/21775/)

I can find the parent commit in the nightly master, but not the actual commit. I guess it was unmerged, but I wonder if it lives somewhere accessible?

Thanks!  
Soren

Original issue:  
[http://itk-users.7.n7.nabble.com/ITK-users-FW-intensity-based-2d-3d-registration-td37771.html](http://itk-users.7.n7.nabble.com/ITK-users-FW-intensity-based-2d-3d-registration-td37771.html)

---

<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: [March 22, 2021, 10:17pm UTC](https://discourse.itk.org/t/finding-unmerged-commit/3975/2 "2021-03-22T22:17:51Z")

</div>

I can see the first 57 lines of itkImageRegistration2D3DPythonTest.py [here](https://review.source.kitware.com/%23/c/21775/2/Modules/Registration/RegistrationMethodsv4/test/itkImageRegistration2D3DPythonTest.py/). @matt.mccormick might be able to find the original branch 😃

---

<div class="post-metadata">

### Author: ![Soren\_Christensen](https://discourse.itk.org/user_avatar/discourse.itk.org/soren_christensen/32/1710_2.png) [@Soren\_Christensen](https://discourse.itk.org/u/Soren_Christensen)
#### Post date: [March 23, 2021, 1:05pm UTC](https://discourse.itk.org/t/finding-unmerged-commit/3975/3 "2021-03-23T13:05:18Z")

</div>

Thanks again!  
Unfortunately the key part is missing there.  
I will put together a minimal example and post it separately.  
Soren

---

<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: [March 23, 2021, 2:01pm UTC](https://discourse.itk.org/t/finding-unmerged-commit/3975/4 "2021-03-23T14:01:34Z")

</div>

I think that outstanding topics from gerrit were transitioned to GitHub’s PRs. Here is the list of closed ones sorted by oldest:

> **[InsightSoftwareConsortium/ITK](https://github.com/InsightSoftwareConsortium/ITK/pulls?q=is:pr+is:closed+sort:created-asc)**

---

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [March 23, 2021, 8:51pm UTC](https://discourse.itk.org/t/finding-unmerged-commit/3975/5 "2021-03-23T20:51:28Z")

</div>

> [@Soren\_Christensen](#):
>
> I guess it was unmerged, but I wonder if it lives somewhere accessible?

The corresponding patch can be downloaded with the [Download](https://review.source.kitware.com/changes/21775/revisions/427243aaa920a81b67542f3a013dba081a3c8352.diff) link in the upper right:

 ![image](https://discourse.itk.org/uploads/default/original/2X/1/1ebb41a12c3f14c0a0122880b16e6bb605cebba3.png)

This patch can sometimes be applied with `git am`, although, in this case, it has to be applied manually.

As noted in the patch and thread, there is more to due in terms of registration parameters. Also the API can be updated for modern, Pythonic `itk`.
