Finally, using the linear estimates of , and as a starting point one can solve for all the parameters, including the radial lens distortion parameter which was initialized to 0, by minimizing the image distance
where are the observed image points and are the positions predicted by the Tsai model. The nonlinear optimization (over all the parameters) can be carried out by an iterative numerical technique like the Levenberg-Marquardt method.