Get world coordinates from screen coordinates
Hey there,
I am working on a program that requires knowledge of depth information of a particular point on the screen. Currently, I want to get this point through a mouse click on the screen. Because I am not accounting for the distortion and my point in world coordinates is wrong. Is there a method to undo this distortion, so that when I click on the screen I am able to recover the mouse click in coordinates of the undistored image.
Thank a lot!
I am working on a program that requires knowledge of depth information of a particular point on the screen. Currently, I want to get this point through a mouse click on the screen. Because I am not accounting for the distortion and my point in world coordinates is wrong. Is there a method to undo this distortion, so that when I click on the screen I am able to recover the mouse click in coordinates of the undistored image.
Thank a lot!
