How do I separate the white pixel data from binary image?
Show older comments
Basically, I applied thresholding using Otsu's method and it gave me the below image.
I want to separate the white pixel data from this binary image and convert it back to the rgb image for further use.
How do I separate the white pixels?

3 Comments
Image Analyst
on 23 Jul 2019
I have absolutely no idea what that means. What does separate from the binary image mean? Do you just want a new, 1-D array of "true" values (a logical vector) that is as long as the number of white pixels in your image? That's useless.
Please re-word in a better way, preferably using your original image, and desired output image.
Ritwik Dhar
on 24 Jul 2019
mohd akmal masud
on 30 Jul 2019
i think the question is how to calculate the no of pixel of white? if im not wrong
Accepted Answer
More Answers (0)
Categories
Find more on Hamamatsu Hardware 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!