finding white pixel regions
古いコメントを表示
I have an image,i want to split that image vertically and find which side has more white pixels,my image is binary type
採用された回答
その他の回答 (1 件)
Andrew
2012 年 1 月 24 日
0 投票
If your image is logical, then you could easily do this using the function "nnz", which gives you the number of non-zeros a matrix. Alternatively, you could just sum each side of the image if the "white pixels" are 1's.
Andrew
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!