I. Introduction
The pupillary light reflex (PLR) is a well-known mechanism of the eye’s light adaptation function and has been the subject of various optometric, ophthalmologic, and neuroscientific studies. It comprises constriction and dilation of the pupil to the full range of diameter sizes, which is typically 1.5–8 mm [1]. The dynamics of PLR have previously been modeled using both biological theory and empirical data [2]–[4] as seen in Fig. 1, PLR constriction and dilation are characterized by rapid decrease and increase in pupil size, respectively, followed by stabilization to a certain pupil size. This behavior allows the eye to quickly adjust the amount of retinal illumination necessary to restore optimal visual acuity [5].
Example trace of pupil diameter pd (solid blue) and pupil diameter velocity (dotted red) showing endpoints of constriction of PLR constriction ( to ) and dilation ( to ) marked in green (below). Selected video frames from low-cost eyewear with output pupil ellipses detected and fitted using the self-tuning algorithm (above). A property of the transient behavior of PLR constriction and dilations is a smooth increase and decrease to and from a point of maximum absolute pupil diameter velocity (Vmaxcon and Vmaxdil, respectively).