looking for something similar for maximum filter calculation

2 ビュー (過去 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 Center および File ExchangeSignal Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by