finding white pixel regions
Show older comments
I have an image,i want to split that image vertically and find which side has more white pixels,my image is binary type
Accepted Answer
More Answers (1)
Andrew
on 24 Jan 2012
0 votes
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
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!