As you probably know the position in the flat image-pixel wise and not degree-wise you will need this conversion:
ath = (source-pixel-x / source-pixel-imagewidth - 0.5) * image-hfov
atv = (source-pixel-y / source-pixel-imageheight - 0.5) * image-vfov
This post has been edited 1 times, last edit by "s-maier" (Mar 29th 2023, 9:56pm)