![chromasens allPIXA pro Manual Download Page 32](http://html1.mh-extra.com/html/chromasens/allpixa-pro/allpixa-pro_manual_2605692032.webp)
Chromasens CD40127_R02 allPIXA_pro_User Manual.docx
32
For the calculation the following formulas can be used:
Mode Recording of black-reference line:
BRef(x) = VidRaw with black template or without illumination
Mode Recording of white reference line:
WRef(x) = VidRaw(x)
– BRef(x) with white template
Mode / Correction (white and black correction is activated)
VidSHCOut(x,y) = (VidRaw(x,y)
– BRef(x)) * VidMax
WRef(x)
This calculation is done separately for all color separations (RGB).
BRef
Black-Reference value for each pixel in the line
WRef
White-Reference value for each pixel in the line
VidRaw
Raw values for each pixel output by A/D-Converter
(x, y)
Number of pixels within the line or column
VidMax
Maximum brightness value
VidSHCOut(x,y)
Offset- and Shading corrected pixels of the image
Figure 18: Offset and shading correction
1.: Black-level correction
2.: Shading (flat-field) correction