Background
Stray light artifacts, particularly colorful “rainbow” ghosting effects, can severely degrade the user experience in near-eye displays and advanced imaging systems. However, “bad” stray light is notoriously difficult to quantify.
The Challenge
Engineering teams were relying on subjective visual inspection to evaluate stray light. One engineer might score a lens a “fail” while another scored it a “pass”. The lack of objective, repeatable metrics meant that it was impossible to track design improvements or set clear manufacturing tolerances.
The Approach
We developed a custom image-processing framework to turn subjective perception into objective data:
- Image Segmentation: We implemented algorithms to isolate specific stray light artifacts from the background image data.
- Morphological Analysis: We analyzed the shape, size, and intensity distribution of the isolated artifacts.
- Perceptual Weighting: Crucially, we applied weighting functions that penalized artifacts based on their location in the field of view and their color contrast against the background, mimicking human visual perception.
- Automated Reporting: We built tools to automatically generate standardized reports for every tested lens.
The Outcome
The framework replaced subjective arguments with objective data. Engineering teams could now directly compare the stray light performance of different optical designs, and manufacturing teams had clear, repeatable metrics to establish pass/fail criteria.