Smartek UCC User Manual page 121

Twentynine camera family
Table of Contents

Advertisement

The third example, illustrated in Figure 91, shows the inverting of an 8 bit monochrome image by
a LUT. Every input gray level value is transformed into an output gray-level value by the formula
8
.
Value
= 2
− Value
out
in
255
240
225
210
195
180
165
150
135
120
105
90
75
60
45
30
15
0
0
The last example demonstrates two implementations of contrast enhancement, using a look-up table applied
to an 8-bit per channel color image. In Figure 92 the first 45 pixel values have been set to 0 and pixel values
in range from 173 to 255 have been set to 255.
255
240
225
210
195
180
165
150
135
120
105
90
75
60
45
30
15
0
0
15
30
45
60
75
90
105 120 135 150 165 180 195 210 225 240 255
index
Figure 91: Inverting a monochrome image using look-up table
15
30
45
60
75
90
105 120 135 150 165 180 195 210 225 240 255
index
Figure 92: Enhancing contrast of an image using look-up table
index value
0
255
1
254
2
253
...
...
126
129
127
128
128
127
...
...
253
2
254
1
255
0
index value
0
0
1
0
2
0
...
...
126
162
127
164
128
166
...
...
253
255
254
255
255
255
115
User Manual - twentynine
Input Image
Output Image
Input Image
Output Image
SMARTEK Vision | User Manual - twentynine | Doc. v1.0.2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gcc

Table of Contents