I converted a binary image into a matrix. I need to extract the row and column indices of elements with the value 1. Basically, getting the coordinates of each pixel consisted in a white object.

How do I do this in MATLAB/Octave?

I've attached an image for reference. Again, I need to find the coordinates of all the points in the circle.

More Vivaswan Chandrashekar's questions See All
Similar questions and discussions