How dilatate an image to get a mask

5 次查看(过去 30 天)
Andrea97
Andrea97 2020-11-19
回答: Rohit Pappu 2020-11-23
What I have to do is to segment this image in order to show the corpuscles inside the cell. I managed to do it but the problem is that I get also the corpuscles outside the cell. For this reason I want to create a mask which make me consider only the inside region of the cell (in this way the outside should result all black). I know I have to use strel and imdilate functions but I dn't know how to use them properly. I will upload both the original image and my segmentation in order to undertand better the question.

回答(1 个)

Rohit Pappu
Rohit Pappu 2020-11-23
strel returns a morphological structure element, which is passed as a parameter to imdilate() . Additional information about imdilate can be found here

Community Treasure Hunt

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

Start Hunting!

Translated by