how to enhance edges on images?
6 views (last 30 days)
Show older comments
how to enhance edges on images?
Accepted Answer
Image Analyst
on 22 Jul 2017
You can do a high boost filter, which is essentially a high pass filter added to the original image. For example
kernel = -1*ones(3);
kernel(2,2) = 17;
enhancedImage = imfilter(grayImage, kernel);
2 Comments
Image Analyst
on 25 Jul 2017
What are BW images? Binary images (only 2 gray levels), or gray scale images? Binary images already have sharp edges, and for gray scale images, that code will sharpen the edges. For contours, you can use contour().
More Answers (1)
Deepak Saini
on 17 Apr 2020
Edited: Deepak Saini
on 18 Apr 2020
I need to find sharp edge (front part) for the uploaded x-ray image.
When i am using imbinarize or im2bw, i am getting a very blunt edge.
0 Comments
See Also
Categories
Find more on Image Filtering and Enhancement in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!