Skip to content
#diffusion models Dataset Open access

HCP105 bundle templates

Sep 2026 · Zenodo (CERN European Organization for Nuclear Research)

Abstract

Overview Utilities for bringing the HCP105 white-matter reference tract dataset into a shared atlas space and creating bundle-wise tractogram templates. The repository provides the transformations from each subject to the atlas, together with scripts that: apply an individual subject transformation to one or all of its tractograms; convert tractograms between VTK, TRK, and TCK formats; and merge the transformed tractograms into one atlas tractogram per bundle. The resulting bundle templates retain inter-subject anatomical variability. Optional per-subject QuickBundles clustering reduces the number of streamlines before merging. Contents Path Purpose apply_transform_to_HCP.py Transform source HCP105 tractograms into atlas space. convert_tractogram.py Batch conversion between tractogram formats, with optional LPS/RAS coordinate flipping. concat_tracts.py Merge transformed tractograms by bundle, with optional QuickBundles clustering. Transfos/ Subject-to-atlas transformation series. residualDir/ Transformation data referenced by the transformation series. Requirements Python environment Tested with Python 3.13.13. pip install -r requirements.txt Anima Install Anima and make its binaries available on your PATH. In particular, apply_transform_to_HCP.py uses animaFibersApplyTransformSerie. Input data Extract both residualDir.zip and Transfos.zip at the project root. Transformation lists are stored in Transfos/; their associated data are in residualDir/. Download and extract the High quality white matter reference tract dataset. By default, the transformation script expects it in ./HCP105_Zenodo_NewTrkFormat with the following layout: HCP105_Zenodo_NewTrkFormat/ / tracts/ .trk This repository does not include scripts for transforming the original HCP DTI or T1 images. Generated reference images are provided below. File Description average_anat.nii.gz Average T1-weighted anatomical image. average_brain_mask.nii.gz Average brain mask. average_fa.nii.gz Average fractional anisotropy (FA) image. Workflow 1. Transform tractograms to atlas space Transform every bundle for every subject using the default input and output directories: python apply_transform_to_HCP.py To process a specific bundle or subject, use --bundle and --subject: python apply_transform_to_HCP.py \ --input-dir /path/to/HCP105_Zenodo_NewTrkFormat \ --bundle CST_left \ --subject 599469 \ --output-dir transformed \ --n-proc 4 Outputs are written as VTK tractograms in / / with a transformed_ prefix. The input TRK files are flipped from RAS to LPS before Anima applies the transformation. Command-line options python apply_transform_to_HCP.py --help usage: apply_transform_to_HCP.py [-h] [--input-dir INPUT_DIR] [--bundle BUNDLE] [--subject SUBJECT] [--output-dir OUTPUT_DIR] [--n-proc N_PROC] Apply transformations to tractograms from the HCP105 atlas. options: -h, --help show this help message and exit --input-dir, -i INPUT_DIR Directory containing the HCP105 atlas (https://zenodo.org/records/1477956) --bundle, -b BUNDLE Name of the bundle to process --subject, -s SUBJECT Subject ID to process (e.g. 1, 12, or ALL) --output-dir, -o OUTPUT_DIR Output paths. Repeat the option or provide multiple values to match the input files. --n-proc N_PROC Number of processes used to process subjects in parallel. 2. Convert tractogram formats The transformation workflow produces VTK files. Convert them to TRK or TCK when needed. For example, this creates a TRK file next to its VTK input: python convert_tractogram.py transformed/599469/transformed_CST_left.vtk \ --output-format trk \ --reference average_brain_mask.nii.gz Use --flip only when an LPS/RAS orientation conversion is required. Command-line options python convert_tractogram.py --help usage: convert_tractogram.py [-h] [--output-file OUTPUT_FILE [OUTPUT_FILE ...]] [--output-format {vtk,trk,tck}] [--reference REFERENCE] [--flip] input_files [input_files ...] Convert tractograms between formats in batch, with optional orientation flipping (LPS<->RAS). positional arguments: input_files Paths to the input tractogram files options: -h, --help show this help message and exit --output-file, -o OUTPUT_FILE [OUTPUT_FILE ...] Output paths. Repeat the option or provide multiple values to match the input files. --output-format, -of {vtk,trk,tck} Global output format (replaces the extension of each input file). --reference, -r REFERENCE Reference file(s). One for all inputs or one per input. --flip, -f Enable LPS<->RAS orientation flipping 3. Merge subject tractograms by bundle Merge transformed subject tractograms into one template per bundle. A QuickBundles reduction is applied per subject by default; --cluster-thr 0 disables it. python concat_tracts.py \ --input-dir transformed \ --out-dir concatenated \ --output-format vtk \ --cluster-thr 3 \ --n-proc 8 \ --with-subid When --with-subid is set, VTK outputs include a subject_id point-data array. Command-line options python concat_tracts.py --help usage: concat_tracts.py [-h] [--input-dir INPUT_DIR] [--out-dir OUT_DIR] [--output-format OUTPUT_FORMAT] [--cluster-thr CLUSTER_THR] [--n-proc N_PROC] [--with-subid] Concatenate tractograms from multiple subjects into a single template bundle, with optional QuickBundles clustering. options: -h, --help show this help message and exit --input-dir, -i INPUT_DIR Directory containing the transformed subject folders --out-dir, -o OUT_DIR Output directory for concatenated bundles --output-format, -of OUTPUT_FORMAT Output format for the bundles --cluster-thr CLUSTER_THR QuickBundles clustering threshold (in mm). If 0, bundles are concatenated without clustering. --n-proc, -n N_PROC Number of processes used by multiprocessing --with-subid Adds a 'subject_id' array to the VTK files References 1. Suarez, R. O., Commowick, O., Prabhu, S. P. & Warfield, S. K. Automated delineation of white matter fiber tracts with a multiple region-of-interest approach. Neuroimage 59, 3690–3700 (2012). 2. Guimond, A., Meunier, J. & Thirion, J. P. Average Brain Models: A Convergence Study. Computer Vision and Image Understanding 77, 192–210 (2000). 3. Wasserthal, J., Neher, P. & Maier-Hein, K. H. TractSeg - Fast and accurate white matter tract segmentation. Neuroimage 183, 239–253 (2018). 4. Garyfallidis, E. et al. Dipy, a library for the analysis of diffusion MRI data. Front Neuroinform 8, 71423 (2014). 5. Jakob, W., Peter, N. & Klaus, M.-H. High quality white matter reference tracts. https://doi.org/10.5281/ZENODO.1477956 doi:10.5281/ZENODO.1477956. 6. Durantel, T., Girard, G., Caruyer, E., Commowick, O. & Coloigner, J. A Riemannian framework for incorporating white matter bundle prior in orientation distribution function based tractography algorithms. PLoS One 20, e0304449 (2025). 7. Garyfallidis, E., Brett, M., Correia, M. M., Williams, G. B. & Nimmo-Smith, I. QuickBundles, a Method for Tractography Simplification. Front Neurosci 6, 175 (2012).

View source

Similar papers

#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6
#computer vision Conference Sep 2010

Exploring the Sources of Waste in Kanban Software Development Projects

The application of agile software methods and more recently the integration of Lean practices contribute to the trend of continuous improvement in the software industry. One such area warranting proper empirical evidence is a project’s operational efficiency when using the Kanban method. This short paper takes a new angle and explores waste in the Kanban-driven software development project context. A preliminary research model is presented for helping the consequent replication of the study. The results from the empirical analysis suggest Kanban can be an effective method in visualizing and organizing the current work, but does not prevent waste from creeping in, although the overall project outcome may be successful.

Marko Ikonen, Petri Kettunen, Nilay V. Oza et al. · 67 citations · ⚡9

Related blog posts

MIT News · Artificial Intelligence Sep 14, 2026

New method enables AI for safety-critical situations

The “HardFlow” algorithm could help generative AI models produce high-quality outputs that obey strict requirements when “pretty close” doesn’t cut it.

GPT-Lab Sep 10, 2026

Responsible AI Must Consider Its Afterlife

AI may appear weightless, but every model depends on physical infrastructure. To understand responsible AI, we need to look beyond algorithms and consider the entire lifecycle of the hardware behind them. The post Responsible AI Must Consider Its Afterlife appeared first on GPT-Lab.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.