Back to Aurora Vision Studio website

You are here: Start » Filter Reference » OpenCV » Computational Photography » cvDecolor

cvDecolor


Module: OpenCV

Transforms a color image to a grayscale image. It is a basic tool in digital printing, stylized black-and-white photograph rendering, and in many single channel image processing applications.

Name Type Description
Input value inImage Image Input image
Output value outGrayscale Image
Output value outColorBoost Image

Requirements

For input inImage only pixel formats are supported: 3⨯uint8.

Read more about pixel formats in Image documentation.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not supported inImage pixel format in AvsFilter_cvDecolor. Supported formats: 3xUInt8.

Complexity Level

This filter is available on Basic Complexity Level.