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

Which parameter in the function ants.build_template() in antspy corresponds to the -r option in buildtemplateparallel.sh #513

Open
angolin22 opened this issue Nov 12, 2023 · 6 comments

Comments

@angolin22
Copy link

angolin22 commented Nov 12, 2023

hello, thanks for your work! I want to ask some questions:

  1. Could I ask that which parameter in the function ants.build_template() in antspy corresponds to the-roption in buildtemplateparallel.sh
  2. Does ants.build_template() support mask-based registration?
  3. Does CT images of constructing the template require preprocessing, such as resampling to isotropy and normalizing the Hu value to 0-255?
    Thanks for your reply!
@ntustison
Copy link
Member

Could I ask that which parameter in the function ants.build_template() in antspy corresponds to the-roption in buildtemplateparallel.sh

I don't think it's available. But you can easily get something close enough by rigidly registering all your data to one of your subjects or an existing template.

Does ants.build_template() support mask-based registration?

No.

Does CT images of constructing the template require preprocessing, such as resampling to isotropy and normalizing the Hu value to 0-255?

Yeah, that's probably a good idea.

@angolin22
Copy link
Author

thanks for your reply

@angolin22
Copy link
Author

Hello, I want to ask about the parameters of the function ants.build_template(). Is there such a parameter Gaussian regularization in it.
Thanks for your reply.

@ntustison
Copy link
Member

No. FYI, you can find the parameters list from the help menu, help(ants.build_template).

Also, the python version is a more limited version of what's available in the bash scripts so don't expect equivalency in the set of available parameters.

@angolin22
Copy link
Author

OK,Thanks.

Also,I want to ask some questions.

  1. I would like to ask if the algorithm in ants.build_template is the weighted average template algorithm based on kernel regression?
  2. If a template is generated for several CT images of different sizes, what is the size of the final template?

@nimzodisaster
Copy link

I think the confusion is that the the documentation refers to **kwargs, but doesn't indicate what those might be, potentially suggesting expert, but hidden options.

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

3 participants