Git Product home page Git Product logo

chariteexpmri / antx2 Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 3.0 351.74 MB

Registration of animal MR brain data to a standard (published) atlas. The pipeline works with invivo or exvivo (skull-stripped) MR-data for the following species: mouse, rat, Etruscan shrew and cat. *OS: Windows, MAC, Linux. *Matlab: R2016a or later.

License: Other

MATLAB 88.38% Batchfile 0.01% HTML 0.51% M 0.14% Java 0.03% C 5.75% AutoHotkey 0.01% Makefile 0.05% Shell 0.02% Roff 0.24% CSS 0.01% Smarty 0.01% TeX 4.76% C++ 0.09%
atlas registration mri elastix spm

antx2's Introduction

ANTx2

ANTx2 stands for A tlas N ormalization T oolbox using elasti x. It is a MATLAB toolbox for image registration of mouse magnetic resonance imaging data developed for research laboratories/departments.

____________________________________________________________________________________________
⇒ Respository: GitHub:github.com/ChariteExpMri/antx2 
⇒ Tutorials: https://chariteexpmri.github.io/antxdoc/ 
⇒ Templates  : googleDrive:animal templates 
____________________________________________________________________________________________

Requirements

  • Windows (tested: Windows 10)
  • Linux (tested: Ubuntu 16.04.6 LTS, (MINT17/Linuxfx))
  • MAC (tested: OS X El Capitan/Catalina)
  • MATLAB, all functions were tested for R2015b/16a. Versions above 2018b should work (otherwise please send a mail)

♦ Inspect last changes/updates.

Tutorials

Tutorials can be found here: https://chariteexpmri.github.io/antxdoc

Installation

[OPTION-A] Installation via GITHUB using GIT

ADVANTAGE: updates can be made via toolbox

  • download & install GIT client --> https://git-scm.com/downloads just follow instructions and keep the default properties
  • browse to LINK: https://github.com/ChariteExpMri/antx2
  • select "installfromgithub.m" and click [RAW]-button or go to here: https://raw.githubusercontent.com/ChariteExpMri/antx2/master/installfromgithub.m
  • select "save as" (cmd+s or ctrl+s) and save file as "installfromgithub.m"
  • copy "installfromgithub.m" to the location where antx toolbox should be installed. ..please don't create a folder with name "antx2", this folder will be created later on
  • set MATLAB's current working dir to the location of "installfromgithub.m"
  • type installfromgithub to open the installer/check updates window
  • select [FRESH INSTALL] ...next, select the hyperlink "install" Matlab's in ..wait..and hit [close] to close the window

[OPTION-B] just download via clone-button (GITHUB)

ADVANTAGE : more simple installation
DISADVANTAGE: no update feature (or you have to install the GIT client post hoc)

  • select [Clone & download button]
  • select [Download ZIP]
  • unzip folder & copy entire "antx2"-folder to desired location

Start Ant Gui

- set MATLAB's current working dir to "antx2" directory 
- type antlink to link paths 
  Alternatively, you can create a hyperlink that occurs each time Matlab is started.. (see "__startup.m" file
  in the antx2-directory for more information) 
- type "ant" to open ant-gui 

Check For Updates

  • To check for updates select EXTRAS/"CHECK FOR UPATES (GITHUB)" from the ant main gui
  • Or type updateantx(2) in Matlab's CMD-window

Download Templates

Templates are not included in this repository. The templates can be downloaded via the ANT interface (Menu: Extras/get templates from googledrive)
or manually from google-drive.


♦ For C57BL/6 mice we suggest to use the latest Atlas from the Allen Institute (Atlas-2017,CCFv3), in googledrive prepared as "mouse_Allen2017HikishimaLR".

  • the Atlas (70µm isotropic resolution) includes gray matter regions, fiber tracts and the ventricular system
      For more information see http://help.brain-map.org/display/mouseconnectivity/API
      Please visit also the online interactive atlas: http://atlas.brain-map.org/atlas#atlas=1

  • unzip the downloaded template(s) file
  • create a folder "anttemplates" located at the same hierarchical level as the antx2-folder (This is easier to obtain the respective template.)
  • copy/move unzipped template folder(s) to the "anttemplates" folder. If unzipping creates a nested folder within the unzipped folder, than copy/move this folder.
  • The "anttemplates"-folder should now contain a folder (such as "mouse_Allen2017HikishimaLR") with templates.
  Examplary tree if "mouse_Allen2017HikishimaLR" template is used:
           mydir (directory of your choice)
             |---antx2
             |---anttemplates
                      |---mouse_Allen2017HikishimaLR  
                                   |---AVGT.nii (file)  
                                   |---ANO.nii (file)  
                                   |      ...
                                   |---readme.txt (file)  
 

