Skip to content

Commit

Permalink
Merge pull request #704 from ANTsX/denoise_default
Browse files Browse the repository at this point in the history
ENH: Default to 2 voxel radius for denoise_image.py
  • Loading branch information
cookpa authored Sep 3, 2024
2 parents 751fec7 + a2a4e41 commit 8911caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ants/ops/denoise_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8911caa

Please sign in to comment.