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

Sturla Molden sturla@molden...
Thu Sep 3 00:55:40 CDT 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