GithubHelp home page GithubHelp logo

c3030802096 / spm_auto_reorient Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cyclotronresearchcentre/spm_auto_reorient

0.0 0.0 0.0 18 KB

A few routines to perform "auto reorient" in SPM

License: GNU General Public License v2.0

MATLAB 100.00%

spm_auto_reorient's Introduction

spm_auto_reorient

A few routines to perform "auto reorient" in SPM.

Setting up the AC-PC and reorienting images is a recurrent issue as the "unified segmentation" process is (can be) sensitive to the starting orientation of the image... So we came up with some automatic solution. The main function, spm_auto_reorient.m, automatically (but approximately) rigib-body reorients a T1 image (or any other usual image modality) in the MNI space, i.e. mainly set the AC location and correct for head rotation, in order to further proceed with the segmentation/normalisation of the image. Note that this relies on a "template matching" principle (as in the old normalize function), you therefore ought to specify the appropriate template/reference image.

The tool can be included in the batching system of SPM12 by

  • adding the spm_cfg_autoreorient.m function in to the spm\config sub-directory. Then this module can be included in any processing pipeline;
  • overwriting the spm_cfg.m with this one, so that the module appears in the SPM\spatial pull-down menu. See the 'help', for all the details and various options.

Obviously NO guarantee whatsoever that this will work 100% of the times! And I have NOT checked when it breaks down in term of rotation angle or displacement. All I can claim is that it does a good job with our data (young and old healthy subjects + AD/PD patients)...

The code was originally written by Carlton Chu (FIL, UCL, London, UK) then modified and extended by Christophe Phillips (Cyclotron Research Centre, University of Liege, Belgium).

For questions or suggestions, contact Christophe Phillips (c.phillips_at_uliege.be).

DOI

spm_auto_reorient's People

Contributors

christophephillips avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.