7.1.2 Average Luminance Calculation
The Average Luminance algorithm sums up all pixel values on each channel of an image and calculates the
average value by dividing the sum of pixel values by number of pixels on this channel:
For single channel images only one average value is calculated, while for raw/color images each channel
has its own value.
Calculating average values of an image is a fundamental operation in image processing and serves as a
basis calculation for algorithms like auto exposure and auto white balancing.
Average Luminance Calculation in the GigEVisionSDK
In the GigEVisionSDK the ImageProcAPI provides the programming interface to generate average luminance
data of an image. The bit depth and image type supported are shown in Table 81. For a detailed description
on how to use the average value calculation feature please refer to the GigEVisionSDK API Help located in
the doc folder of the GigEVisionSDK installation directory.
Supported image input
Table 81: Average luminance calculation - supported bit depth and image types
Averagevalue
Monochrome
Raw Bayer
Color RGB
7 Image Processing in GigEVisionSDK
Pixelvalue
channel
=
channel
Totalpixels
channel
Supported bit depth
8 bit per channel
164
16 bit per channel
SMARTEK Vision Giganetix User Manual Version 2.1.4
Need help?
Do you have a question about the Vision Giganetix GC Series and is the answer not in the manual?