JAI CV-M7+ Security Camera User Manual


 
CV-M4
+
/M4
+
CL, CV-M7
+
/M7
+
CL
- 10 -
Color versions CV-M7
+
and CV-M7
+
CL
These color cameras are identical to the monochrome cameras. Only the CCD sensor is changed
to a RGB primary color type. Here the color mosaic lay out is shown in fig. 13. left. This lay out
is known as a Bayer filter. Based on the knowledge to this mosaic, a full RGB signal can be
constructed by some calculations in the host Pc as shown in the following example.
For the precise position of the R, G and B pixels in the mosaic, please refer to the table below.
The output signal from the CCD sensor is not a complete RGB signal. Green values are missing
where the blue and red pixels are placed. Blue values are missing where green and red pixels are
placed. Red values are missing where the green and blue pixels are placed.
To have a complete RGB signal, values for the missing pixels can be constructed based on values
of the adjacent pixels with the corresponding color.
From the color mosaic lay out it can be seen that signals from 3 adjacent lines are needed for
the calculation of some of the missing pixel values. It is why binning can not be used for M7+.
The values for the missing blue (b) and red (r) pixels are calculated in 3 different ways. Some
are based on adding the 4 diagonal placed pixels. The sum is then divided by 4. Other
calculations are done by adding the 2 values. The upper and lower (or the left and the right) are
added together, and the sum is divided by 2.
Missing green (g) pixels are all based on adding left + right + upper + lower and then divide the
sum by 4. Shown in fig. 14. right.
B
l
B
u
b
b=1/2(B
u
+B
l
)
R
l
R
u
r
r=1/2(R
u
+R
l
)
B
l
b B
r
b=1/2(Br+B
l
)
R
r
r R
l
r=1/2(Rr+R
l
)
B
ll
B
ul
b
B
lr
B
ur
b=1/4(B
ur
+B
ul
+B
ll
+B
lr
)
R
ll
R
ul
r
R
lr
R
ur
r=1/4(R
ur
+R
ul
+R
ll
+R
lr
)
G
le
g
G
u
G
l
G
r
g=1/4(G
u
+Gr+G
l
+G
le
)
R
R
R
G
B
G
B
B
G
G
G
G R
R
R
G
G
G
B
G
B
B
G
G R
R
R
G
G
G
B
l
B
u
b
b=1/2(B
u
+B
l
)
R
l
R
u
r
r=1/2(R
u
+R
l
)
B
l
b B
r
b=1/2(Br+B
l
)
R
r
r R
l
r=1/2(Rr+R
l
)
B
ll
B
ul
b
B
lr
B
ur
b=1/4(B
ur
+B
ul
+B
ll
+B
lr
)
R
ll
R
ul
r
R
lr
R
ur
r=1/4(R
ur
+R
ul
+R
ll
+R
lr
)
G
le
g
G
u
G
l
G
r
g=1/4(G
u
+Gr+G
l
+G
le
)
R
R
R
G
B
G
B
B
G
G
G
G R
R
R
G
G
G
B
G
B
B
G
G R
R
R
G
G
G
R
R
R
G
B
G
B
B
G
G
G
G R
R
R
G
G
G
B
G
B
B
G
G R
R
R
G
G
G
Fig. 14. Color coding from a Primary RGB CCD (Bayer filter)
G
G
R
B
7ck
LVAL
FVAL
3 LVAL
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
7ck
LVAL
FVAL
3 LVAL
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
G
G
R
B
Fig. 14 a. Bayer color sequence and position for CV-M7+ and CV-M7+CL