Skip to content

mqc_gif

generates quality control (QC) screenshots between two MRI volumes or, if you give only one input, runs through all the images in a volume in 4d. It extracts the central sections (sagittal, coronal and axial) of the volumes, creates annotated mosaics and combines them into an animated GIF for rapid visual comparison.

Keywords : mqc, Visualisation, gif


Format : tuple val(meta), path(image1), path(image2)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
image1fileFirst image to be analysed, either to be compared with the second, or to be analysed across the whole set of images, in which case you need to be in 4d.True*.{nii,nii.gz}
image2fileSecond image to be analysed.False*.{nii,nii.gz}

Format : tuple val(meta), path(*_screenshots_merged_mqc.gif)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
*_screenshots_merged_mqc.giffile.gif file containing quality control image for visually compares MRI volumes using middle-slice mosaics.True*_screenshots_merged_mqc.gif

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

TypeDescriptionDefaultChoices
title_image1stringname given to the first image
title_image2stringname given to the second image
suffix_qcstringsuffix given to final image

DescriptionDOI
scilpyThe Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox.
MRtrix3MRtrix3 is a software package for various types of diffusion imaging data, including diffusion-weighted, diffusion-tensor, and q-ball imaging.10.1016/j.neuroimage.2019.116137
imagemagickImageMagick is a free, open-source software suite, used for editing and manipulating digital images.


Last updated : 2025-10-30