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!
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.