looking for something similar for maximum filter calculation

1 view (last 30 days)
In scipy, there is this function: https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.maximum_filter.html
I am looking for something similar in MATLAB that allows to input the footprint, just like the Python version. is there any matlab function that can do that?

Accepted Answer

Teja Muppirala
Teja Muppirala on 18 Aug 2017
Yes, in MATLAB the function is IMDILATE.
The "NHOOD" argument is analogous to the "footprint" that you referenced.
  1 Comment
John Allen
John Allen on 18 Aug 2017
ah, thank you very much! this solves my problem indeed! thanks!

Sign in to comment.

More Answers (0)


Find more on Just for fun in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by