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

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

Accedi per commentare.

Risposte (2)

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

Accedi per commentare.


sara
sara il 16 Set 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?

Community Treasure Hunt

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

Start Hunting!

Translated by