-
-
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
Feature Request: Generalize masking option into a weighting option for registration #1437
Comments
I had asked about this sometime ago (can't find the issue, maybe an email), but was told it was not easy to implement. I agree, would be great to have weighted masks, it would open the way to all sorts of masks derived from various scenarios. It would also need some heavy testing of how they can be used (i.e., would fading the bran edge impair gyral registration compared to a binary mask). |
This would require significant changes to the ITK image metrics. As they are currently written, the masks dictate which voxels are used for computation---a binary proposition, hence the hard masks as input. As such, this feature request should be made over on the ITK side. I would recommend closing this issue here and opening it over there. |
@gdevenyi are you using binary masks as fixed and moving images? Or you're saying binary masks with |
What I'm proposing is the -x option generalize to floating point numbers to weight the registration rather than an include/exclude |
We understand the proposal and indeed we designed the system to allow this
however we would have to introduce new standards and as Nick said this
would go back to ITK
On Fri, Oct 21, 2022 at 4:42 PM Gabriel A. Devenyi ***@***.***> wrote:
What I'm proposing is the -x option generalize to floating point numbers
to weight the registration rather than an include/exclude
—
Reply to this email directly, view it on GitHub
<#1437 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPE7XGNX6LMPF44BOGZWDWEL5ZZANCNFSM6AAAAAARLKCSE4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
brian
|
Got it @stnava I missed your earlier comment. I'll move this up to ITK |
Upstreamed, InsightSoftwareConsortium/ITK#3704 |
Hard edge masks require the masks to be as-near-to-possible to perfect to perform optimally for guiding registrations.
If instead the masks were considered as a weight option (if say the masks contain a distribution of values 0-1) then one could do something like blur the mask so the edges are now a gradient which relaxes the perfection requirement some.
There are likely option useful things I can't think of that would benefit from weights.
The text was updated successfully, but these errors were encountered: