[Numpy-discussion] A faster median (Wirth's method)

Sturla Molden sturla at molden.no
Thu Sep 3 01:55:40 EDT 2009


Robert Kern skrev:
> When he is talking about 2D, I believe he is referring to median
> filtering rather than computing the median along an axis. I.e.,
> replacing each pixel with the median of a specified neighborhood
> around the pixel.
>
>   
That's not something numpy's median function should be specialized to 
do. IMHO, median filtering belongs to scipy.

Sturla



More information about the NumPy-Discussion mailing list