The function takes an image and applies the appropriate median filter function (median_filtering_3d or median_filtering_4d) based on the dimensionality of the image.
The function takes an image and applies the appropriate median filter function (median_filtering_3d or median_filtering_4d) based on the dimensionality of the image.