layerBIDS

Authors: Kenshu Koiso, Alessandra Pizzuti | Date: June 2026

OHBM 2026 Hackathon project: BIDS-layerfMRI

Description
High-resolution layer-fMRI is a rapidly growing field, with more than 350 studies published to date. As the community expands, there is an increasing need for standardized approaches to organize, share, and reuse layer-fMRI datasets. The Brain Imaging Data Structure (BIDS) provides a widely adopted framework for standardizing file naming conventions and dataset organization, facilitating data sharing and reproducibility. However, clear guidelines for organizing and sharing both source and processed layer-fMRI data within the BIDS framework are still lacking.
Building on previous efforts initiated by Renzo Huber during a hackathon in 2022, this project aims to help address this gap by:

  • Gathering feedback from layer-fMRI experts through interviews and community surveys:
    https://forms.gle/z4N8eTTMXAA9mbST7
  • Providing an example layer-fMRI dataset that can serve as a practical reference for data organization and sharing: https://zenodo.org/records/20679524
  • Submitting a pull request to the BIDS community to incorporate these recommendations into future standards.

Based on discussions with the community during the OHBM BrainHack (2026), we propose the following structure as “initial prototype” with the minimum requirement for organizing layer-fMRI datasets.

Dataset_layer-fMRI_example
Dataset_description.json
├── sub-02
│ ├── sess-02
│ │ ├── func
│ │ └── sub-02_sess-04_task-movie_run-01_bold.nii.gz
│ │ ├── anat
│ │ └── sub-02_sess-01_run-01_T1w.nii.gz
├── derivative
│ ├── anat
│ └── sub-02_desc-preproc_T1w.nii.gz
│ └── sub-02_seg-braintissues_dseg.nii.gz
│ └── braintissues_dseg.tsv
│ └── sub-02_space-NATIVE_atlas-Glasser.nii.gz
│ └── atlas-Glasser_description.json
│ └── sub-02_seg-depth_method-equivol.nii.gz
│ └── depth_description.json
│ └── sub-02_seg-layer_method-equivol.nii.gz
│ └── layer_dseg.tsv
│ └── sub-02_roi-V1_dseg.nii.gz
│ └── roi_dseg.tsv
│ ├── func
│ └── sub-02_sess-04_task-movie_run-01_space-NATIVE_desc-prepro_bold.nii.gz
│ └── sub-02_sess-04_task-movie_run-01_space-NATIVE_stat-mean_bold.nii.gz
│ └── sub-02_sess-04_task-movie_run-01_space-NATIVE_stat-tsnr_bold.nii.gz

The source data organization follows the current BIDS specification for MRI and fMRI datasets. However, for the derivative data organization some of the file names and conventions included in this proposal are not currently part of the official BIDS standard. Rather, they represent a first community-driven attempt intended to facilitate the sharing and reproducibility of layer-fMRI data while broader standards are being developed.
For describing geometrical cortical layers, we propose the following file naming convention:

sub-02_seg-depth_method-equivol.nii.gz
sub-02_seg-layer_method-equivol.nii.gz

In both cases, it is important to specify the method used to compute cortical depth, such as equidistant or equivolume layering. The depth file contains a continuous coordinate representation of cortical depth, typically ranging from 0 to 1 across the cortical ribbon. This file serves as the basis from which discrete cortical layers are derived.
In the example above, both outputs were generated using LayNii (v2.10.0).
The accompanying depth_description.json file specifies how the depth coordinate is defined, including its orientation with respect to the cerebrospinal fluid (CSF) and white matter boundaries.


0 for boundary between WM and GM, 1 for boundary between GM and SCF.

Similarly, the layer_dseg.tsv file describes the discrete geometrical layers and their corresponding positions within the cortical ribbon.

In some cases, layer-fmri researchers may wish to restrict analyses to a specific brain region or a subject-specific subregion thereof. For this purpose, we propose the use of roi files. While these files are conceptually similar to atlases, the term region of interest (ROI) may be more appropriate and intuitive for layer-fMRI analyses, where masks are often generated for a particular cortical area or a subset of that area rather than representing a whole-brain parcellation.

Acknowledgement We would like to thank Remi Gau for his guidance throughout this project and Renzo Huber for initiating this effort and for providing the opportunity to share these recommendations through this blog post. We would also like to thank Ashley York, Saskia Bollmann, Marco Barilari, Remi Gau, Avinash Kalyani, and Omer Faruk Gulban for their discussions during the OHBM Brainhack 2026. This example dataset is a part of Kenshu dataset: https://openneuro.org/datasets/ds003216

We welcome feedback from the community. If you have comments, suggestions, or concerns, please complete the survey:https://forms.gle/z4N8eTTMXAA9mbST7

Video recordings of Laminar fMRI Course at Martinos Center 2023

October 2-5 2023 @ Martinos Center in Boston, MA 

