Equirectangular projection/IMG2EQUI

Input Parameters

Symbol Meaning Typical Range
lon Longitude of the view centre, will refer to the vertical -coordinate the centre pixel of the output image
lat Latitude of the view centre, will refer to the vertical -coordinate of centre pixel of the output image
Radius of the virtual sphere (any positive number )
HFOV Horizontal Field‑Of‑View (HFOV) camera property of the output image (degrees)
VFOV Vertical Field‑Of‑View (VFOV) camera property of the output image (degrees)
W, H Width, Height Width & height of the output image usually defined by the display sizes the output is produced for | width:height = 9:6
equirectImg Source equirectangular image (width Ew, height Eh) in general the ratio between Ew:Eh=2:1. The ratio is reasonable, because the range for has a span of degrees and the range of is . Ew = 2096 Eh = 1048