How can I use Iamerode to separate attached cells from the mask?
조회 수: 3 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
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 Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!