Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ANTs templates

Two examples of ANTs template building using the different template building scripts available in ANTs:

  • Faces
  • BrainSlices

each of which is contained in its own separate subdirectory.

The scripts require ANTs to be on the PATH. They no longer require or use ANTSPATH, which has been deprecated since ANTs 2.5.0. Run each script from the directory containing the images to be used for template building, with the appropriate interpreter (bash, R, Python), eg bash ./templateCommandSyN.sh.

For the BrainSlices example, we have included different template command calls:

  • templateCommandBtp.sh -- template building using the original buildtemplateparallel.sh script.
  • templateCommandSyN.sh -- go-to univariate template building using SyN transform
  • templateCommandMultivariateBSplineSyN.sh -- multivariate template building using B-spline SyN
  • templateCommandTimeVarying.sh -- univariate template building using more time-consuming time-varying transform
  • templateCommandSyN.R -- R script for univariate template building using SyN transform. Requires ANTsR.
  • templateCommandSyN.py -- Python script for univariate template building using SyN transform. Requires ANTsPy.

Faces example

Faces result

Brain slices example

Data is taken from Arno's MindBoggle101 work.

Brain slices result

About

Just when I thought you couldn’t possibly be any dumber, you go and do something like this… and totally redeem yourself!

Resources

Stars

27 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages