- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
お世話になります。
メディアンフィルタの「ippiFilterMedianBorder_8u_C1R」関数で
IPPバージョンを新しくすると速度が10倍以上遅くなる現象に困っています。
画像は横1000pix、縦1000pixの8ビットグレースケールを用意して
メディアンフィルタを実行します。
以下に簡単にまとめますと
環境は
CPU:14900K
MEM:64GB
OS:win11(最新)
パラメータ
画像:8bitGray 1000x1000
マスクサイズ:X=201,Y=1
ボーダー処理タイプ:ippBorderInMem
※()は同じ画像サイズで24bitカラーにした場合です。
<IPP_ver2021.1.1> 高速です
処理速度:3.5ms (10.1ms)
ippiFilterMedianBorderGetBufferSizeで取得されたバッファサイズ:
503,904byte (900,000byte)
<IPP_ver2021.12> 低速です
処理速度:40.0ms (11.3ms)
ippiFilterMedianBorderGetBufferSizeで取得されたバッファサイズ:
1,117,984byte (900,000byte)
比較しますと8bitGrayの場合は新しいIPPバージョンだと11倍以上処理時間がかかり、
必要とするバッファサイズも2倍以上となにか動作がおかしい気がします。
興味深いのが新しいIPPバージョンですとデータサイズがより大きい24bitカラーよりも
サイズが小さい8bitGrayの方が処理が遅いということです・・
以上これは不具合なのかどうか確認をいただければ幸いです。
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In order to better support you in the community, please post your topics in English. Thank you for your understanding.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page