MATLAB Answers

How to Enhance Image edges after segment on Binary Image

조회 수: 20(최근 30일)
Selva Karna
Selva Karna 27 Jul 2017
Answered: Swarooph 27 Jul 2017
How to Enhance Image edges after segment on Binary Image

  댓글 수: 0

로그인 to comment.

답변 수 (1)

Swarooph
Swarooph 27 Jul 2017
The simplest answer is to try using the edge function in the Image Processing Toolbox. Here is the doc. I tried it on your image to get an ok result. You might have to play with the algorithm/parameters to get a thicker/more defined edge:
img = imread('binary_image.png');
I = rgb2gray(img);
BW1 = edge(I,'sobel');
BW2 = edge(I,'canny');
figure;
imshowpair(BW1,BW2,'montage')
title('Sobel Filter Canny Filter');
(right click open image in a new tab/window for better resolution)

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by