PERF: less strict heuristic for valid points check#49
Closed
stnava wants to merge 3 commits intoInsightSoftwareConsortium:masterfrom
stnava:master
Closed
PERF: less strict heuristic for valid points check#49stnava wants to merge 3 commits intoInsightSoftwareConsortium:masterfrom stnava:master
stnava wants to merge 3 commits intoInsightSoftwareConsortium:masterfrom
stnava:master
Conversation
The previous check was overly strict. For example, one may be using a small mask (e.g. hippocampus) to focus registration within a much larger image. The registration result can be valid in this case despite a relatively small number of points used. Another alternative to this request would be to remove this check entirely.
I found some examples that work well with very few valid points at low resolution. Thus, I think this check should only be enforced when there are zero valid points.
Member
|
I believe the ideal solution may be to have a "minimum overlap" parameter, in all the metrics. It is quite a common error for the initial registration to have no overlay. It is also not uncommon for an optimization to go awry resulting in little to no overlap. |
Member
|
Thanks for contributing this improvement @stnava 👍 We are still polishing the GitHub CI and have not finished the transition to GitHub quite yet -- the testing may give false positives until then. |
Member
Author
|
practically speaking, i think we are erring on the wrong side here - rejecting too many valid registration setups as invalid. we've had several complaints about this and users have ultimately gone on to modify their own ITK copy. |
Member
|
Pushed to Gerrit here: |
Member
|
This has been merged. |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The previous check was overly strict. For example, one may be using a small mask (e.g. hippocampus) to focus registration within a much larger image. The registration result can be valid in this case despite a relatively small number of points used. Another alternative to this request would be to remove this check entirely.
See the CONTRIBUTING guide. Specifically:
Start ITK commit messages with a standard prefix (and a space):
Provide a short, meaningful message that describes the change you made.
When the PR is based on a single commit, the commit message is usually left as the PR message.
A reference to a related issue or pull request in your repository. You can automatically close a related issues using keywords
@mentions of the person or team responsible for reviewing proposed changes.
Thanks for contributing to ITK!