Poster No:
1851
Submission Type:
Abstract Submission
Authors:
Ashley Stewart1, Gabriele Amorosino2, Jelle Veraart3, Anibal Heinsfeld2, Steffen Bollmann4, Franco Pestilli2
Institutions:
1The University of Queenland, Brisbane City, QLD, 2The University of Texas at Austin, Austin, TX, 3New York University, New York, NY, 4The University of Queensland, Brisbane, Queensland
First Author:
Co-Author(s):
Introduction:
Compliance with MRI protocols is critical to ensure data quality, study integrity, and reproducibility, but it remains challenging in several scenarios. First, in multi-site studies like clinical trials, maintaining protocol compliance is complicated by variations in scanner vendors, hardware/software versions, and user practices. Second, implementing state-of-the-art imaging guidelines, such as the 2024 Quantitative Susceptibility Mapping (QSM) Consensus recommendations, can be challenging for new studies or researchers unfamiliar with these specific imaging techniques. Configuring these protocols requires setting multiple scanner parameters, often leading to suboptimal protocols without expert guidance. Third, replicating protocols from landmark studies like the Human Connectome Project (Van Essen, 2013), ABCD Study (Casey, 2018), or UK Biobank (Bycroft, 2018) is similarly complex due to specific protocol requirements. In all cases, discrepancies between the planned protocol, scanner settings, and stored DICOMs can compromise data quality and subsequent analyses.
To address these challenges, we developed dicompare, an open-source DICOM validation tool (https://astewartau.github.io/dicompare). dicompare analyzes data at the DICOM stage, preserving all available metadata and avoiding assumptions required to convert to formats like the evolving Brain Imaging Data Structure. It validates MRI scanning sessions with specifications encoded in a session template, which can be generated from a reference session or selected from a pre-existing template library for subdomains like QSM.
dicompare runs locally in any modern web browser without installation or data transfer to the cloud, preserving privacy and making it suited to clinical environments. By validating collected data, dicompare eliminates unseen discrepancies between the planned protocol and the data collected in ongoing MRI studies.
Methods:
dicompare provides a browser-based interface for DICOM validation built using WebAssembly (Haas, 2017) and Pyodide (Pyodide/pyodide, 2024) and hosted on GitHub Pages. This enables offline DICOM validation within the web browser's local sandbox.
The underlying functionality is powered by a Python package that can be run independently of the web interface. The package provides two command-line entry points and a Python API for programmable use. The main functionalities are to generate customizable templates that describe scanning sessions retrospectively and to validate incoming sessions against a chosen template. User-friendly web interfaces are available for both functionalities (see Figure 1).
The user-generated templates that describe a session use a JSON format auto-populated with parameter values parsed from reference DICOMs. The template can be interactively customized to specify string patterns and numerical tolerances. A template can also be written using a Python script format for more complex validation needs. For instance, the QSM consensus guidelines (QSM Consensus Organization Committee, 2024) recommend a uniform echo spacing (ΔTE), an example of a more sophisticated rule that numerical tolerances of specific fields alone cannot capture. Examples of these Python-based templates are accessible through the web interface and GitHub repository.
The robustness of our developments is ensured through continuous integration testing with GitHub Actions and PyTest.

·Overview of dicompare. Users can generate a session template based on a reference session (top row) and validate incoming data with a chosen template to generate a compliance report (bottom row).
Results:
dicompare is hosted via GitHub pages, runs in the browser, and provides interfaces for generating a session template and validating incoming sessions against a chosen template (see Figure 2).

·User interface for dicompare. a) Interface for generating a session template; b) Interface for compliance checks, showing a compliance summary with one error visible.
Conclusions:
dicompare addresses a critical gap in preemptive quality assurance for neuroimaging by directly enabling flexible and privacy-preserving validation of DICOM files in the browser. Leveraging WASM eliminates installation and external data upload requirements, ensuring compatibility with clinical constraints and privacy regulations.
Modeling and Analysis Methods:
Other Methods 2
Neuroinformatics and Data Sharing:
Workflows 1
Informatics Other
Novel Imaging Acquisition Methods:
Imaging Methods Other
Keywords:
Computing
Data analysis
Data Organization
MRI
Open-Source Code
Open-Source Software
Workflows
Other - Quality Assurance, QSM,
1|2Indicates the priority used for review
By submitting your proposal, you grant permission for the Organization for Human Brain Mapping (OHBM) to distribute your work in any format, including video, audio print and electronic text through OHBM OnDemand, social media channels, the OHBM website, or other electronic publications and media.
I accept
The Open Science Special Interest Group (OSSIG) is introducing a reproducibility challenge for OHBM 2025. This new initiative aims to enhance the reproducibility of scientific results and foster collaborations between labs. Teams will consist of a “source” party and a “reproducing” party, and will be evaluated on the success of their replication, the openness of the source work, and additional deliverables. Click here for more information.
Propose your OHBM abstract(s) as source work for future OHBM meetings by selecting one of the following options:
I do not want to participate in the reproducibility challenge.
Please indicate below if your study was a "resting state" or "task-activation” study.
Other
Healthy subjects only or patients (note that patient studies may also involve healthy subjects):
Healthy subjects
Was this research conducted in the United States?
Yes
Are you Internal Review Board (IRB) certified?
Please note: Failure to have IRB, if applicable will lead to automatic rejection of abstract.
Not applicable
Were any human subjects research approved by the relevant Institutional Review Board or ethics panel?
NOTE: Any human subjects studies without IRB approval will be automatically rejected.
Not applicable
Were any animal research approved by the relevant IACUC or other animal research panel?
NOTE: Any animal studies without IACUC approval will be automatically rejected.
Not applicable
Please indicate which methods were used in your research:
Other, Please specify
-
Software development, continuous integration
Which processing packages did you use for your study?
Other, Please list
-
pydicom
Provide references using APA citation style.
1. QSM Consensus Organization Committee. (2024). Recommended implementation of quantitative susceptibility mapping for clinical research in the brain: A consensus of the ISMRM electro-magnetic tissue properties study group. Magnetic Resonance in Medicine, 91(5), 1834–1862. https://doi.org/10.1002/mrm.30006;
2. Van Essen, D. C. (2013). The WU-Minn Human Connectome Project: An overview. NeuroImage, 80, 62–79. https://doi.org/10.1016/j.neuroimage.2013.05.041;
3. Casey, B. J. (2018). The Adolescent Brain Cognitive Development (ABCD) study: Imaging acquisition across 21 sites. Developmental Cognitive Neuroscience, 32, 43–54. https://doi.org/10.1016/j.dcn.2018.03.001;
4. Bycroft, C. (2018). The UK Biobank resource with deep phenotyping and genomic data. Nature, 562(7726), 203–209. https://doi.org/10.1038/s41586-018-0579-z;
5. Gorgolewski, K. J. (2016). The brain imaging data structure, a format for organizing and describing outputs of neuroimaging experiments. Scientific Data, 3(1), 160044. https://doi.org/10.1038/sdata.2016.44;
6. Markiewicz, C. J. (2021). The OpenNeuro resource for sharing of neuroscience data. eLife, 10, e71774. https://doi.org/10.7554/eLife.71774;
7. Hayashi, S. (2024). brainlife.io: A decentralized and open-source cloud platform to support neuroscience research. Nature Methods, 21(5), 809–813. https://doi.org/10.1038/s41592-024-02237-2;
8. Haas, A. (2017). Bringing the web up to speed with WebAssembly. Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation, 185–200. https://doi.org/10.1145/3062341.3062363;
9. Pyodide/pyodide. (2024). [Python]. pyodide. https://github.com/pyodide/pyodide (Original work published 2018).
No