Users

Antx/Antx2 was created and is used in the Department of Experimental Neurology at the Charite© - University Medicine Berlin, Germany since 2015. If you use it and find it useful please give us a note.

Included software

This toolbox uses and included the following packages SPM, Elastix, MRIcron, PCNN3D, nii, findjobj cbrewer, screen capture, windowapi.

Note that the templates are not included in this repository and must be downloaded from google-drive. Please consult the respective 'readme.txt' file in each templated folder regarding data origin and citation policiy.

Please respect the licenses and copyright of these software packages.

ANTx2 also includes the pvmatlab package of Bruker BioSpin GmbH, which is intended for Bruker users only. Please respect the legal issues in the manual within the pvtools_bruker directory and request permission to use the package by Bruker's preclinical MRI software customer support before using ANTx2. Otherwise please delete the directory pvtools_bruker.

Citation policy

  • When using ANTx2 in publications please use the following citation:
          Koch et al. "Atlas registration for edema-corrected MRI lesion volume in mouse stroke models ", JCBFM, 2017.
  • When using the Allen mouse brain atlas please cite:
          Hübner et al. "The connectomics of brain demyelination: Functional and structural patterns in the cuprizone mouse model", NeuroImage, 2017, Volume 146, Pages 1-18.
          Lein et al. " Genome-wide atlas of gene expression in the adult mouse brain
    ", Nature, 2006, Volume 445, pages 168-176.

License

Copyright (C) 2019 Stefan Koch < [email protected]> and Philipp Boehm-Sturm < [email protected]> ANTx2 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. ANTx2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ANTx2. For more information see http://www.gnu.org/licenses/old-licenses/gpl-2.0.

antx2's People

Contributors

chariteexpmri avatar pstkoch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

antx2's Issues

"ANOpcol.nii" file request

Hi There,

Thx for the excilent toolbox for the mouse MRI data analysis. Could you also provide the "ANOpcol.nii" file for "mouse_Allen2017HikishimaLR"? Some of the tutorial used this file, but it is not included in the Atlas files shared at google drive. Thanks a lot!

Bests,

John

some problem when CREATE a PROJECT

when I create a project used ANT gui,some errors have occurred
what I used is matlab 2021a
image

ant
+-+-+-+-+-+
|A|N|T|x|2|
+-+-+-+-+-+
ANTx2-v:git is not installed
Download it at http://git-scm.com/download
错误使用 strfind
搜索词 必须为文本或模式标量。

出错 contains (第 36 行)
tf = ~cellfun(@isempty, strfind(s, pattern));

出错 matlab.ui.internal.prepareFigureFor

出错 uistack (第 69 行)
matlab.ui.internal.prepareFigureFor(morphFig, mfilename('fullpath'))

出错 paramgui (第 523 行)
uistack(ax,'bottom');

出错 antconfig (第 203 行)
[m z a params]=paramgui(p2,'uiwait',1,'close',1,'editorpos',[.03 0 1 1],'figpos',figpos,...

出错 xnewproject (第 37 行)
[m z]=antconfig(1,'parameter','default','savecb','no');

出错 ant>menubarCB (第 2370 行)
xnewproject;

错误使用 ant>menu_getTable (第 1727 行)
计算 Menu Callback 时出错。

错误使用 weboptions (第 378 行)
对于此运算,数组的大小不兼容。

出错 matlab.internal.doc.updateConnectorDocroot (第 3 行)
options = weboptions('RequestMethod','post', ...

相关文档

Import Bruker data

I have a question. In raw bruker data t1 intensity scale is different from import bruker data in antx2.
Example my date scale 500:20000 (raw) but import bruker data in antx2 is 0:50 intensity value.
what's the problem? or what's the algorithm to change intensity scale?
how can i preserve my data intensity?

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.