I\'m atttempting to find the non-zero (x,y) coordinates of a binary image.
I\'ve found a few references to the function countNonZero() which only count
countNonZero()
you can find it without using findNonZero() this opencv method. rather u can get it by simply using 2 for loops. here is the snippet. hope it can help u.
**
for(int i = 0 ;i