dipy_denoise_mppca [-h] [–patch_radius [int …]] [–pca_method str] [–return_sigma] [–out_dir str] [–out_denoised str] [–out_sigma str] input_files

Workflow wrapping Marcenko-Pastur PCA denoising method.

Positional Arguments

input_files Path to the input volumes. This path may contain wildcards to process multiple inputs at once.

Optional Arguments

-h, --help

show this help message and exit

–patch_radius [int …]

The radius of the local patch to be taken around each voxel (in voxels) For example, for a patch radius with value 2, and assuming the input image is a 3D image, the denoising will take place in blocks of 5x5x5 voxels.

--pca_method str

Use either eigenvalue decomposition (‘eig’) or singular value decomposition (‘svd’) for principal component analysis. The default method is ‘eig’ which is faster. However, occasionally ‘svd’ might be more accurate.


If true, a noise standard deviation estimate based on the Marcenko-Pastur distribution is returned [2].

Output Arguments(Optional)

--out_dir str

Output directory. (default current directory)

--out_denoised str

Name of the resulting denoised volume.

--out_sigma str

Name of the resulting sigma volume.


Garyfallidis, E., M. Brett, B. Amirbekian, A. Rokem, S. Van Der Walt, M. Descoteaux, and I. Nimmo-Smith. Dipy, a library for the analysis of diffusion MRI data. Frontiers in Neuroinformatics, 1-18, 2014.