Dark and White References
This page explains dark and white references and how they are used in Breeze.
About references
A digital hyperspectral image from a camera by itself in “raw” format is not suited for data analysis because it does not take into account the illumination of the scene nor the sensor baseline. If images are captured in varying conditions the same object will still not look the same.
To normalize images and make them comparable, Breeze uses dark references and white references, stored with the image measurement. The dark and white references are themselves images, captured to cover the full field of view of the camera:
The Dark reference is typically captured with a closed camera shutter, and thus is essentially a dark image with low values. It is used to remove sensor noise/baseline offset.
The White reference is typically captured of a plate of white or light gray material, and results in a light image with high values. It is used to take illumination and sensor sensitivity into account.
Together, they reference images are used to convert the raw signals from the image into true Reflectance, which is well suited for for data analysis.
Learn more how references are applied to measurements mathematically in Spectral imaging
Using the different spectral modes in Breeze
Measurements in Breeze can be converted automatically in the workflow between Radiance, Reflectance, Absorbance using the recorded references as described in Changing spectra.
In Breeze, you can view spectra in different representations — Raw, Radiance, Reflectance, or Absorbance — directly within Pixel Explore. Spectra can be stored and later compared side-by-side in the Spectrum Plot for easy analysis.
References in Breeze
The default option for Breeze is to take dark and white references in Recorder before taking measurements. After the recording, another dark reference is captured.
You can also take references manually in Settings > References, which is also where you can view the reference to gauge its quality and manage the current references and settings (see below).
If your hardware camera requires manual placing of references in front of the camera, Breeze shows a wizard to guide you which is described in the next section.
Regardless how references are taken, they are stored together with the captured measurements on disk.

Taking references: Breeze Reference taking wizard
Taking references typically involves manually placing a white reference plate/material in front of the camera, completely covering the field of view. Breeze has a built-in wizard that guides you through the steps when manual interaction is needed.

Starting in Breeze 2025.1 Breeze analyzes the quality of the white reference when it is taken and prompts you if there are any issues that could lead to measurements with bad quality:

Click View to see information about the references. Then make corrections such as repositioning the white reference plate, or shortening the integration time if there are saturated pixels, and then click re-take the reference. You can also ignore the warning and continue using the reference.
Learn about the checks made by Breeze at the end of this page.
If you have hardware that always has saturated pixels and don’t want to use this verification, you can turn it off in Settings.
Inspecting references
The references for a measurement can be inspected on the References tab of the measurement, from Settings > References or when reference quality verification checks finds an issue with the reference as described previously.
The information about the black- and white references looks like this:

The plots show the average values for each wavelength for the white- and black reference.
The reference images are displayed using a scale going from black to white, where white represents higher values / more bright pixels. If pixels are fully saturated (having the max value), those are highlighted in red.
Warnings for saturated pixels and other problems with the white reference are displayed. The number shows the total number pixels that are oversaturated in at least one wavelength.
Some tips what to look for:
A white reference should be a uniform image the whole field of view. There should be no saturated pixels.
A black reference should be an essentially black image. Here it is expected that there are vertical bands, because each pixel in the sensor will result in the same data for all rows, since they are identical (shutter closed or lens manually covered).
Editing references
For a captured measurement you can view the references on the References tab. This page visualizes the current references as described above.
The page also has buttons for
Importing a new reference,
copying the reference to be the current reference used by the camera, replace the potentially large reference with
reference average,
extract a white reference from (part of) the measurement.
specify a calibrated reflectance target to adjust for when the reference is gray instead of white. See the next section.
Using a calibrated reflectance targets for gray white references
When you use a uniformly gray white reference, instead of a white reference, you need to make Breeze aware of this using a calibrated reflectance target so that Breeze can calculate the right reflectance for measurements.
This target either is a file with values for each wavelength, or a uniform value that applies to all wavelengths. For example for a gray target the value could be 50% or 75% for a lighter shade of gray.
You can specify this for an individual measurement on the References tab using the Reflectance taget button at the bottom which shows a dialog where you import a file for each wavelength or set a scalar value that applies to all wavelengths.
You can also import the garget from the Settings / References page.
Managing References
References are managed on the References tab in Settings.
Change the capture mode between:
Capture new - the default - always take a new reference when recording a measurement.
Use stored - cache and re-use taken references for subsequent recordings as long as the reference is recent as defined on the page. This is a good option to use in industrial applications and when illumination and other environment factors don’t change within the specified cache time. Learn more about this in Store White and Dark reference.
Disabled - do not take a reference or use it. Not recommended unless the hardware has no support for references. A dark reference should never be disabled, because it typically is very quick and easy to take using the built-in shutter of the camera.

The page also has Take-buttons to capture a new reference, and a button to View information about the current references..
You specify the height of the reference by specifying the number of frames to capture. Use a reasonable number, but not too large as it results larger disk requirements.
The cache management buttons are used to clear the current references, view them, and to import from file, in the rare case where you cannot capture a new reference easily.
Notes:
References are captured per camera. If there are more then one connected all cameras share the same settings.
Some Sample movers can automatically move the tray to take the references because the sample mover have settings in Breeze that specifies the position of the white reference on the tray/table..
RGB cameras use max/min signal from the senser as references, i.e. a physical reference plate is not used for those.
Reference quality verification
Breeze verifies the reference quality in two places: in desktop Breeze when it captures a reference, and in the Runtime.
The screenshot above in the section ‘Taking references’ shows the warning Breeze displays when it detects a white reference of poor quality.
It is important to rectify any warnings and re-take the reference to ensure high and consistent quality of recordings in Breeze.
Runtime reference verification
The Breeze Runtime, independent of desktop Breeze, also analyzes the quality of the reference, and return any errors to third party applications which then can prompt the user to retake the reference until the quality is good.
This check is disabled by default, but can be enabled in Settings, if you in a third-party application want the Runtime itself return errors for poor reference quality. Desktop Breeze performs independent quality checks as described above, and does not use this setting.
Quality rules
Desktop Breeze and the Runtime verification checks use the same settings to determine what is a good or bad white reference. They use settings from the Reference page under Advanced:

The settings are:
Edge percent - the fraction of the white reference’s width that should be ignored at the left and right sides of the image. A value of 0.1 means that 10% of the pixels are ignored at the left side and 10% are ignored at the right side. This setting is useful when reference doesn’t cover the whole width of the image.
Dark max signal - the maximum fraction of the expected signal for a dark reference. When the value is larger it triggers a warning. This setting can be used to catch incomplete cover of the lens, for example when there is no automatic shutter and the shutter was covered manually.
White min signal - the expected minimal fraction of the white references signal. If values are lower this indicates a too dark reference and triggers a warning.
White max signal - the maximum fraction allowed for the white reference signal. If values are greater, the value is considered saturated which is an error.
White pixel variation - how much pixels in a line are allowed to vary measured as the standard error. If the variation is larger a warning is triggered.
Max line variation - how much different lines in the reference image are allowed to vary measured as the standard error. If the variation is larger a warning is triggered.
Other advanced settings
Under Advanced (picture above) there are also these settings for references:
Require retaking references when integration time has changed. This setting ensures the reference and recorded images are comparable by requiring the same illumination in both.
Store references as average values and images, to optimize disk usage. Learn more inReference averaging.
Continuously update white reference based on the dark reference