Stray light (flare) documentation pages
Introduction: Intro to stray light testing and normalized stray light | Outputs from Imatest stray light analysis | History
Background: Examples of stray light | Root Causes | Test overview | Test factors | Test Considerations | Glossary
Calculations: Metric image | Normalization methods | Light 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 enumerates the settings required to obtain metrics named in standards and Imatest’s recommendations.
Syntax
Items in fixed-width font indicate settings that are determined from the test setup.
Items with a TBD (To Be Determined) indicate that the value has yet to be determined.
Items with a TBR (To Be Revised) indicate the current best practice, but this value has yet to be finalized.
Calculation Settings
Standard/Recommendation | Notes | ||||
Imatest Recommended New User |
Imatest Recommended Advanced User |
Flare Attenuation ([1] 2.8.1) |
Normalized Flare ([1] 2.8.3) |
||
Standard/Recommendation Notes | These settings are intended to help a new user get some results quickly. Results may not be comparable from sensor to sensor due to the lack of normalization. | These settings are what Imatest recommends for camera-to-camera comparable stray light flare measurement. | This is inspired by “Imatest Recommended Advanced User”. | ||
Calculation Type | Transmission | Transmission | Attenuation | Transmission | |
Data Transform | Linear (None) | Linear (None) | dB (Power) | Linear (None) | |
Dark Level | 0 | Set based on camera noise | 0 | 0 | IEEE Std 2020-2024 [1] does not specify subtracting off a dark level. |
Clip To One | Disable | Disable | Enable | Disable | The clip-to-one control is hidden in the settings GUI if the calculation type is transmission and the data transform is linear. |
Analysis Channel(s) | Automatic | Each Channel | Each Channel | Each Channel | IEEE Std 2020-2024 [1] does not specify which channel(s) to analyze. |
Normalization Type | None | Direct Reference Image | Lambertian Reference Image | Direct Reference Image | Normalization types other than none require other settings. See the additional settings for Direct Reference Image and Lambertian Reference Image below. |
Test Image Mask Type | None | Image Processing + Circle (Radius) | Image Processing + Circle (Radius) | Image Processing + Circle (Radius) |
IEEE Std 2020-2024 [1] provides a method for computing the size of the source mask but does not provide a method for localizing the mask. Test Image Masking requires additional settings for types other than None. See below. |
Crop LRTB | 0, 0, 0, 0 | Set to exclude any non-imaging rows/columns | Set to exclude any non-imaging rows/columns | Set to exclude any non-imaging rows/columns | IEEE Std 2020-2024 [1] does not mention the cropping of non-imaging pixels, however, this is recommended. |
Percentile Ranks | use default | Set values as desired | Set values as desired | Set values as desired | IEEE Std 2020-2024 [1] does not mention percentiles as summary metrics. |
Level Count Thresholds | use default | Set values as desired | Set values as desired | Set values as desired | IEEE Std 2020-2024 [1] does not mention count-based summary metrics. |
Level Count Calculation | % Of Pixels | % Of Pixels | % Of Pixels | % Of Pixels | IEEE Std 2020-2024 [1] does not mention count-based summary metrics. |
Normalization Settings
Direct Reference Image Normalization Settings
Standard/Recommendation | Notes | ||
Imatest Recommended Advanced User |
Normalized Flare |
||
Image Filename | Select the reference image | Select the reference image | |
Normalization Aggregation | Median | Median | |
Integration Time Ratio | Set based on the test setup | Set based on the test setup | |
Gain Ratio | Set based on the test setup | Set based on the test setup | |
Light Level Ratio | Set based on the test setup | Set based on the test setup | |
ND Measurement Type | Set based on the test setup | Set based on the test setup | |
ND Density Value | Set based on the test setup | Set based on the test setup | This setting is displayed in the GUI when the ND Measurement Type is Density. |
ND Transmission Value | Set based on the test setup | Set based on the test setup | This setting is displayed in the GUI when the ND Measurement Type is Transmission. |
Reference Image Mask Options | Image Processing | Image Processing | |
Reference Image Level Threshold Type | Otsu’s Method | Otsu’s Method | |
Reference Image Mask Area Threshold | 1 | 4 [TBR] |
Lambertian Reference Image Normalization Settings
Standard/Recommendation | Notes | |
Flare Attenuation |
||
Image Filename | Select the reference image | |
Normalization Aggregation | Mean | |
Integration Time Ratio | Set based on the test setup | |
Gain Ratio | Set based on the test setup | |
Light Measurement Type | Set based on the test setup | |
Radiance From Lambertian Diffuser | Set based on the test setup | This setting is displayed in the GUI when the Light Measurement Type is Radiometric. |
Irradiance at the Camera Location | Set based on the test setup | This setting is displayed in the GUI when the Light Measurement Type is Radiometric. |
Luminance From Lambertian Diffuser | Set based on the test setup | This setting is displayed in the GUI when the Light Measurement Type is Photometric. |
Illuminance at the Camera Location | Set based on the test setup | This setting is displayed in the GUI when the Light Measurement Type is Photometric. |
Reference Image Mask Options | Image Processing | |
Reference Image Level Threshold Type | Otsu’s Method | |
Reference Image Mask Area Threshold | 4 [TBR] |
Test Image Mask Settings
Standard/Recommendation | Notes | ||||
Imatest Recommended New User |
Imatest Recommended Advanced User |
Flare Attenuation |
Normalized Flare |
||
Mask Radius | N/A | Set via measurement of the on-axis image |
TBD |
TBD | |
Level Threshold Type | N/A | Percent Of Max | TBD | TBD | |
Level Threshold % | N/A | 95 | TBD | TBD | |
Minimum Source Level | N/A | Set to a value slightly less than the level of the direct image of the source in the image | TBD | TBD | |
Mask Area Threshold | N/A | 4 [TBR] | TBD | TBD |
Unsupported Parts of Standards
IEEE Std 2020-2024 [1]
As of Imatest 25.1, Imatest does not support the Mask creation from a geometric calibration model (clause 2.7.2.2)
References
[1] IEEE Std 2020:2024 “IEEE Standard for Automotive System Image Quality” https://standards.ieee.org/ieee/2020/6765/