The definition of a solid angle can be found in the Wiki.
From the Wiki, you may know a solid angle can be calculated from the following formula.
And the relationship between (θx,θy) and (θ,φ) is as shown in the following equation.
The variables in (Eq 1) are (θ,φ). We will convert them to (θx,θy) by the way of variable transformation.
Finally we can get the result as below.
(Eq. 2) can be used to calculate the solid angle from a specific pixel coordinate.
However, there is no analytical solution for this equation. We know that a numerical solution can be calculated.
In fact, our algorithm is not this method. When OpticStudio calculate the radiant intensity, a iteration method is used.
Theoretically, the result is the same. One of our users has verified this.