Yet another link: http://en.wikipedia.org/wiki/Median_filter --> Perreault + Hebert, Median Filtering in Constant Time, nice 6-page paper + 400 lines well-documented C code: http://nomis80.org/ctmf.html (for 2d images, dropping to 1d must be possible :)
They're also in opencv, which I haven't tried -- http://www.intel.com/technology/computing/opencv http://code.google.com/p/ctypes-opencv http://code.google.com/p/opencv-cython cheers -- denis -- http://mail.python.org/mailman/listinfo/python-list