Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
help me in this
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
can anyone suggest me the matlab code how to perform this,
i want to convert rgb image (agriculture rows consists of plants on both side and in betwwen path),in to binary image and have to perform the row scan operations,and have to calculate the number of 1's in that row and adding the corresponding column number to that 1 and calculate the mean of that row.i want to calculate the width of the path available in between the plants.
0 commentaires
Réponses (1)
Image Analyst
le 20 Fév 2020
You can use sum(binaryImage(row, :)) to count the number of 1's in the row, and bwlabel() to count the number of continguous regions of 1's.
0 commentaires
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!