Rgb To Grayscale Conversion - Smartek UCC User Manual

Twentynine camera family
Table of Contents

Advertisement

8.2.10 RGB to Grayscale Conversion

Color images often have to be converted to grayscale, providing input data for subsequent digital image
processing like edge detection filters, OCR etc. The RGB-to-grayscale conversion performs a reduction of
the RGB color data into a single channel luminance image.
Figure 117 shows an example of RGB-to-gray conversion. The image on the left represents the original
RGB color image. The output grayscale image on the right is the result of the conversion process.
Input color image
RGB-to-Gray Conversion in the CameraSuite SDK
In the CameraSuite SDK the ImageProcAPI provides the programming interface for executing the
RGB-to-gray conversion. The bit depths and image types supported are shown in Table 63. For a detailed
description on how to use this feature please refer to the CameraSuite API Help located in the doc folder of
the CameraSuite SDK installation directory.
Supported image input
Table 63: RGB to Gray conversion - supported bit depths and image types
Figure 117: Example of RGB-to-gray conversion
Monochrome
Raw Bayer
Color RGB
Output grayscale image
Supported bit depth
8 bit per channel
141
User Manual - twentynine
16 bit per channel
SMARTEK Vision | User Manual - twentynine | Doc. v1.0.2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gcc

Table of Contents