How dilatate an image to get a mask
3 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/419913/image.png)
0 Comments
Answers (1)
Rohit Pappu
on 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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!