An optical surgical system with compensation for angular distortions, the system comprising:
- a plurality of light emitters disposed at a working end of a surgical instrument on a first surface;
- a plurality of light sensors disposed at the working end of the surgical instrument on a second surface opposing the first surface, the first and second surfaces disposed on a pair of non-parallel jaws with an angle (θ) between the first and second opposing surfaces;
- and
- a controller coupled to the plurality of light emitters and the plurality of light sensors, the controller configured to:
- model a non-pulsatile illumination pattern according to the intensities of individual emitters of the plurality of light emitters,
- compare the non-pulsatile illumination pattern according to the model against a non-pulsatile illumination pattern detected using the plurality of light sensors, and
- vary the intensities of the individual emitters of the plurality of light emitters based on the comparison of the non-pulsatile illumination pattern according to the model and the non-pulsatile illumination pattern detected using the plurality of light sensors until angular distortion has been removed.