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 describes the analysis channel options.

Channel Groups

Channel groups describe which groups of channels to analyze.

Name# Input ChannelsDescription Additional Settings
AutomaticAnyAutomatically choose what analysis channels to use based on the provided image(s).
  • If input data has 1 channel → Monochrome
  • Otherwise → Each Channel
0None
Each ChannelAnyAnalyze each input channel1None
RGB3Analyze each of the three provided channels as red, green, blue.2RGB Order
Monochrome1Analyze the single provided channel as monochrome.3None
StatisticsAnyAnalyze a statistic (mean, median) of all provided channels.4Statistics Method
Luminance3Analyze the luminance channel.5RGB Order, Luminance Weights
RGB + Luminance3Analyze the three (red, green, blue) channels and the computed luminance channel.6RGB Order, Luminance Weights
Single ChannelAnyAnalyze a single image channel as specified by the 1-based channel index7Channel Index

Additional Settings

Luminance Channels

The luminance channel is calculated by applying weights to each of the red, green, and blue channels:

\(\text{Luminance} = w_{red}\cdot \text{Red} + w_{green} \cdot \text{Green} + w_{blue} \cdot \text{Blue} \)

See the new settings section for the available luminance options.

Statistics Channels

Analyze a statistic of the channels in the image.

The following statistics are available:

NameINI ValueNotes
Mean0The mean of the provided channels.
Median1The median of the provided channels.

RGB Order

The RGB identifies how the red, green, and blue channels are ordered in the image.

Channel Index

The channel index is the one-based index of the channel.

For example, for RGB data, Red = 1, Green = 2, and Blue = 3.

Notes

Coloring and Data Labeling

The choice of analysis channels controls how the data are labeled and colored in plots and results.

Image/Settings Mismatches

Imatest will not run if there is a mismatch between the selected settings and the provided image (e.g., trying to analyze a monochrome image as RGB or Luminance, each of which requires three input channels).

Module Specific Notes

Stray Light Notes

Normalization Factor Analysis Channel

For Direct Reference Image and Lambertian Reference Image normalization, if the Channel Group is Luminance or RGB + Luminance, then the Luminance channel of the reference image is used. Otherwise, the Mean of the reference image is used.

Masking Analysis Channel

When producing a mask, if the Channel Group is Luminance or RGB + Luminance, then the Luminance channel of the image is used. Otherwise, the Mean of the image is used. This mask is then applied to each of the analysis channels.