Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

point position

Hello,

I am trying to figure out some best and fastet way for position of the point identification. See and image:

image description

There is point "S" and I need to know its x,y coordinates. Well, I have made some operations for results image:

image description

(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.

point position

Hello,

I am trying to figure out some best and fastet way for position of the point identification. See and image:

image description

There is point "S" and I need to know its x,y coordinates. Well, I have made some operations for results image:

image description

(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.