point position
Hello,
I am trying to figure out some best and fastet way for position of the point identification. See and image:
There is point "S" and I need to know its x,y coordinates. Well, I have made some operations for results image:
(there is only demonstration, result image is not derived from source image in the figures)
I can say, that first non-black pixel from the bottom is close enough and I am fully satisfied with that.
And there is question. Is there some quick way in OpenCV for obtaining these coordinates? I have made a two for-cycles and manually going thru pixel-by-pixel, but I am not sure if there is something better.
Don't think so, you could some all rows and go from the lowest (last) index of this sum and take the first one larger 0, but I doub't that this is faster.