Code covered by the BSD License
18 Feb 2002
Fast 2D Max/Min filter for images using the van Herk algorithm.
Watch this File
Apply Max/Min filter to images very quickly. Based on van Herk algorithm. Good to implement morphological functions.
Size of image does not stay the same if the image and filter has even dimensions.
Size of the image does not stay the same if the image has an odd number of dimensions and the filter has an even number of dimensions.
Thanks for a very useful implementation!