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

Jon Wright wright@esrf...
Thu Sep 3 00:55:40 CDT 2009


Chad Netzer wrote:
> But Charles Harris's earlier suggestion of some hard coded medians for
> common filter template sizes (ie 3x3, 5x5, etc.) may be a nice
> addition to scipy, especially if it can be generalized somewhat to
> other filters.
>   
For 2D images try looking into PIL :  ImageFilter.MedianFilter

Cheers,

Jon


More information about the NumPy-Discussion mailing list