How does imresize 'Antialiasing' work?

16 ビュー (過去 30 日間)
YOUNGMIN KIM
YOUNGMIN KIM 2021 年 7 月 29 日
コメント済み: YOUNGMIN KIM 2021 年 7 月 29 日
I want to know how the imresize function works when I set 'Antialiasing' option to true.
There are so many methods to make Antialiasing.
The imresize function says that when I set 'Antialiasing' option true, the imresize function will do antialiasing.
So I want to know exactly how imresize function does 'Antialiasing'.
  2 件のコメント
Star Strider
Star Strider 2021 年 7 月 29 日
It could be similar to the antialiasing in the Signal Processing Toolbox resample function, that uses a FIR filter to remove spurious high frequencies (greater than the original signal Nyquist frequency) that are created in the interpolation process.
I have not looked at the code of either one in any detail (assuming that is even possible).
YOUNGMIN KIM
YOUNGMIN KIM 2021 年 7 月 29 日
Thank you for answering!

サインインしてコメントする。

採用された回答

DGM
DGM 2021 年 7 月 29 日
編集済み: DGM 2021 年 7 月 29 日
If I recall from digging through the code before, it mentions using a modified kernel to simultaneously interpolate and antialias. I don't know which methods are relevant to that chunk of code, but you're free to look at the code yourself.
EDIT:
I can't really point out line numbers since it changes between versions. Circa R2015b, most everything is still in imresize.m, which is in the IPT directory. Look for a function called contributions().
By R2019b, the parts of imresize() are spread across several files in $MLROOT/toolbox/matlab/images/+matlab/+images/+internal/+resize/
Look in that directory for contributions.m and see if you can make sense of it.
  1 件のコメント
YOUNGMIN KIM
YOUNGMIN KIM 2021 年 7 月 29 日
Thank you for answering

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2021 年 7 月 29 日
It probably blurs the image slightly.
  1 件のコメント
YOUNGMIN KIM
YOUNGMIN KIM 2021 年 7 月 29 日
Thank you for answering

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by