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!