JCNeves 0 Posted October 18, 2014 Hello guys, How can know the pan and tilt angle necessary to center a PTZ camera in a specific pixel in the image? For example, consider that the center of the image provided by the PTZ camera has the coordinates (0,0). My question is how to determine the pan and tilt angle that I have to rotate the camera to center the camera in the pixel (30,40) ( it is an example). I am almost sure that the mapping forrmula will require the horizontal angle of view and image resolution, in my case 58,9º and 1080x1920 Thank you for your help Share this post Link to post Share on other sites
Numb-nuts 1 Posted October 20, 2014 Not really clear what you are trying to achieve here but... You need a good pair of glasses and a magnifying glass I think. Share this post Link to post Share on other sites
JCNeves 0 Posted October 20, 2014 Not really clear what you are trying to achieve here but...You need a good pair of glasses and a magnifying glass I think. For example, imagine that you have an image of a scene with a 1080x1920 resolution. And imagine also that it is something interesting on the lower right corner, i.e, pixel (1080,1920). Considering that the pixel (540,960) is the center of the image, I need to know much do I have to rotate (the pan and the tilt) the PTZ camera so that the new image is centered in that point. Thank you in advance Share this post Link to post Share on other sites