Back to Aurora Vision Studio website

You are here: Start » Filter Reference » OpenCV » Miscellaneous Image Transformations » cvCvtColor

cvCvtColor


Module: OpenCV

Converts image from one color space to another.

Name Type Description
Input value inSrc Image Input image.
Input value inCode CvConversionCode Color space conversion code.
Input value inDstCn Integer Number of channels in the destination image. If the parameter is 0, the number of the channels is derived automatically from src and code .
Output value outDst Image Output image.

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 Input image must have type UINT8, UINT16 or REAL in cvCvtColor.

Complexity Level

This filter is available on Basic Complexity Level.