Link Search Menu Expand Document

MRI to JSON

Description

The MRI to JSON component is a metadata mapping tool based on Python used for mapping metadata from a proprietary file format schema to a JSON schema for Magnetic Resonance Imaging. Currently, only DICOM format is supported. Formats like Nexus and TIFF are planned for the future.

The mapping tool is composed of multiple, independently working modules. Summarized, they comprise the following functionalities:

  • Querying and transfer of target JSON schema structure into a Python-based dictionary representing the schema skeleton.
  • Transfer of proprietary file format metadata into Python-based objects.
  • Mapping of the metadata object attributes to the attributes of the target schema, using a JSON-based metadata map.
  • Insertion of the mapped metadata attributes in the correct position of the target schema, using the schema skeleton.

Click for more details

The underlying plug-in was used for the following publication for FAIR Data Management in MRI. DOI:10.5445/IR/1000161582

Link: https://publikationen.bibliothek.kit.edu/1000161582

Input

  • DICOM (.dcm) file containing MRI data which stores one or multiple images or spectra (processed data) revealed by the Fourier transformation of signals coming from a scan collected into the k-space (raw data), and a header which contains the metadata organized as tags following the DICOM standard, OR;
  • Compressed directory containing one or more series (a set of one or more images or spectra (i.e. processed data) generated after the processing of raw data collected during measurements along the z-axis of a sample as part of the same study and stored in one or multiple DICOM files.) of DICOM (.dcm) files, which are part of the same study in .zip format.

Output

  • Structured metadata document in .json format