Increase edge thickness in binary?

30 ビュー (過去 30 日間)
Steven
Steven 2014 年 10 月 27 日
コメント済み: Steven 2014 年 10 月 28 日
Hi
I have detected the edges of an image using "bwperim". I want to increase the thickness the edges (such as the sides of a square) to make it more visible. How can I do it using Image Processing Toolbox?
Thanks!
Steven

採用された回答

Anand
Anand 2014 年 10 月 27 日
Have a look at the imdilate function.
Here's a quick example,
BW1 = imread('circbw.tif');
BW2 = bwperim(BW1,8);
BW3 = imdilate(BW2, strel('disk',1));
  1 件のコメント
Steven
Steven 2014 年 10 月 28 日
Thanks Anand!

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by