From a2a4e41d481a2715d92c945a42419ab3213d84c6 Mon Sep 17 00:00:00 2001 From: Philip Cook Date: Tue, 3 Sep 2024 16:10:06 -0400 Subject: [PATCH] ENH: Default to 2 voxel radius for denoise_image.py Same default as ANTs DenoiseImage --- ants/ops/denoise_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ants/ops/denoise_image.py b/ants/ops/denoise_image.py index 0bb0827b..9a2da6b6 100644 --- a/ants/ops/denoise_image.py +++ b/ants/ops/denoise_image.py @@ -5,7 +5,7 @@ from ants.internal import get_lib_fn, process_arguments @image_method -def denoise_image(image, mask=None, shrink_factor=1, p=1, r=3, noise_model="Rician", v=0): +def denoise_image(image, mask=None, shrink_factor=1, p=1, r=2, noise_model="Rician", v=0): """ Denoise an image using a spatially adaptive filter originally described in J. V. Manjon, P. Coupe, Luis Marti-Bonmati, D. L. Collins, and M. Robles.