Apply a median filter on an image.
This median filter is using a ‘nearest’ padding for values past the array edges. If you want more padding options or functionalities for the median filter (conditional filter for example) please have a look at silx.math.medianfilter.
Parameters: |
|
---|---|
Returns: | the array with the median value for each pixel. |
Note
if the opencl implementation is requested but is not present or fails, the cpp implementation is called.