area calculation of black part
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Antworten (1)
KSSV
am 5 Feb. 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 Kommentar
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!