Skip to content

normalization by sample

You can apply a normalization to each frame line based on a sample of the frame. It will compute the mean or the median of each line of this sample area, and subtract for each line of the frame the mean or median of the corresponding line of the sample.

configuration

For example, by adding the following lines to the stitching configuration file we will request this normalization to be done.

[normalization_by_sample]
# section dedicated to normalization by a sample. If activated each frame can be normalized by a sample of the frame
# should we apply frame normalization by a sample or not
active = True
side = right
# possible margin before sampling start
margin = 0
# sampling width
width = 50
method = median

Here is a drawing of the terminology used - the sample area to use is in red:

normalization by sample vocabulary