Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ants.build_template transforms in object?

See original GitHub issue

Is 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
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:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

stnavacommented, Apr 16, 2020

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?

vnckpplcommented, Apr 17, 2020

Yes, it does. Thanks!

Read more comments on GitHub >

github_iconTop 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) -
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found