Extract an x,y point to be used in a plot

asked 2018-03-19 13:03:59 -0500

wandCoz gravatar image

I have a picture of a piece of paper. I can find some points of interest on the page. I know the size of the page in real life. I know the distance of each point the the centre point (in real world distance)

From these identified points I want to display them on a scatter plot .I will collect these points from a few images. Basically what I need to do is take the points and be able to get an x y value for them that I can use To plot.

I'm struggling for ideas on how to do this? Could some one assist with ideas on how this could be done ?

edit retag flag offensive close merge delete

Comments

So here's what I've decided to do. On my scatter plot I set the y axis max to mat.rows/2 and the min to max *=-1.

Then for each point I can calculate an x y based on if it's in the tl,tr,bl,br sub square. Ie if it's in the top left square I can give it a - value to reflect that

wandCoz gravatar imagewandCoz ( 2018-03-19 17:56:26 -0500 )edit