I would like to retrieve the mean coordinates of pixels in a binary image/mat which are not 0. Is there an existing way of doing this in OpenCV?
Regards, Rupert
1 | initial version |
I would like to retrieve the mean coordinates of pixels in a binary image/mat which are not 0. Is there an existing way of doing this in OpenCV?
Regards, Rupert