SwisTrack/Components/ConvertToGray

From Wikibooks, open books for an open world
< SwisTrack | Components
Jump to: navigation, search

Contents

[edit] 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.

[edit] Input

SwisTrack ColorImage.jpg

A grayscale or a color image.

[edit] Output

SwisTrack GrayImage.jpg

A grayscale image.

[edit] Parameters

[edit] 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.

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export