How can I use Iamerode to separate attached cells from the mask?

3 ビュー (過去 30 日間)
Sudati Shrestha
Sudati Shrestha 2022 年 9 月 19 日
コメント済み: Sudati Shrestha 2022 年 9 月 20 日
I have a couple of masks made and some of the cells are attached together, I want to separate those cells using a Matlab function iamerode.
How can I do it?

回答 (1 件)

Image Analyst
Image Analyst 2022 年 9 月 19 日
編集済み: Image Analyst 2022 年 9 月 19 日
Those look like they're all separate, because they're different colors. Why do you say they're not?
I've never heard of iaerode. It's not a MATLAB function. Maybe you got that from some third party or wrote it yourself. However there is an imerode function.
se = strel('disk', 3, 0);
mask = imerode(mask, se);
In the meantime, see Steve's discussion of using watershed to split apart joined binary blobs:

カテゴリ

Help Center および File ExchangeShifting and Sorting Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by