主权项 |
1. A method for determining an optical axis vector of an eye in a three-axis coordinate system comprising X, Y and Z axes, comprising:
determining an ellipse equation defining an iris disc corresponding to the eye, on an XY plane of the three-axis coordinate system; deriving a set of equations based on the ellipse equation corresponding to a plurality of edge points of the iris disc in the three-axis coordinate system; and iteratively calculating an estimated iris diameter until a difference between the estimated iris diameter and a predetermined iris diameter is less than a threshold, comprising:
estimating a ray length from a spatial origin of the three-axis coordinate system to a first edge point of the plurality of edge points;solving the set of equations based on the estimated ray length to calculate a plurality of solutions;calculating the estimated iris diameter based on the solutions; andcalculating an optical axis vector of the eye in the three-axis coordinate system based on the solutions, wherein the solutions comprise a first solution and a second solution based on two sets of the edge points, respectively, and wherein calculating the optical axis vector comprises:
calculating a first optical axis vector based on the first solution,calculating a second optical axis vector based on the second solution; andgenerating a composite optical axis vector based on the first optical axis vector and the second optical axis vector. |