That's very cool. LIBCVD does something similar in that updates are only made to the histogram for pixels that enter or leave the structuring element as it's shifted across the image. Any plans to replace erode and dilate with rank.minimum and rank.maximum?

Damian

On Wed, Nov 14, 2012 at 10:41 PM, Stéfan van der Walt <stefan@sun.ac.za> wrote:
Hi everyone,

We just merged an exciting new rank filtering module, implemented by
Olivier Debeir and guided through review by Johannes Schönberger.
These filters work on the principle that, as a sliding window moves
over an image, its histogram can be efficiently updated by considering
only new values introduced (and left behind) by the moving footprint.

Here are some examples from the gallery:

http://scikit-image.org/docs/dev/auto_examples/applications/plot_rank_filters.html

Enjoy!

Stéfan

--



--
Damian Eads, PhD
Research Associate, Machine Intelligence Laboratory
Engineering Department, University of Cambridge
Trumpington Street, Cambridge, CB2 1PZ, ENGLAND

Web: http://mi.eng.cam.ac.uk/~dre25