looking for something similar for maximum filter calculation

조회 수: 1 (최근 30일)
John Allen
John Allen 2017년 8월 18일
댓글: TheStranger 2023년 9월 30일
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일
Yes, in MATLAB the function is IMDILATE.
The "NHOOD" argument is analogous to the "footprint" that you referenced.
  댓글 수: 2
John Allen
John Allen 2017년 8월 18일
ah, thank you very much! this solves my problem indeed! thanks!
TheStranger
TheStranger 2023년 9월 30일
In order to find all local maxima should I set SE to all zeros?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by