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