area calculation of black part
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hello,
i have to calculate the area of black part how can i do it and also which image should i use green or binary?
1 commentaire
Réponses (1)
KSSV
le 5 Fév 2020
A crude/ rough estimate
I = imread('binary2.jpg') ;
[y,x] = find(I<=180) ;
iwant = nnz(x) ;
imshow(I)
hold on
plot(x,y,'.r')
1 commentaire
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!