< SwisTrack < Components

Description

This component converts the input frame into a grayscale image. If the input frame is a grayscale image already, the image is left untouched. In all other cases, an appropriate conversion is applied.

Input

A grayscale or a color image.

Output

A grayscale image.

Parameters

Channel

All converts the image to grayscale using the OpenCV standard BGR-to-grayscale conversion.

If a channel is selected, only the selected channel is retained.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.