{"action":"created","issue":{"url":"https://api.github.com/repos/stnava/ANTs/issues/186","labels_url":"https://api.github.com/repos/stnava/ANTs/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/stnava/ANTs/issues/186/comments","events_url":"https://api.github.com/repos/stnava/ANTs/issues/186/events","html_url":"https://github.com/stnava/ANTs/issues/186","id":80539426,"number":186,"title":"Enhancement: Masks should apply on a per-stage basis in antsRegistration","user":{"login":"gdevenyi","id":3001850,"avatar_url":"https://avatars.githubusercontent.com/u/3001850?v=3","gravatar_id":"","url":"https://api.github.com/users/gdevenyi","html_url":"https://github.com/gdevenyi","followers_url":"https://api.github.com/users/gdevenyi/followers","following_url":"https://api.github.com/users/gdevenyi/following{/other_user}","gists_url":"https://api.github.com/users/gdevenyi/gists{/gist_id}","starred_url":"https://api.github.com/users/gdevenyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdevenyi/subscriptions","organizations_url":"https://api.github.com/users/gdevenyi/orgs","repos_url":"https://api.github.com/users/gdevenyi/repos","events_url":"https://api.github.com/users/gdevenyi/events{/privacy}","received_events_url":"https://api.github.com/users/gdevenyi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-25T13:37:34Z","updated_at":"2015-06-01T21:32:04Z","closed_at":"2015-05-29T16:40:23Z","body":"When I specify a mask via ``\"--masks [fixedmask,movingmask]`` can I do so on a per-stage basis?\r\n\r\nThe documentation states:\r\n```\r\n     -x, --masks [fixedImageMask,movingImageMask]\r\n          Image masks to limit voxels considered by the metric. \r\n```\r\n\r\nThis hints to me that it is per-stage, is that true?"},"comment":{"url":"https://api.github.com/repos/stnava/ANTs/issues/comments/107718438","html_url":"https://github.com/stnava/ANTs/issues/186#issuecomment-107718438","issue_url":"https://api.github.com/repos/stnava/ANTs/issues/186","id":107718438,"user":{"login":"gdevenyi","id":3001850,"avatar_url":"https://avatars.githubusercontent.com/u/3001850?v=3","gravatar_id":"","url":"https://api.github.com/users/gdevenyi","html_url":"https://github.com/gdevenyi","followers_url":"https://api.github.com/users/gdevenyi/followers","following_url":"https://api.github.com/users/gdevenyi/following{/other_user}","gists_url":"https://api.github.com/users/gdevenyi/gists{/gist_id}","starred_url":"https://api.github.com/users/gdevenyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdevenyi/subscriptions","organizations_url":"https://api.github.com/users/gdevenyi/orgs","repos_url":"https://api.github.com/users/gdevenyi/repos","events_url":"https://api.github.com/users/gdevenyi/events{/privacy}","received_events_url":"https://api.github.com/users/gdevenyi/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T21:32:04Z","updated_at":"2015-06-01T21:32:04Z","body":"It looks like this implementation will use a mask if it is specified anywhere on the command line. I would like to request a modification:\r\n\r\nIf masks are specified outside the stages, the same mask is used for all stages. If a mask is specified within a stage, it is only used within that stage.\r\n\r\nThis is particularly important if you want to make calls with something like Rigid -> Affine -> Affine (with mask) -> Syn (with mask). "}}