-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Compute origin using largest possible region #1072
Conversation
@thewtex I have a couple of questions before tackling the negative indices issue:
|
@ramonemiliani93 thank you! 🙏
Yes, the patch looks great. There should not be a significant performance impact.
Yes, you could add a test similar to this: which is configured in the build here: You could add a pad filter in the new test and check that the origin of the output is expected. ITK's test driver has https://github.com/InsightSoftwareConsortium/itk-wasm/tree/main/test/Baseline To generate a content link, use https://content-link-upload.itk.org/ More information on how the data is handled can be found here: https://docs.itk.org/en/latest/contributing/data.html 🙌 |
@thewtex Thanks a lot 🙌 I'll take a look and update the PR 💪 |
@thewtex Added the test with the files and updated the testings deps 🙌 Let me know if I have to update things to follow the contributing guidelines or any naming convention 💪 |
@ramonemiliani93 looks excellent! One minor tweak: the file:
could be moved to:
since it is a baseline, i.e. expected output, test image. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ramonemiliani93 well done! 👏
Failing native Python CI builds are unrelated.
I will update the docker images in another PR.
51a93b5
into
InsightSoftwareConsortium:main
Fixes #1065.