Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/dmascali/mni2atlas
22 February 2025, 17:16:50 UTC
  • Code
  • Branches (3)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/tags/1.0
    • refs/tags/1.1
    No releases to show
  • 18eb0ba
  • /
  • README.md
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:ee9d309893b23abece79a9bcfd53f12c6e617967
origin badgedirectory badge Iframe embedding
swh:1:dir:18eb0bae7aa3e6326babf5800f3157e9874793c6
origin badgerevision badge
swh:1:rev:287d6ab990b53746adbc3760548642d9cb7b5fe3
origin badgesnapshot badge
swh:1:snp:1da0649ec76ab1d818888415746b1b0af6335b62
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 287d6ab990b53746adbc3760548642d9cb7b5fe3 authored by Daniele Mascali on 29 November 2018, 22:36:59 UTC
Create licence_FSL.txt
Tip revision: 287d6ab
README.md
# mni2atlas
FSL Anatomical Labels for MNI Vector/ROI. Mni2atlas takes an ROI or a vector of coordinates (both in the MNI
space) and returns labels from different FSL atlases.

In **VECTOR** modality labels are returned in probability values (same results of FSL atlas tool).

In **ROI** modality the probability value reported for a label represents the frequency of that label in the roi for a given threshold of the FSL atlas
probability map (0, 25 or 50; default = 25).

## HOW TO USE
   mni2atlas(VECTOR/ROI) the first input can be a MNI vector or an ROI in the MNI space. Depending on the input the script switches between two
   different work modalities. With no other input the script will seek labels among all available fsl atalses.

   mni2atlas(VECTOR/ROI,ATLAS_SELECTOR) allows to choose among the following atlases:
   1. Juelich Histological Atlas
   2. Harvard-Oxford Cortical Structural Atlas
   3. Harvard-Oxford Subcortical Structural Atlas
   4. JHU ICBM-DTI-81 White Matter labels
   5. JHU White Matter tractography Atlas
   6. Oxford Thalamic Connectivity Atlas
   7. Cerebellar Atlas in MNI152 after FLIRT
   8. Cerebellar Atlas in MNI152 after FNIRT
   9. MNI Structural Atlas
   
   ATLAS_SELECTOR must be a row vector (i.e. [1,3,6]). Default value is [1:1:9]. You can also leave it as an empty vector (i.e. (VECTOR/ROI,[])).

   [ATLAS]=MNI2ATLAS(VECTOR/ROI,...) the script returns the structure ATLAS whit the following fields: .name (of the atlas), .labels (a cell vector). No stdout will be print.

   mni2atlas(VECTOR) prints on screen labels found for the MNI VECTOR position.

   mni2atlas(ROI) prints on screen labels found for the input ROI. ROI can be a preloaded (with load_nii) volume or the path of a nifti volume. 

### ADVANCED OPTIONS
   mni2atlas(ROI,ATLAS_SELECTOR,THR) THR allows to choose among 3 threshold levels: 0, 25, 50 (i.e,. 0, 25, 50). Default value is 25. Option available only under ROI modality.

   mni2atlas(VECTOR,ATLAS_SELECTOR,RESOLUTION) RESOLUTION allows to choose between ‘1mm’ or ‘2mm’ atlases. 1mm atlases performs better region identification but requires more loading time. Default value is ‘1mm’. Option available only under VECTOR modality.

## SYSTEM REQUIREMENTS
  [NifTI and ANALYZE tool](https://it.mathworks.com/matlabcentral/fileexchange/8797-tools-for-nifti-and-analyze-image) (version > 2012-10-12) 

## ACKNOWLEDGEMENTS
  This function uses some of the available [FSL atlases](https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/Atlases)

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top