Calculation of pupil dilation features are based on rest pupil size.