
4 Functionality
4.7
Gain and Offset
There are two different gain settings on the camera:
Gain (Digital Fine Gain)
Digital fine gain accepts fractional values from 0.01 up to 15.99. It is
implemented as a multiplication operation.
Digital Gain
Digital Gain is a coarse gain with the settings x1, x2, x4 and x8. It is implemented
as a binary shift of the image data where ’0’ is shifted to the LSB’s of the gray values. E.g.
for gain x2, the output value is shifted by 1 and bit 0 is set to ’0’.
The resulting gain is the product of the two gain values, which means that the image data is
multiplied in the camera by this factor.
Digital Fine Gain and Digital Gain may result in missing codes in the output im-
age data.
A user-defined value can be subtracted from the gray value in the digital offset block. If digital
gain is applied and if the brightness of the image is too big then the interesting part of the
output image might be saturated. By subtracting an offset from the input of the gain block it
is possible to avoid the saturation.
4.8
Grey Level Transformation (LUT)
Grey level transformation is remapping of the grey level values of an input image to new
values. The look-up table (LUT) is used to convert the greyscale value of each pixel in an image
into another grey value. It is typically used to implement a transfer curve for contrast
expansion. The camera performs a 12-to-8-bit mapping, so that 4096 input grey levels can be
mapped to 256 output grey levels. The use of the three available modes is explained in the
next sections.
The output grey level resolution of the look-up table (independent of gain,
gamma or user-definded mode) is always 8 bit.
There are 2 predefined functions, which generate a look-up table and transfer it
to the camera. For other transfer functions the user can define his own LUT file.
Some commonly used transfer curves are shown in Fig. 4.37. Line
a
denotes a negative or
inverse transformation, line
b
enhances the image contrast between grey values x0 and x1. Line
c
shows brightness thresholding and the result is an image with only black and white grey
levels. and line
d
applies a gamma correction (see also Section 4.8.2).
4.8.1
Gain
The ’Gain’ mode performs a digital, linear amplification with clamping (see Fig. 4.38). It is
configurable in the range from 1.0 to 4.0 (e.g. 1.234).
50 of 109
MAN064 02/2020 V1.1
Содержание MV1-D1024E
Страница 1: ...Photonfocus MV1 D1024E Camera Series CMOS camera with Camera Link interface MAN064 02 2020 V1 1...
Страница 6: ...CONTENTS 6 of 109 MAN064 02 2020 V1 1...
Страница 10: ...1 Preface 10 of 109 MAN064 02 2020 V1 1...
Страница 14: ...2 How to get started CameraLink Figure 2 4 PFRemote start window 14 of 109 MAN064 02 2020 V1 1...
Страница 68: ...5 Precautions 68 of 109 MAN064 02 2020 V1 1...
Страница 94: ...8 Graphical User Interface GUI 94 of 109 MAN064 02 2020 V1 1...
Страница 104: ...12 References 104 of 109 MAN064 02 2020 V1 1...
Страница 108: ...A Pinouts 108 of 109 MAN064 02 2020 V1 1...