unravel.image_tools.dilate module#
Use img_dilate (dilate) from UNRAVEL to dilate a mask in a NIfTI image.
All positive input voxels are treated as foreground. The output is a binary image.
Usage:#
img_dilate -i path/image.nii.gz -it 2 [-o path/image_dil2.nii.gz]