Is your feature request related to a problem? Please describe.
follow-up of #4020, the antialiasing functions in Resize
|
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 |
should be implemented in the
resized.
it might be useful to include the default sigma computing logic (based on spatial size) as part of GaussianSmooth
|
class GaussianSmooth(Transform): |
Is your feature request related to a problem? Please describe.
follow-up of #4020, the antialiasing functions in
ResizeMONAI/monai/transforms/spatial/array.py
Lines 626 to 633 in 0bbeb1e
resized.it might be useful to include the default sigma computing logic (based on spatial size) as part of
GaussianSmoothMONAI/monai/transforms/intensity/array.py
Line 1124 in 0bbeb1e