Reliability of visual performance measurement under optical degradation