-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
Proposal: user-friendly fix for setting the random seed for registration #596
Comments
@ntustison any thoughts on this? |
Yeah, I think it's a good idea. I'm not sure about the environmental variable, though. We had a similar issue with Atropos and added a command line option. As another possibility to mitigating this randomization issue, could we add a command line parameter to these other programs? Not sure which route would be best but it would probably be worth considering standardizing one approach. |
my preference would be for a command line option. |
Yes I think a command line option would be best - I can work on this next week.
…Sent from my iPhone
On Jun 1, 2018, at 5:08 PM, Satrajit Ghosh <notifications@github.com<mailto:notifications@github.com>> wrote:
my preference would be for a command line option.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#596 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAlUs963Qsa50AnO-c0n0bQO309aD0Uvks5t4a0ugaJpZM4UXTpf>.
|
Ok ... I am impartial to which solution as long as is consistent.
…On Fri, Jun 1, 2018, 17:11 Philip Cook ***@***.***> wrote:
Yes I think a command line option would be best - I can work on this next
week.
Sent from my iPhone
On Jun 1, 2018, at 5:08 PM, Satrajit Ghosh ***@***.***
***@***.***>> wrote:
my preference would be for a command line option.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<
#596 (comment)>, or mute
the thread<
https://github.com/notifications/unsubscribe-auth/AAlUs963Qsa50AnO-c0n0bQO309aD0Uvks5t4a0ugaJpZM4UXTpf>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#596 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AATyfn4UwRxmXoOMLGRJSI-LmuxB1vqsks5t4a30gaJpZM4UXTpf>
.
|
#597 allows envt variable control of seed and can be over-ridden by a command line option when it becomes available. |
I made a start with a command line option to antsRegistration: FYI SyN does call the PrepareRegistration method, so it would not get a fixed seed in the current master. This only matters if you are not using dense sampling for SyN though. I will work on other executables / scripts next. |
Nice.
I am thinking we make a release after this gets done.
…On Fri, Jun 8, 2018, 17:03 Philip Cook ***@***.***> wrote:
I made a start with a command line option to antsRegistration:
792d673
<792d673>
FYI SyN does call the PrepareRegistration method, so it would not get a
fixed seed in the current master. This only matters if you are not using
dense sampling for SyN though.
I will work on other executables / scripts next.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#596 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AATyfkXFwW2vCTY_lQbhbfP9r6WopUfvks5t6ua4gaJpZM4UXTpf>
.
|
@yarikoptic made a good suggestion that we should use an environment variable to set the random seed for registration in ANTs. e.g.
this would obviate user-interface code and would allow near immediate porting to ANTsR and ANTsPy.
@cookpa --- any chance you could to take a stab at implementation via pull request? i imagine that there are relatively few places (
antsAI
,antsMotionCorr
,antsRegistration
that would need a (pseudo-code)or whatever the right ITK way is to do such a thing.
The text was updated successfully, but these errors were encountered: