after we obtain a binary image ...is there any way to strong the edge??

1 次查看(过去 30 天)
hi after we obtain a binary image with edge for example with otsu method ...is there any way to strengthen these edges??
  8 个评论
Iain
Iain 2014-9-17
strengthen = to make stronger
strong, used like sara used it could equally have been a typo for storing as well as "make stronger"

请先登录,再进行评论。

回答(2 个)

Image Analyst
Image Analyst 2014-9-15
To make edges more contrasty, use a high boost filter:
kernel = [-1,-1,-1;-1,17,-1;-1,-1,-1]/9;
highBoostFilteredImage = imfilter(double(grayImage), kernel);
imshow(highBoostFilteredImage, []);
That's one way, anyway. There are others.
  2 个评论
sara
sara 2014-9-17
thanks Image Analyst after obtaining enough information I will come back soon and ask my question in a clear way.

请先登录,再进行评论。


sara
sara 2014-9-16
thanks Image Analyst and Salaheddin Hosseinzadeh
dear Image Analyst with your guidance and some modification that I did , I obtain a better result..but if you see there is a lesion around lung .I thouth if I use a filter that strong the edge maybe the result is better ...I used your seggustion
if true
kernel = [-1,-1,-1;-1,17,-1;-1,-1,-1]/9;
highBoostFilteredImage = imfilter(double(grayImage), kernel);
imshow(highBoostFilteredImage, []);
end
but I think it is not a good idea...Image Analyst and Salaheddin Hosseinzadeh do you have a good idea?

Community Treasure Hunt

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

Start Hunting!

Translated by