Increase edge thickness in binary?
조회 수: 11 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
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));
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!