Hi, i want to know dt how to get 0's and 1's from a binary image?
Show older comments
Suppose i have a binary image and i wnt to select dt area whose binary values are 0's and 1's.
2 Comments
Youssef Khmou
on 31 Mar 2014
the question is not clear, binary image is all (0,1) whats is the difference of the area dt?
Ankur Singh
on 31 Mar 2014
do u want to know no. of white and black pixel??
if yes,first read the binary image using imread and then u can write a logic to count 0's and 1's
Accepted Answer
More Answers (0)
Categories
Find more on Images in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!