Stray Light Standards and Recommendations

Page Contents

This page enumerates the settings required to obtain metrics named in standards and Imatest's recommendations.

Recommendations

Imatest offers two recommendations:

There are two measurements with IEEE Std 2020-2024 [1]:

Syntax

Items in fixed-width font indicate settings that are determined from the test setup.

Calculation Settings

 Standard/RecommendationNotes

Imatest Recommended

New User

Imatest Recommended

Advanced User

IEEE Std 2020-2024

Flare Intensity ([1] §2.8.1)

IEEE Std 2020-2024

Normalized Flare ([1] §2.8.3)

Standard/Recommendation NotesThese 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 TypeTransmissionTransmissionTransmissionTransmissionNote: the prerelease version of IEEE-2020 [2], used Attenuation for the flare attenuation metric.
Data TransformLinear (None)Linear (None)dB (Voltage)Linear (None) 
Dark Level0Set based on camera noise00IEEE Std 2020-2024 [1] does not specify subtracting off a dark level.
Clip To OneDisableDisableEnableDisableClip To One performs  IEEE Std 2020-2024 [1] eq 2-6.
Analysis Channel(s)AutomaticEach ChannelLuminanceLuminanceIEEE Std 2020-2024 [1] §2.7.1 does not specify which luminance weights to use. IEEE Std 2020-2024 [1] §1.7.6 recommends using the weights of the color space, if given, otherwise to use ITU-R BT.709-6 (sRGB) weights.
Normalization TypeNoneDirect Reference ImageLambertian Reference ImageDirect Reference ImageNormalization types other than none require other settings. See the additional settings for Direct Reference Image and Lambertian Reference Image below. 
Test Image Mask TypeNoneImage Processing + Circle (Radius)

Image Processing or

Image Processing + Circle (Radius)

Image Processing or

Image Processing + Circle (Radius)

IEEE Std 2020-2024 [1] provides three methods for creating the mask: 

Test Image Masking requires additional settings for types other than None. See below.

Crop LRTB0, 0, 0, 0Set to exclude any non-imaging rows/columnsSet to exclude any non-imaging rows/columnsSet to exclude any non-imaging rows/columnsIEEE Std 2020-2024 [1] does not mention the cropping of non-imaging pixels, however, this is recommended.
Percentile Ranksuse defaultSet values as desiredSet values as desiredSet values as desiredIEEE Std 2020-2024 [1] does not mention percentiles as summary metrics.
Level Count Thresholdsuse defaultSet values as desiredSet values as desiredSet values as desiredIEEE Std 2020-2024 [1] does not mention count-based summary metrics.
Level Count Calculation% Of Pixels% Of Pixels% Of Pixels% Of PixelsIEEE Std 2020-2024 [1] does not mention count-based summary metrics.

Normalization Settings

Direct Reference Image Normalization Settings
 Standard/RecommendationNotes
 

Imatest Recommended

Advanced User

IEEE Std 2020-2024

Normalized Flare

 
Image FilenameSelect the reference imageSelect the reference image 
Normalization AggregationMedianMedian 
Integration Time RatioSet based on the test setupSet based on the test setup 
Gain RatioSet based on the test setupSet based on the test setup 
Light Level RatioSet based on the test setupSet based on the test setup 
ND Measurement TypeSet based on the test setupSet based on the test setup 
ND Density ValueSet based on the test setupSet based on the test setupThis setting is displayed in the GUI when the ND Measurement Type is Density.
ND Transmission ValueSet based on the test setupSet based on the test setupThis setting is displayed in the GUI when the ND Measurement Type is Transmission.
Reference Image Mask OptionsImage Processing IEEE Std 2020-2024 [1] does not specify separate settings for reference and test images. Use the test image masking settings.
Reference Image Level Threshold TypeOtsu's Method IEEE Std 2020-2024 [1] does not specify separate settings for reference and test images. Use the test image masking settings.
Reference Image Mask Area Threshold1 IEEE Std 2020-2024 [1] does not specify separate settings for reference and test images. Use the test image masking settings.
Lambertian Reference Image Normalization Settings
 Standard/RecommendationNotes
 

