Last modified on 3 September 2007, at 08:12

SwisTrack/Components/ConvertToGray

DescriptionEdit

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.

InputEdit

SwisTrack ColorImage.jpg

A grayscale or a color image.

OutputEdit

SwisTrack GrayImage.jpg

A grayscale image.

ParametersEdit

ChannelEdit

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.