2 次元フィルタの適用範囲

8 views (last 30 days)
R.Kato
R.Kato on 20 Oct 2020
Answered: Shunichi Kusano on 20 Oct 2020
画像データimageに対して、メディアンフィルタ及び平均化フィルタを適用した場合の比較をしたいと思います。
下記のそれぞれのフィルタにおいて適用範囲は中心画素に対して周辺何画素になりますか。
メディアンフィルタ:medfilt2(image,[3 3])
平均化フィルタ:filter2(fspecial('average',3),image)

Answers (1)

Shunichi Kusano
Shunichi Kusano on 20 Oct 2020
それぞれ中心画素を中心とする3x3の窓が適用範囲となります。
ちなみにですが、単なる平均値フィルタでしたらimboxfiltという関数もあります。

Community Treasure Hunt

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

Start Hunting!