How dilatate an image to get a mask

5 Ansichten (letzte 30 Tage)
Andrea97
Andrea97 am 19 Nov. 2020
Beantwortet: Rohit Pappu am 23 Nov. 2020
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.

Antworten (1)

Rohit Pappu
Rohit Pappu am 23 Nov. 2020
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