looking for something similar for maximum filter calculation

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!

 채택된 답변

Teja Muppirala
Teja Muppirala 2017년 8월 18일

1 개 추천

Yes, in MATLAB the function is IMDILATE.
The "NHOOD" argument is analogous to the "footprint" that you referenced.

댓글 수: 2

ah, thank you very much! this solves my problem indeed! thanks!
In order to find all local maxima should I set SE to all zeros?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2017년 8월 18일

댓글:

2023년 9월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by