efficient running median

denis denis-bz-gg at t-online.de
Tue Oct 20 05:28:21 EDT 2009


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




More information about the Python-list mailing list