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

1 view (last 30 days)
hi after we obtain a binary image with edge for example with otsu method ...is there any way to strengthen these edges??
  8 Comments
Iain
Iain on 17 Sep 2014
strengthen = to make stronger
strong, used like sara used it could equally have been a typo for storing as well as "make stronger"

Sign in to comment.

Answers (2)

Image Analyst
Image Analyst on 15 Sep 2014
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 Comments
sara
sara on 17 Sep 2014
thanks Image Analyst after obtaining enough information I will come back soon and ask my question in a clear way.

Sign in to comment.


sara
sara on 16 Sep 2014
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?

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!