IEEE Std 2020-2024

Flare Intensity

 
Image FilenameSelect the reference image 
Normalization AggregationMean IEEE Std 2020-2024 [1] specifies to use an average in the symbols of equation 2-5.
Integration Time RatioSet based on the test setup 
Gain RatioSet based on the test setup 
Light Measurement TypeSet based on the test setup 
Radiance From Lambertian DiffuserSet based on the test setup 
Irradiance at the Camera LocationSet based on the test setup 
Luminance From Lambertian DiffuserSet based on the test setup 
Illuminance at the Camera LocationSet based on the test setup 
Reference Image Mask Options IEEE Std 2020-2024 [1] does not specify separate settings for reference and test images. Use the test image masking settings.
Reference Image Level Threshold Type IEEE Std 2020-2024 [1] does not specify separate settings for reference and test images. Use the test image masking settings.
Reference Image Mask Area Threshold IEEE Std 2020-2024 [1] does not specify separate settings for reference and test images. Use the test image masking settings.

Test Image Mask Settings

 Standard/RecommendationNotes

Imatest Recommended

New User

Imatest Recommended

Advanced User

IEEE Std 2020-2024

Flare Intensity

IEEE Std 2020-2024

Normalized Flare

Radius TypeN/A

User-Specified

Focal Length Ratio

Focal Length Ratio 
Mask RadiusN/ASet via measurement of the on-axis image.

N/A

N/A 
Camera Pixel Pitch
N/AN/ASet to the pixel pitch in μm of the device under test.Set to the pixel pitch in μm of the device under test.This is part of IEEE Std 2020-2024 [1] eq 2-4.
Camera Focal LengthN/AN/ASet to the focal length in mm of the device under test.Set to the focal length in mm of the device under test.This is part of IEEE Std 2020-2024 [1] eq 2-4.
Source Focal LengthN/AN/ASet to the focal length in mm of the light source.Set to the focal length in mm of the light source.This is part of IEEE Std 2020-2024 [1] eq 2-4.
Source DiameterN/AN/ASet to the diameter of the light source in mm.Set to the diameter of the light source in mm.This is part of IEEE Std 2020-2024 [1] eq 2-4.
Level Threshold TypeN/APercent Of MaxPercent Of MaxPercent Of Max 
Level Threshold %N/A959595See IEEE Std 2020-2024 [1] §2.7.2.1. The 95% threshold is allowed to be tuned.
Minimum Source LevelN/ASet to a value slightly less than the level of the direct image of the source in the image.Set to a value slightly less than the level of the direct image of the source in the image.Set to a value slightly less than the level of the direct image of the source in the image.Although not explicitly part of IEEE Std 2020-2024 [1] §2.7.2.1, the first paragraph of that clause assumes the source's image is in the FOV. Setting this value helps validate that assumption.
Image Close Radius
N/A5Set as needed to fill in holes in the mask.Set as needed to fill in holes in the mask.In IEEE Std 2020-2024 [1] §2.7.2.1, it says to perform a closing, but does not specify a radius.
Mask Area ThresholdN/ASet to a value slightly larger than the pixel area of the well-exposed source.00

This helps filter out saturated ghost images smaller than the direct image.

IEEE Std 2020-2024 [1] §2.7.2.1 does not specify a mask area threshold. 

Unsupported Parts of Standards

IEEE Std 2020-2024  [1]

The analysis software does not support:

References

[1] IEEE Std 2020:2024 "IEEE Standard for Automotive System Image Quality" https://standards.ieee.org/ieee/2020/6765/

[2] IEEE P2020/D3 - "IEEE Draft Standard for Automotive System Image Quality" https://ieeexplore.ieee.org/document/9969530