looking for something similar for maximum filter calculation

4 visualizaciones (últimos 30 días)
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?
thanks!

Respuesta aceptada

Teja Muppirala
Teja Muppirala el 18 de Ag. de 2017
Yes, in MATLAB the function is IMDILATE.
The "NHOOD" argument is analogous to the "footprint" that you referenced.
  2 comentarios
John Allen
John Allen el 18 de Ag. de 2017
ah, thank you very much! this solves my problem indeed! thanks!
TheStranger
TheStranger el 30 de Sept. de 2023
In order to find all local maxima should I set SE to all zeros?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matched Filter and Ambiguity Function en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by