![Photon Focus MV-D1024E-3D01-160 User Manual Download Page 39](http://html1.mh-extra.com/html/photon-focus/mv-d1024e-3d01-160/mv-d1024e-3d01-160_user-manual_1553520039.webp)
h o t
p i x e l
p
n
p
n - 1
p
n + 1
p
n
= p
n - 1
+ p
n + 1
2
Figure 4.27: Hot pixel interpolation
4.4.3
Gain Correction
The gain correction is based on a grey reference image, which is taken at uniform illumination
to give an image with a mid grey level.
Gain correction is not a trivial feature. The quality of the grey reference image
is crucial for proper gain correction.
Gain correction algorithm
After configuring the camera with a black and grey reference image, the camera is ready to
apply the gain correction:
1.
Determine the average value of the grey reference image.
2.
Subtract the offset correction matrix from the grey reference image.
3.
Divide the average value by the offset corrected grey reference image.
4.
Pixels that have a grey level bigger than a certain threshold are marked as hot pixels.
5.
Store the result in the camera as the gain correction matrix.
6.
During image acquisition, multiply the gain correction matrix from the offset-corrected
acquired image and interpolate the hot pixels (see Section 4.4.2).
:
7
1 0
9
7
9
7
8
7
9
4
3
2
3
4
1
1
9
6
8
4
6
1 0
1
3
4
g r e y r e f e r e n c e
p i c t u r e
a v e r a g e
o f g r e y
r e f e r e n c e
p i c t u r e
)
1
1 . 2
1
0 . 9 1
1 . 2
- 2
0 . 9 1
1
- 1
1
0 . 8
1
1
0
1 . 3
0 . 8
1
0
1
1
- 2 - 2 - 2
=
1
1
1
2
- 1
2
- 2
- 1 0
1
- 1
1
- 1
0
2
0
- 1
0
- 2
0
1
1
- 2 - 2 - 2
-
)
o f f s e t c o r r e c t i o n
m a t r i x
g a i n c o r r e c t i o n
m a t r i x
Figure 4.28: Gain Correction
Gain correction always needs an offset correction matrix, so the offset correction
has to be performed before the gain correction.
4.4 Image Correction
37
Summary of Contents for MV-D1024E-3D01-160
Page 1: ...User Manual MV D1024E 3D01 160 3D CMOS Camera MAN037 04 2009 V1 1...
Page 2: ......
Page 4: ...2...
Page 8: ...CONTENTS 6...
Page 20: ...3 Product Specification 18...
Page 57: ...5 2 CameraLink Data Interface 55...
Page 66: ...5 Hardware Interface 64...
Page 84: ...7 Graphical User Interface GUI 82...
Page 90: ...9 Warranty 88...
Page 92: ...10 References 90...
Page 96: ...A Pinouts 94...