finding the number of connected component.

1 次查看(过去 30 天)
I'm doing the project on leaf disease detection and classification.I have to differentiate leaf as healthy and unhealthy leaves based on number of connected components.
if number of connected component is 1 then the leaf is healthy else unhealthy. I have tried with bwconncomp() but i'm getting the number of objects as more than one even for healthy leaves. so , please can anyone suggest me some other solutions. Thanks in advance.
  1 个评论
Walter Roberson
Walter Roberson 2019-1-7
attach a sample matrix that you feel should have a single connected component . Be sure to save as mat and attach that as datatype is important for this purpose .

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Agriculture 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by