-
Notifications
You must be signed in to change notification settings - Fork 1.5k
adding the antialiasing option for resized #4264
Copy link
Copy link
Closed
Description
Is your feature request related to a problem? Please describe.
follow-up of #4020, the antialiasing functions in Resize
MONAI/monai/transforms/spatial/array.py
Lines 626 to 633 in 0bbeb1e
| anti_aliasing: bool | |
| Whether to apply a Gaussian filter to smooth the image prior | |
| to downsampling. It is crucial to filter when downsampling | |
| the image to avoid aliasing artifacts. See also ``skimage.transform.resize`` | |
| anti_aliasing_sigma: {float, tuple of floats}, optional | |
| Standard deviation for Gaussian filtering used when anti-aliasing. | |
| By default, this value is chosen as (s - 1) / 2 where s is the | |
| downsampling factor, where s > 1. For the up-size case, s < 1, no |
resized.
it might be useful to include the default sigma computing logic (based on spatial size) as part of GaussianSmooth
MONAI/monai/transforms/intensity/array.py
Line 1124 in 0bbeb1e
| class GaussianSmooth(Transform): |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done