Jump to content

SwisTrack/Components/ConvertBayerToColor

From Wikibooks, open books for an open world

Description

[edit | edit source]

This component transforms an Bayer pattern image into a BGR image. More information on the Bayer pattern can be found on here.

Input

[edit | edit source]

A gray image containing a Bayer pattern.

Output

[edit | edit source]

A color image

Parameters

[edit | edit source]

Bayer pattern type

[edit | edit source]

Type of Bayer pattern: BG, GB, RG or GR. For more information, refer to the OpenCV documentation.