JAI M4+ CL Color versions CV-M7+and CV-M7+CL, Color coding from a Primary RGB CCD Bayer filter

Page 11

CV-M4+/M4+CL, CV-M7+/M7+CL

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.

G B G B G

Bul

 

 

 

Bur

 

Rul

 

 

Rur

 

Gu

R G R G R

 

 

b

 

 

 

 

r

 

Gle

g Gr

G B G B G

Bll

 

 

 

Blr

 

Rll

 

 

Rlr

 

Gl

 

 

 

 

 

b=1/4(B

ur

+B +B +B )

r=1/4(R

+R +R +R ) g=1/4(Gu+Gr+Gl+Gle)

R

G

R

G

R

 

 

 

ul ll

lr

 

ur

ul

ll

lr

 

 

 

 

 

 

 

 

 

 

 

 

 

G

B

G

B

G

Bu

 

 

 

 

 

Ru

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R

G

R

G

R

b

b=1/2(Bu+Bl)

r

r=1/2(Ru+Rl)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bl

 

 

 

 

 

Rl

 

 

 

 

 

 

 

 

 

 

Bl

 

b

Br

 

Rr

 

r

Rl

 

 

 

 

 

 

 

b=1/2(Br+Bl)

 

r=1/2(Rr+Rl)

 

 

Fig. 14. Color coding from a Primary RGB CCD (Bayer filter)

FVAL

LVAL

 

3

LVAL 7ck

G

R

G

R

G

R

B

G

B

G

B

G

G

R

G

R

G

R

B

G

B

G

B

G

Fig. 14 a. Bayer color sequence and position for CV-M7+ and CV-M7+CL

- 10 -

Image 11
Contents CV-M4+/M4+CL CV-M7+/M7+CL CV-M4+/M4+CL, CV-M7+/M7+CL Standard Composition Main FeaturesGeneral Locations Locations and FunctionsPin Assignment Pin Multi-connector DC-IN/RS232CDigital Output Connector for EIA-644 Lvds Dval and EEN Digital Output Connector for Camera LinkVideo signal, LEN, FEN Composite Sync output Input and Output CircuitsVideo output Trigger input Multi Shutter inputMUX Camera Link interfaceBasic functions CV-M4+Block DiagramFunctions and Operations Binning Color coding from a Primary RGB CCD Bayer filter Color versions CV-M7+and CV-M7+CLRestart Continuous Trigger mode. RCT Output of Timing SignalsPolarity and other functions Continuous Operation Non triggeredVertical timing details, full frame Vertical timing details with 1/2 partial scanning Accumulation latency time for H a-synchronous trigger External Trigger ModesImportant notes on using this mode Edge Pre-select ModeEdge Pre-select, smearless Pulse Width Pulse Width Control ModeFrame Delay Frame-delay read out ModeMultiple exposure, normal and smearless Frame-delay read out Mode with multiple exposureGain and set-up Other FunctionsInternal Switch and Jumper Settings Configuring the CameraMode setting SW1 on rear Mode setting SW301 insideRS-232C control Timing and shutter related commands CV-M4+command listCamera Control Tool for CV-M4+ Spectral sensitivity External Appearance and DimensionsSpecifications Specifications Specification tableAppendix PrecautionsTypical CCD Characteristics Camera Link test points Camera Link Test pointsUsers Record Users Mode Settings Users Modifications