IC Imaging Control ActiveX

ICImagingControl.DeBayerStartPattern Property

ICImagingControl.DeBayerStartPattern Property

This property controls how the automatic de-bayering of BY8 image data should treat the pixel data.
Syntax:
Public DeBayerStartPattern As DeBayerStartPatterns
Remarks:

You have to select the value that matches the layout of the camera's mosaic filter in front of the CCD. In general, this has to be found out by trial and error, because this information may be hard to find in the camera's documentation.

Information:

Introduced in IC Imaging Control 3.0

Example:

The following code fragment shows how to open a bayer camera, set the bayer video format BY8 and set the parameters for automatic de-bayering:

ICImagingControl1.Device = "DBK 31BF03"
ICImagingControl1.VideoFormat = "BY8 (1024x768)"
ICImagingControl1.DeBayerStartPattern = DEBAYERPATTERN_GB
ICImagingControl1.DeBayerMode = DEBAYER_EDGESENSING

ICImagingControl1.LiveStart
See also: ICImagingControl, DeBayerStartPatterns, DeBayerModes, Debayering

<< ICImagingControl

Get in touch with us


About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us