The combination of ultra-high field (7 Tesla and above) imaging with increasingly sophisticated data analysis tools has led to a surge of research using functional MRI acquisitions to examine the behavior of individual cortical layers of the brain. This course will focus on teaching the acquisition and analysis tools needed to contribute to this research.    

Content: four days of hands-on training on laminar fMRI
day 1: introduction to laminar fMRI & basic data acquisition
day 2: data preprocessing and analysis
day 3: interpretation and modeling
day 4: advanced applications and future directions

Continue reading “Video recordings of Laminar fMRI Course at Martinos Center 2023”

OHBM 2024 Brainhack: Hack your RF coil

This hackathon project is part of the series, Hack your Scanner, following contributions of previous years. 2022 VASO mosaic, 2021 visual exporting scanner data with QR Modem, 2020 viewing data with ASCII art on MARS with LN_INFO. This year is about hacking your RF-coil.


Continue reading “OHBM 2024 Brainhack: Hack your RF coil”

NORDIC denoising on VASO data

Authors: Lasse Knudsen, Luca Vizioli, Federico De Martino, Lonike Faes, Dan Handwerker, Renzo Huber

This post describes the usage, capabilities and challenges of NORDIC PCA denoising on VASO data. A video presentation of this project can be found here: https://youtu.be/bbGKMTWVrJY.

Continue reading “NORDIC denoising on VASO data”

Equi-voluming: The Anakin Skywalker of layering algorithms

Authors: Renzo Huber and Faruk Gulban

When you want to analyze functional magnetic resonance imaging (fMRI) signals across cortical depths, you need to know which voxel overlaps with which cortical depth. The relative cortical depth of each voxel is calculated based on the geometry of the proximal cortical gray matter boundaries. One of these boundaries is the inner gray matter boundary which often faces the white matter and the other boundary is the outer gray matter boundary which often faces the cerebrospinal fluid. Once the cortical depth of each voxel is calculated based on the cortical gray matter geometry, corresponding layers can be assigned to cortical depths based on several principles.

One of the fundamental principles used for “assigning layers to cortical depths” (aka layering, layerification) is the equi-volume principle. This layering principle was proposed by Bok in 1929, where he tries to subdivide the cortex across little layer-chunks that have the same volume. I.e. gyri and sulci will exhibit any given layer at a different cortical depth, dependent on the cortical folding and volume sizes (see figure below).

With respect to applying equi-volume principle in layer-fMRI, the equi-volume layering has gone through quite a story. A plot with many parallels to Anakin Skywalker.

In this blog, the equi-volume layering approach is evaluated. Furthermore, it is demonstrated how to use it in LAYNII software.

Continue reading “Equi-voluming: The Anakin Skywalker of layering algorithms”

layer-fMRI Webinar MBIC 2020

Title: High resolution fMRI: An introductory course for data acquisition and analysis challenges.

Support: This lecture series is finanzially supported by the FPN-MBIC-school. The session on sequences and sequence artifacts is supported (in kind) by the York-Maastricht-partnership grant. Faruk Omer Gulban works for Brain Innovation.

Coordinators: Laurentius (Renzo) Huber & Omer Faruk Gulban, Cognitive Neuroscience Department

Email: renzohuber@gmail.com or faruk.gulban@maastrichtuniversity.nl

Dates: 7, 14, 21, 28 July 2020 (4 sessions in total), 3pm to 4:30pm.

Video Conference Zoom link (note that these sessions may be recorded): https://maastrichtuniversity.zoom.us/meeting/register/tJAvcu-qpj8sHNVD71Vcu95et-R14QKRs22T

Continue reading “layer-fMRI Webinar MBIC 2020”

Layer-fMRI VASO worldwide

This blog post gives an overview of the scientific network of researchers that are using the VASO (vascular space occupancy) for applications in layer-fMRI. I tried to give an overview of all layer-fMRI VASO papers published so far and provide a map of all layer-fMRI VASO labs around the globe. Continue reading “Layer-fMRI VASO worldwide”

‘layer fMRI’, ‘sub-millimeter fMRI’, ‘mesoscopic fMRI’, or ‘cortical depth dependent fMRI’…. Which term should I use?

What’s the best name of our field and what’s the best attributing term for our data? There are many competing options: “Layer fMRI”, “mesoscopic fMRI”, “sub-millimeter fMRI”, “ultra-high resolution fMRI”, “laminar fMRI”, “cortical depth-dependent fMRI”. They differ with respect to how flashy they are, how scientifically appropriate they are, and how popular they are.

In this blog post, I want to review which ones are the most popular ones in the field and also share some thoughts on my favourite candidates.

Edits on March 3rd 2019 with contributions and clarifications taken from Kamil Uludağ, Sri Kashyap and  Faruk Gulban.

Continue reading “‘layer fMRI’, ‘sub-millimeter fMRI’, ‘mesoscopic fMRI’, or ‘cortical depth dependent fMRI’…. Which term should I use?”