area calculation of black part
1 回表示 (過去 30 日間)
古いコメントを表示
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 件)
KSSV
2020 年 2 月 5 日
A crude/ rough estimate
I = imread('binary2.jpg') ;
[y,x] = find(I<=180) ;
iwant = nnz(x) ;
imshow(I)
hold on
plot(x,y,'.r')
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!