ants.build_template transforms in object?
See original GitHub issueIs your feature request related to a problem? Please describe. I used ants.build_template but I can’t seem to find the transforms from the input images to the template in the output object.
For example, when I run:
import ants
image1=ants.image_read('/Users/vincent/Data/tmp/sub-A_ses-01_T1w.nii.gz')
image2=ants.image_read('/Users/vincent/Data/tmp/sub-A_ses-02_T1w.nii.gz')
timage = ants.build_template(image_list = (image1, image2))
I am looking in the timage object for the affine and non-linear transformations, but can’t find them. Should they be present in this object, and if so, under which variable?
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Advanced Normalization Tools ( ANTs ) Discussion
I want to create a template from a set of MP-RAGE brain-extracted images to use as a standard space instead of MNI space...
Read more >The basic principles in template construction #520 - GitHub
Hi, what is the general logic of ANTs template construction process? ... Average all the transforms from 1 to create a single transform....
Read more >Advanced Normalization Tools (ANTS) - WordPress.com
ANTs enables diffeomorphic normalization with a variety of transformation models, optimal template construction, multiple types of diffeomorphisms,.
Read more >Apply ANTs transforms to nifti images in neuroconductor ...
Wraps antsApplyTransforms but allows for nifti objects from the oro.nifti package.
Read more >Image registration and ANTs tools - MICe Wiki
So, we need a transformation to be an object that can transform a function I : DF → R into a function I'...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes - that is the typical workflow. let’s suppose you have 10,000 images.
build a template from 100 of them, randomly selected
warp all images in the population to the template
does your application fit into this workflow?
Yes, it does. Thanks!