フィルターのクリア

Code of Dilation with kernel overlapping and without imdilate() function?

3 ビュー (過去 30 日間)
Fahmida Tasnim Lisa
Fahmida Tasnim Lisa 2020 年 7 月 10 日
編集済み: Fahmida Tasnim Lisa 2020 年 7 月 11 日
Can anyone help me dilate a binary image using kernel overlapping and without using the imdilate() function?

採用された回答

Image Analyst
Image Analyst 2020 年 7 月 10 日
Not sure what that means. First of all, imerode() does erosion, not dilation. Secondly, what is "kernel overlapping"? Or what is it without "kernel overlapping"? Basically dilation replaces the pixel at a center of a window with the maximum of the image within that window, and imdilate() does that for every pixel in the image as it scans the image pixel by pixel. If you want to move the window in "jumps" of the filter window width instead of by one pixel at a time, then you want blockproc(). Though, blockproc() can also move by amounts less than the window size if you set it up properly. I've attached demos for blockproc().
  1 件のコメント
Fahmida Tasnim Lisa
Fahmida Tasnim Lisa 2020 年 7 月 11 日
Sorry i meants imdilate()****
Thanks for the help

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by