ENH: Add Jupyter Notebook example for point-set-to-point-set registration#189
Conversation
|
@thewtex I think I solved the entropy graphing issue by truncating initial iteration results outside of the optimizer evaluation window and rounding remaining results as necessary. I need to read more to understand why the windowed value is sometimes going negative if "convergence" is defined as decreasing below a minimum threshold. @ntustison, do you have a preferred way to show decreasing entropy with the |
|
@tbirdso For these types of metrics, which essentially convert the point set distribution to a probability distribution, you need to make sure that the sigma value is sufficiently large. Is that the issue here? |
|
Thanks @ntustison, that was indeed the issue. For this example it looks like a point set sigma of at least 20.0 avoids a negative convergence metric (demonstrated below). I'll add a note on this to the notebook. |
71f73ce to
2f938cc
Compare
|
@tbirdso when I checked one on the previous PR's with a full path to file notebook in the Binder URL, it used the local folder requirements.txt, if I recall correctly. Have you found this to not be the case? |
|
@thewtex It's possible I wasn't using a full notebook path when I checked previously. I will verify and then update this thread. |
5266856 to
b2d11f1
Compare
|
@thewtex After moving
The Binder landing page describes searching for dependencies at the root:
It doesn't look like there are any Binder examples with subfolders containing either notebooks or Is it sufficient to retain a single |
|
@tbirdso thanks for investigating. MyBinder is using the repo2docker project for building the Docker images to run the notebooks. Checking the repo2docker documentation, it confirms that it only looks at the root of the repository. Overall, we make the notebooks self-contained / reproducible, but also enable performant usage of MyBinder and have good testing.
Yes, this is a good approach, e.g. like we have in the itkwidgets examples. Towards this end, could you please:
I will create issues for the latter two. |
492a63a to
42e4afc
Compare
|
@thewtex I've moved |
thewtex
left a comment
There was a problem hiding this comment.
Thanks @tbirdso.
For the .binder/requirements.txt file, we only want itk>=5.2rc2, matplotlib, itkwidgets. For the commit prefixes, please use BUG instead of FIX following the prefix guidelines:
https://github.com/InsightSoftwareConsortium/ITK/blob/master/CONTRIBUTING.md#commit-messages
98e9921 to
66ad2c1
Compare
|
Got it, I misunderstood your previous comment. I've squashed commit history to two commits meeting prefix guidelines. The first commit reflects the RegisterTwoPointSets notebook addition while the second solely deals with |


No description provided.