Skip to content

registration_easyreg

Image registration and SynthSeg v2 segmentation with easyreg from freesurfer

Keywords : nifti, registration, segmentation, neural network, Artificial intelligence, machine learning


Format : tuple val(meta), path(fixed_image), path(moving_image), path(fixed_segmentation), path(moving_segmentation)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
fixed_imagefileReference image in .nii(.gz) or .mgz format (note that, since the method is symmetric, the choice of reference vs floating is arbitrary).True*.{nii,nii.gz,mgz}
moving_imagefileImage to register in .nii(.gz) or .mgz format.True*.{nii,nii.gz,mgz}
fixed_segmentationfileFile with the SynthSeg v2 (non-robust) segmentation + parcellation of the reference image. If it does not exist, EasyReg will create it.False*.{nii,nii.gz}
moving_segmentationfileFile with the SynthSeg v2 (non-robust) segmentation + parcellation of the floating image. If it does not exist, EasyReg will create it.False*.{nii,nii.gz}

Format : tuple val(meta), path(*_warped.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
*_warped.nii.gzfileImage warped onto the reference.True*_warped.nii.gz

Format : tuple val(meta), path(*_warped_reference.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
*_warped_reference.nii.gzfileReference warped.True*_warped_reference.nii.gz

Format : tuple val(meta), path(*_forward0_warp.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
*_forward0_warp.nii.gzfileForward deformation field, composed of all registration stages (affine+deformation).False*_forward0_warp.nii.gz

Format : tuple val(meta), path(*_backward0_warp.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
*_backward0_warp.nii.gzfileBackward deformation field, composed of all registration stages (inv-deformation+inv-affine).False*_backward0_warp.nii.gz

Format : tuple val(meta), path(*_warped_segmentation.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
*_warped_segmentation.nii.gzfileSynthSeg v2 (non-robust) segmentation + parcellation on the warped image. Will produce image only if not passed as input.False*_warped_segmentation.nii.gz

Format : tuple val(meta), path(*_warped_reference_segmentation.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
*_warped_reference_segmentation.nii.gzfileSynthSeg v2 (non-robust) segmentation + parcellation on the reference image. Will produce image only if not passed as input.False*_warped_reference_segmentation.nii.gz

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

TypeDescriptionDefaultChoices
affine_onlybooleanOnly perform affine registrationFalse

DescriptionDOI
FreesurferOpen source neuroimaging toolkit for processing, analyzing, and visualizing human brain MR images.10.1016/j.neuroimage.2012.01.021


Last updated : 2025-12-22