Stray Light (Flare) Documentation

Stray Light Test Overview

Current Documentation

All documentation versions


Stray light (flare) documentation pages

Introduction: Intro to stray light testing and normalized stray lightOutputs from Imatest stray light analysis | History

Background: Examples of stray lightRoot Causes | Test overview | Test factors | Test ConsiderationsGlossary

Calculations: Metric image | Normalization methodsLight source mask methods | Summary Metrics | Analysis Channels | Saturation

Instructions: High-level Imatest analysis instructions (Master and IT) | Computing normalized stray light with Imatest | Motorized Gimbal instructions

Settings: Settings list and INI keys/values | Standards and Recommendations | Configuration file input

Page Contents

This page provides a high-level overview of a stray light test.

Test Overview

Equipment

  • A black room (darker and larger are better for improved test hygiene)
  • A small light source
  • Camera mounting equipment
  • Rotation equipment (could be for either the light source or the camera)
  • Light-level measurement equipment
  • (Optional) optics to adjust the optical properties of the light source
    • This may include neutral density filters, collimating optics, diffusing filters, etc.
  • (Optional) alignment equipment
  • (Optional) baffling

Setup

The basic stray light test setup uses a small bright light source in a black room. The camera (or light source) is mounted on a rotation stage to build up coverage. Optionally, baffling is placed between the light source and the camera.

Sample schematic of a test setup

Test Methodology

Initial Setup

  • Start with a dark (black room) — any source of light will be noise to this test
  • Setup the light source and 
  • Align the light to the DUT fixturing

Test Preparation

  • Determine the test plan needed for the camera
    • Light source
      • Level
      • Spectra
    • Rotation
      • Field angle limits
      • Field angle delta
      • Azimuth angle limits
      • Azimuth angle delta
    • Normalization method and configuration
    • Camera settings
      • Mode(s)
      • Gain state
      • Integration time
  • Integrate capture into the sample script
  • Adjust the parameters of the sample script

Test Execution

  • Setup for collection of the normalization data
  • Collect the normalization data
  • Setup for collection of the analysis data
  • Collect the analysis data (this is done by running a capture script)
  • Perform the analysis

Analysis

  • Compute the normalization factor
  • For each analysis image
    • Identify if the direct image of the light source is present in the image
    • If the light source is in the image, produce a mask of the direct image of the light source
    • Compute the stray light metric image
    • Compute any summary metrics
  • Compute any meta-analysis (e.g., plots over field angle)

 

Understanding the Test

Thought Experiment

Assume you have an infinitely large, infinitely black room.

Question 1: If you take a picture in this room, what do you expect?

Answer: In an ideal world, all pixels will be black (0 digital numbers). In reality, you will get small values above 0 (dark noise).

The expectation of taking a picture of a small bright light in a dark room is a dark image with a small bright area in it. That small bright area (the image of the light source is the designed optical path. This is NOT stray light, but rather the designed optical path. For this reason, the image of the light source should be masked out for stray light analysis. 

Question 2: If you take a picture with a small, bright light source what do you expect?

Answer: Most of the image is still black, however, there is a small, bright response in the image corresponding to the light source.

Under the assumption that the background of the image is entirely zero, any values in the image above zero and outside the direct image of the light source are stray light. Note in practice, other factors (e.g., dark noise, blur) may be counted as stray light from this test.

Question 3: If the light source is out of the FOV, does you answer change?

Answer: If the light source is out of the field of view, I expect the same behavior as the first part of the thought experiment: all of the pixels are black.

If the light source is out of the FOV, we expect all zero responses, however, stray light may be measurable when the source is out of the FOV. Testing coverage should include samples from both inside and outside the FOV.

Question 4: If I change the level (e.g., lux, radiance, etc.) of the light source, what do you expect?

Answer: With the light source in the FOV, increasing the level increases the image response to the source.

The level of the light source in the image is expected to be proportional to the level of the light source in the scene. To get more reproducible results, the test may normalize the level of the source.