Navigation Menu

Skip to content
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

how best to use ANTS with brains with lesions #48

Closed
satra opened this issue Oct 18, 2013 · 4 comments
Closed

how best to use ANTS with brains with lesions #48

satra opened this issue Oct 18, 2013 · 4 comments

Comments

@satra
Copy link
Collaborator

satra commented Oct 18, 2013

is there an example of running antsRegistration with a moving image that has a lesion to a fixed image that is an intact brain? we do have a binary mask of the lesion and both images are brain only. ping: @mgeddes

@stnava
Copy link
Member

stnava commented Oct 18, 2013

just use

ImageMath 3 non_lesion.nii.gz Neg lesion.nii.gz

ImageMath 3 non_lesion.nii.gz ME non_lesion.nii.gz 2

standard antsRegistration call but add

-x non_lesion.nii.gz

also --- use the moving image as the fixed image .... then apply inverse
mappings

brian

On Fri, Oct 18, 2013 at 2:09 PM, Satrajit Ghosh notifications@github.comwrote:

is there an example of running antsRegistration with a moving image that
has a lesion to a fixed image that is an intact brain? we do have a binary
mask of the lesion and both images are brain only.


Reply to this email directly or view it on GitHubhttps://github.com//issues/48
.

@satra
Copy link
Collaborator Author

satra commented Oct 18, 2013

@stnava - thanks - but can -x take only mask? according to the help it needs two.

also --- use the moving image as the fixed image .... then apply inverse mappings

just to clarify, are you saying i should register the intact brain to the lesioned brain as opposed to the other way around?

@stnava
Copy link
Member

stnava commented Oct 19, 2013

Yes to both questions
On Oct 18, 2013 4:58 PM, "Satrajit Ghosh" notifications@github.com wrote:

@stnava https://github.com/stnava - thanks - but can -x take only mask?
according to the help it needs two.

also --- use the moving image as the fixed image .... then apply inverse
mappings

just to clarify, are you saying i should register the intact brain to the
lesioned brain as opposed to the other way around?


Reply to this email directly or view it on GitHubhttps://github.com//issues/48#issuecomment-26629180
.

@satra
Copy link
Collaborator Author

satra commented Oct 19, 2013

thanks brian, this worked reasonably well. closing.

@satra satra closed this as completed Oct 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants