Hello, I have an image of a few plants and I want to measure centroids of each one. Unfortunately some plants are separated to few objects and I can't measure centroid of whole plant. Do you have some ideas how can I connect objects together to finnaly recive image like this one?

 채택된 답변

Walter Roberson
Walter Roberson 2016년 11월 5일

0 개 추천

dilate with a structuring element that is a disk of diameter which is the maximum distance apart that you want to join the objects. You can then erode again.
A short form is to use imclose

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

질문:

2016년 11월 5일

답변:

2016년 11월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by